heap profile: 154: 12542488 [457578: 21635843872] @ heap/1048576 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e7cd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e7cc github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x92c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3465 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f33c1d 0x1f3442f 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f33c1c runtime/pprof.printStackRecord+0x2bc runtime/pprof/pprof.go:562 # 0x1f3442e runtime/pprof.writeHeapInternal+0x4ae runtime/pprof/pprof.go:685 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f339ba 0x1f339ae 0x1f3442f 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f339ad runtime/pprof.printStackRecord+0x4d runtime/pprof/pprof.go:551 # 0x1f3442e runtime/pprof.writeHeapInternal+0x4ae runtime/pprof/pprof.go:685 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f33cbe 0x1f3442f 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f33cbd runtime/pprof.printStackRecord+0x35d runtime/pprof/pprof.go:562 # 0x1f3442e runtime/pprof.writeHeapInternal+0x4ae runtime/pprof/pprof.go:685 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f33c45 0x1f3442f 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f33c44 runtime/pprof.printStackRecord+0x2e4 runtime/pprof/pprof.go:562 # 0x1f3442e runtime/pprof.writeHeapInternal+0x4ae runtime/pprof/pprof.go:685 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f35108 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f35107 runtime/pprof.writeHeapInternal+0x1187 runtime/pprof/pprof.go:682 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f34031 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f34030 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:624 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f35390 0x1f35305 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3538f runtime/pprof.writeGoroutineStacks+0x2f runtime/pprof/pprof.go:762 # 0x1f35304 runtime/pprof.writeGoroutine+0x24 runtime/pprof/pprof.go:753 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x47152b 0x470f65 0x4712a5 0x4712a5 0x4712a5 0x470e09 0x480b7b 0x5798a5 0x579899 0x1f66eca 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x579898 runtime/trace.Stop+0x78 runtime/trace/trace.go:148 # 0x1f66ec9 net/http/pprof.Trace+0x349 net/http/pprof/pprof.go:190 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817c58 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817c57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 176] @ 0xb16936 0xb16840 0xb162eb 0xb0c3bb 0xb0cb70 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb16935 strings.(*Builder).WriteString+0x1b5 strings/builder.go:108 # 0xb1683f github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbf github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb162ea github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x8a github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:46 # 0xb0c3ba github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x7a github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb0cb6f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x64f github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 81920] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x242778f 0x2427765 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x242778e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0xae github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2427764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:682 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114a4a5 0x114a457 0x119683f 0x24086f0 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x24086ab 0x2029802 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114a4a4 net/rpc.(*Client).Call+0x104 net/rpc/client.go:321 # 0x114a456 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageHasBeenUpdated+0xb6 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:276 # 0x119683e github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageHasBeenUpdated+0x5e github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:113 # 0x24086ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost.func2.1+0x2f github.com/mattermost/mattermost/server/v8/channels/app/post.go:805 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x24086aa github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost.func2+0x4a github.com/mattermost/mattermost/server/v8/channels/app/post.go:804 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x242554e 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242554d github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:446 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x4b3ee5 0x4b2b8a 0x4b3831 0x4b3914 0x4b1470 0x124b57c 0x239f545 0x239be98 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b3ee4 time.readFile+0x1e4 time/zoneinfo_read.go:589 # 0x4b2b89 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4b3830 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4b3913 time.loadLocation+0x93 time/zoneinfo_read.go:533 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239f544 github.com/mattermost/mattermost/server/v8/channels/app.getGroupMessageNotificationEmailSubject+0x64 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:304 # 0x239be97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x5b7 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:62 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1870365 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1870364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1199 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 27099136] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 27099136] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 37650432] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 37650432] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x68cbeb 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x68cbea crypto/tls.(*Conn).makeClientHello+0x186a crypto/tls/handshake_client.go:184 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x24277f9 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x24277f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x118 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:691 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x2716350 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x179272e 0x1791c1c 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179272d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xbad github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1791c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x9b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1536 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x83d0a5 0x839af5 0x840f90 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83d0a4 github.com/mattermost/logr/v2.NewLogRec+0x84 github.com/mattermost/logr/v2@v2.0.22/logrec.go:39 # 0x839af4 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x840f8f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 483328] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 48] @ 0x1853646 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853645 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x305 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x23a8a1a 0x238edfe 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23a8a19 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ShouldSendPushNotification+0xe79 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:626 # 0x238edfd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10afd github.com/mattermost/mattermost/server/v8/channels/app/notification.go:549 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 14123008] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [2: 15335424] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [2: 16662528] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c23fa 0x17c23f5 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c23f9 github.com/mattermost/squirrel.SelectBuilder.MustSql+0x3d9 github.com/mattermost/squirrel@v0.5.0/select.go:229 # 0x17c23f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17adac5 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17adac4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a6f94 0x16a6eb3 0x17ada71 0x16da44e 0x1ff1134 0x2021f76 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a6f93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a6eb2 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x17ada70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:235 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021f75 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x4f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:238 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5411a5 0x54319b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5411a4 encoding/json.(*decodeState).convertNumber+0x104 encoding/json/decode.go:841 # 0x54319a encoding/json.(*decodeState).literalStore+0x1f7a encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af1f5 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af1f4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3f4 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2048] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17603f9 0x16ca567 0x1fdf5c4 0x22e2f84 0x2558d17 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17603f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x1ed8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:802 # 0x16ca566 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3245 # 0x1fdf5c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2698 # 0x22e2f83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:142 # 0x2558d16 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x5b6 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a605 0x175c3cd 0x175bd05 0x16c709d 0x1fdb73d 0x22e2564 0x22aed95 0x25588b0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoryT+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:338 # 0x175c3cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoryT+0x64c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:487 # 0x175bd04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategory+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:454 # 0x16c709c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2405 # 0x1fdb73c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1985 # 0x22e2563 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategory+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:90 # 0x22aed94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToCategory+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:217 # 0x25588af github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x14f github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:323 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46159d 0x2519e15 0x25194b2 0x25a05b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2519e14 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x534 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:108 # 0x25194b1 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x25a05b5 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x715 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:642 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x539cff 0x111cf5c 0x111cf3c 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x111cf5b strings.Split+0x27b strings/strings.go:361 # 0x111cf3b github.com/lib/pq.(*conn).parseComplete+0x25b github.com/lib/pq@v1.10.9/conn.go:1500 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xb0e50d 0xb0d551 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e50c github.com/mattermost/mattermost/server/public/shared/markdown.fencedCodeStart+0x24c github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:106 # 0xb0d550 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0x170 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:139 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x6e04a5 0x6ebe47 0x6ebe08 0x1f364c8 0x1f3bf85 0x1f3a165 0x1f33347 0x1f35595 0x1f35325 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e04a4 compress/flate.(*compressor).init+0x324 compress/flate/deflate.go:583 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f364c7 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x1f3bf84 runtime/pprof.(*profileBuilder).emitLocation+0x14a4 runtime/pprof/proto.go:655 # 0x1f3a164 runtime/pprof.(*profileBuilder).appendLocsForStack+0x384 runtime/pprof/proto.go:453 # 0x1f33346 runtime/pprof.printCountProfile+0x966 runtime/pprof/pprof.go:514 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f35324 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:755 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 524288] @ 0x6e05b3 0x6ebe47 0x6ebe08 0x1f399c6 0x1f359ef 0x483fe1 # 0x6e05b2 compress/flate.(*compressor).init+0x432 compress/flate/deflate.go:587 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f359ee runtime/pprof.profileWriter+0xae runtime/pprof/pprof.go:885 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 139264] @ 0x6e0530 0x6e055f 0x6ebe47 0x6ebe08 0x1f399c6 0x1f33425 0x1f35595 0x1f35250 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e052f compress/flate.newDeflateFast+0x3af compress/flate/deflatefast.go:64 # 0x6e055e compress/flate.(*compressor).init+0x3de compress/flate/deflate.go:586 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f33424 runtime/pprof.printCountProfile+0xa44 runtime/pprof/pprof.go:526 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f3524f runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:740 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x1f68ffe 0x1f68cfd 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1f68ffd net/http/pprof.indexTmplExecute+0x17d net/http/pprof/pprof.go:449 # 0x1f68cfc net/http/pprof.Index+0x73c net/http/pprof/pprof.go:420 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 221184] @ 0x1f3e2aa 0x1f3e10c 0x1f3999d 0x1f3f1ea 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3e2a9 runtime/pprof.(*protobuf).string+0x1e9 runtime/pprof/protobuf.go:94 # 0x1f3e10b runtime/pprof.(*protobuf).strings+0x4b runtime/pprof/protobuf.go:99 # 0x1f3999c runtime/pprof.(*profileBuilder).build+0x57c runtime/pprof/proto.go:389 # 0x1f3f1e9 runtime/pprof.writeHeapProto+0x5c9 runtime/pprof/protomem.go:66 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 81920] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b78e 0x40b710 0x40cc89 0x1f3adff 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3adfe runtime/pprof.(*profileBuilder).emitLocation+0x31e runtime/pprof/proto.go:606 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 81920] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b7b1 0x40b710 0x40cc89 0x1f3adff 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3adfe runtime/pprof.(*profileBuilder).emitLocation+0x31e runtime/pprof/proto.go:606 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f3ac4a 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3ac49 runtime/pprof.(*profileBuilder).emitLocation+0x169 runtime/pprof/proto.go:608 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 81920] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40cc89 0x1f3adff 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3adfe runtime/pprof.(*profileBuilder).emitLocation+0x31e runtime/pprof/proto.go:606 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 139264] @ 0x6e0530 0x6e055f 0x6ebe47 0x6ebe08 0x1f364c8 0x1f3bf85 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e052f compress/flate.newDeflateFast+0x3af compress/flate/deflatefast.go:64 # 0x6e055e compress/flate.(*compressor).init+0x3de compress/flate/deflate.go:586 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f364c7 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x1f3bf84 runtime/pprof.(*profileBuilder).emitLocation+0x14a4 runtime/pprof/proto.go:655 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1f3b488 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3b487 runtime/pprof.(*profileBuilder).emitLocation+0x9a7 runtime/pprof/proto.go:622 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1015808] @ 0x1f34031 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f34030 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:624 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x740379 0x740825 0x754170 0x753f04 0x74ea69 0x754e25 0x755be5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x740378 net/http.Header.sortedKeyValues+0x38 net/http/header.go:168 # 0x740824 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x75416f net/http.Header.WriteSubset+0x190f net/http/header.go:187 # 0x753f03 net/http.(*chunkWriter).writeHeader+0x16a3 net/http/server.go:1577 # 0x74ea68 net/http.(*chunkWriter).close+0x28 net/http/server.go:408 # 0x754e24 net/http.(*response).finishRequest+0x64 net/http/server.go:1717 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [1: 64] @ 0x4e1b85 0x4e1cf9 0xb7bb0f 0xb7baf4 0xb7aeae 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bb0e github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x6e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7baf3 github.com/vmihailenco/msgpack/v5.(*Encoder).write2+0x53 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:179 # 0xb7aead github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:187 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x173e5d6 0x173e5df 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173e5d5 github.com/mattermost/squirrel.Expr+0x175 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x173e5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2807 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x6af2b5 0x6af285 0x6af197 0x5be6e2 0x5bea71 0x6af0d4 0x6af03c 0x6815b6 0x69800d 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6af2b4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6af284 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6af196 crypto/tls.(*finishedMsg).marshal.func1+0x16 crypto/tls/handshake_messages.go:1685 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6af0d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x133 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6af03b crypto/tls.(*finishedMsg).marshal+0x9b crypto/tls/handshake_messages.go:1684 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x69800c crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xec crypto/tls/handshake_client_tls13.go:833 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x18538ff 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18538fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5be github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c5b5f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c5b5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x69e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1258 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x26498a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x26498a4 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x464 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c5847 0x17c5789 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c5846 github.com/mattermost/squirrel.SelectBuilder.From+0x386 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c5788 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x2c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1253 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x184fb79 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fb78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x182efe5 0x182ee0c 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x182efe4 github.com/mattermost/squirrel.InsertBuilder.Values+0x464 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1872a25 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1872a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 144] @ 0x2387f7c 0x2387ef7 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2387f7b github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x9c7b github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x2387ef6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9bf6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:669 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25dff85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25dff84 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:308 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd9da 0xbdd952 0x240f32a 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd9d9 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x119 github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0xbdd951 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x91 github.com/mattermost/mattermost/server/public/model/post_list.go:146 # 0x240f329 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1451 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb0d789 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x242693a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d788 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x2426939 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:565 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x543d27 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1734d34 0x16c5b35 0x1fda0dd 0x22ce2a3 0x25416a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1734d33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x113 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2011 # 0x16c5b34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2090 # 0x1fda0dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1745 # 0x22ce2a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2263 # 0x25416a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1514 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb0c965 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c964 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x444 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17a26d8 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17a26d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x197 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:80 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22cbba5 0x25a1745 0x25a171e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22cbba4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25a1744 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x264 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25a171d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x23d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:713 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x1843d48 0x1843b8b 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1843d47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:205 # 0x1843b8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1137 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4864] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x543d27 0x2510448 0x25103db 0x261a537 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2510447 github.com/mattermost/mattermost/server/public/model.MapToJSON+0x87 github.com/mattermost/mattermost/server/public/model/utils.go:458 # 0x25103da github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:108 # 0x261a536 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x1716 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:758 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0xb0c965 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c964 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x444 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x186c409 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x186c408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:822 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x83ba71 0x83b9cf 0x839b05 0x840f90 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83ba70 github.com/mattermost/logr/v2.LimitString+0xf0 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x83b9ce github.com/mattermost/logr/v2.(*Logr).enqueue+0x4e github.com/mattermost/logr/v2@v2.0.22/logr.go:253 # 0x839b04 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x840f8f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x184ec3f 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184ec3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:208 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x183d877 0x183d7a6 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x183d876 github.com/mattermost/squirrel.StatementBuilderType.Select+0x196 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x183d7a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:622 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x455779 0x414a11 0x1f35790 0x1f66a85 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3578f runtime/pprof.StartCPUProfile+0xef runtime/pprof/pprof.go:855 # 0x1f66a84 net/http/pprof.Profile+0x2c4 net/http/pprof/pprof.go:157 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3145728] @ 0x455736 0x46d5f3 0x466ebb 0x579685 0x1f66e3b 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x579684 runtime/trace.Start+0x84 runtime/trace/trace.go:125 # 0x1f66e3a net/http/pprof.Trace+0x2ba net/http/pprof/pprof.go:183 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 172032] @ 0x1f3e2aa 0x1f3e10c 0x1f3999d 0x1f3f1ea 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3e2a9 runtime/pprof.(*protobuf).string+0x1e9 runtime/pprof/protobuf.go:94 # 0x1f3e10b runtime/pprof.(*protobuf).strings+0x4b runtime/pprof/protobuf.go:99 # 0x1f3999c runtime/pprof.(*profileBuilder).build+0x57c runtime/pprof/proto.go:389 # 0x1f3f1e9 runtime/pprof.writeHeapProto+0x5c9 runtime/pprof/protomem.go:66 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 73728] @ 0x1f3e2aa 0x1f3e10c 0x1f3999d 0x1f3f1ea 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3e2a9 runtime/pprof.(*protobuf).string+0x1e9 runtime/pprof/protobuf.go:94 # 0x1f3e10b runtime/pprof.(*protobuf).strings+0x4b runtime/pprof/protobuf.go:99 # 0x1f3999c runtime/pprof.(*profileBuilder).build+0x57c runtime/pprof/proto.go:389 # 0x1f3f1e9 runtime/pprof.writeHeapProto+0x5c9 runtime/pprof/protomem.go:66 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f38a11 0x1f3a14f 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f38a10 runtime/pprof.allFrames+0x30 runtime/pprof/proto.go:214 # 0x1f3a14e runtime/pprof.(*profileBuilder).appendLocsForStack+0x36e runtime/pprof/proto.go:451 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b7b1 0x40b710 0x40d997 0x1f3ba17 0x1f3b8fd 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3ba16 runtime/pprof.(*profileBuilder).stringIndex+0xf36 runtime/pprof/proto.go:138 # 0x1f3b8fc runtime/pprof.(*profileBuilder).emitLocation+0xe1c runtime/pprof/proto.go:648 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 245760] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b78e 0x40b710 0x40cc89 0x1f3adff 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3adfe runtime/pprof.(*profileBuilder).emitLocation+0x31e runtime/pprof/proto.go:606 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b78e 0x40b710 0x40d997 0x1f3ba17 0x1f3b8fd 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3ba16 runtime/pprof.(*profileBuilder).stringIndex+0xf36 runtime/pprof/proto.go:138 # 0x1f3b8fc runtime/pprof.(*profileBuilder).emitLocation+0xe1c runtime/pprof/proto.go:648 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x6e05b3 0x6ebe47 0x6ebe08 0x1f364c8 0x1f3bf85 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e05b2 compress/flate.(*compressor).init+0x432 compress/flate/deflate.go:587 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f364c7 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x1f3bf84 runtime/pprof.(*profileBuilder).emitLocation+0x14a4 runtime/pprof/proto.go:655 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x1f37505 0x1f374d6 0x1f374d5 0x1f374ac 0x1f3b318 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f37504 runtime/pprof.(*protobuf).varint+0x84 runtime/pprof/protobuf.go:19 # 0x1f374d5 runtime/pprof.(*protobuf).uint64+0x55 runtime/pprof/protobuf.go:29 # 0x1f374d4 runtime/pprof.(*protobuf).uint64Opt+0x54 runtime/pprof/protobuf.go:57 # 0x1f374ab runtime/pprof.(*profileBuilder).pbLine+0x2b runtime/pprof/proto.go:183 # 0x1f3b317 runtime/pprof.(*profileBuilder).emitLocation+0x837 runtime/pprof/proto.go:630 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1327104] @ 0x6ebe2e 0x6ebe08 0x1f399c6 0x1f3294b 0x1f3609e 0x1f35c70 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6ebe2d compress/flate.NewWriter+0x28d compress/flate/deflate.go:663 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f3294a runtime/pprof.printCountCycleProfile+0x38a runtime/pprof/pprof.go:455 # 0x1f3609d runtime/pprof.writeProfileInternal+0x39d runtime/pprof/pprof.go:944 # 0x1f35c6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:918 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 524288] @ 0x6e05b3 0x6ebe47 0x6ebe08 0x1f399c6 0x1f33425 0x1f35595 0x1f35250 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e05b2 compress/flate.(*compressor).init+0x432 compress/flate/deflate.go:587 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f33424 runtime/pprof.printCountProfile+0xa44 runtime/pprof/pprof.go:526 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f3524f runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:740 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0x25e6fac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x25e6fab github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x10b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f7a7bd 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7a7bc github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:41 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x6e4a88 0x6e3074 0x6de9fa 0x6df965 0x6dffb2 0x90fcaa 0x90fca0 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e4a87 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x6e3073 compress/flate.(*huffmanBitWriter).writeBlock+0x2b3 compress/flate/huffman_bit_writer.go:466 # 0x6de9f9 compress/flate.(*compressor).writeBlock+0x99 compress/flate/deflate.go:171 # 0x6df964 compress/flate.(*compressor).deflate+0x4e4 compress/flate/deflate.go:500 # 0x6dffb1 compress/flate.(*compressor).write+0x71 compress/flate/deflate.go:545 # 0x90fca9 compress/flate.(*Writer).Write+0x89 compress/flate/deflate.go:707 # 0x90fc9f compress/zlib.(*Writer).Write+0x7f compress/zlib/writer.go:154 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 32768] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1152] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 606208] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x6db98f 0x6dc9f2 0x6dc64c 0x259b14b 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6db98e mime/multipart.newPart+0x4e mime/multipart/multipart.go:149 # 0x6dc9f1 mime/multipart.(*Reader).nextPart+0x311 mime/multipart/multipart.go:409 # 0x6dc64b mime/multipart.(*Reader).NextPart+0x2b mime/multipart/multipart.go:372 # 0x259b14a github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1ea github.com/mattermost/mattermost/server/v8/channels/api4/file.go:233 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1097728] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1097728] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1097728] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x204ae74 0x204adea 0x20537fe 0x2051cd7 0x483fe1 # 0x204ae73 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xb3 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x204ade9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:823 # 0x20537fd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1afd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:581 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x6e7af1 0x11bca72 0x11b817b 0x1b50157 0x1b4f4f6 0x1b70ac2 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x6e7af0 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x11bca71 archive/zip.newFlateReader+0x71 archive/zip/register.go:73 # 0x11b817a archive/zip.(*File).Open+0x23a archive/zip/reader.go:244 # 0x1b50156 code.sajari.com/docconv/v2.getContentTypeDefinition+0x36 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:115 # 0x1b4f4f5 code.sajari.com/docconv/v2.ConvertDocx+0x4b5 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:57 # 0x1b70ac1 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1a1 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 16] @ 0x5c6b17 0x1f498f7 0x1f495c8 0x1f529d9 0x1f525bb 0x483fe1 # 0x5c6b16 crypto/rand.Int+0x176 crypto/rand/util.go:87 # 0x1f498f6 github.com/mattermost/mattermost/server/v8/channels/jobs.getRandomDelay+0x76 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:84 # 0x1f495c7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).NextScheduleTime+0x47 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:38 # 0x1f529d8 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x2b8 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:154 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x747c5f 0x23a6633 0x23a65fd 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x747c5e net/http.NewRequestWithContext+0xbe net/http/request.go:902 # 0x23a6632 net/http.NewRequest+0x1d2 net/http/request.go:863 # 0x23a65fc github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x19c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 240] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 1990656] @ 0x6ebe2e 0x6ebe08 0x1f399c6 0x1f359ef 0x483fe1 # 0x6ebe2d compress/flate.NewWriter+0x28d compress/flate/deflate.go:663 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f359ee runtime/pprof.profileWriter+0xae runtime/pprof/pprof.go:885 0: 0 [1: 240] @ 0x1f38a30 0x1f38a06 0x1f3a14f 0x1f39797 0x1f359ef 0x483fe1 # 0x1f38a05 runtime/pprof.allFrames+0x25 runtime/pprof/proto.go:214 # 0x1f3a14e runtime/pprof.(*profileBuilder).appendLocsForStack+0x36e runtime/pprof/proto.go:451 # 0x1f39796 runtime/pprof.(*profileBuilder).build+0x376 runtime/pprof/proto.go:376 # 0x1f359ee runtime/pprof.profileWriter+0xae runtime/pprof/pprof.go:885 0: 0 [1: 8192] @ 0x1f310d1 0x1f391e5 0x1f359b0 0x483fe1 # 0x1f310d0 runtime/pprof.(*profMap).lookup+0xd0 runtime/pprof/map.go:61 # 0x1f391e4 runtime/pprof.(*profileBuilder).addCPUData+0x104 runtime/pprof/proto.go:338 # 0x1f359af runtime/pprof.profileWriter+0x6f runtime/pprof/pprof.go:873 0: 0 [1: 262144] @ 0x6e05b3 0x6ebe47 0x6ebe08 0x1f399c6 0x1f3294b 0x1f3609e 0x1f35c70 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e05b2 compress/flate.(*compressor).init+0x432 compress/flate/deflate.go:587 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f3294a runtime/pprof.printCountCycleProfile+0x38a runtime/pprof/pprof.go:455 # 0x1f3609d runtime/pprof.writeProfileInternal+0x39d runtime/pprof/pprof.go:944 # 0x1f35c6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:918 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 139264] @ 0x6e0530 0x6e055f 0x6ebe47 0x6ebe08 0x1f399c6 0x1f3294b 0x1f3609e 0x1f35c70 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e052f compress/flate.newDeflateFast+0x3af compress/flate/deflatefast.go:64 # 0x6e055e compress/flate.(*compressor).init+0x3de compress/flate/deflate.go:586 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f3294a runtime/pprof.printCountCycleProfile+0x38a runtime/pprof/pprof.go:455 # 0x1f3609d runtime/pprof.writeProfileInternal+0x39d runtime/pprof/pprof.go:944 # 0x1f35c6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:918 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4194304] @ 0x455736 0x46d62e 0x466ebb 0x579685 0x1f66e3b 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x579684 runtime/trace.Start+0x84 runtime/trace/trace.go:125 # 0x1f66e3a net/http/pprof.Trace+0x2ba net/http/pprof/pprof.go:183 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x455779 0x46d5f3 0x466ebb 0x579685 0x1f66e3b 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x579684 runtime/trace.Start+0x84 runtime/trace/trace.go:125 # 0x1f66e3a net/http/pprof.Trace+0x2ba net/http/pprof/pprof.go:183 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4194304] @ 0x455736 0x414a11 0x1f35790 0x1f66a85 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3578f runtime/pprof.StartCPUProfile+0xef runtime/pprof/pprof.go:855 # 0x1f66a84 net/http/pprof.Profile+0x2c4 net/http/pprof/pprof.go:157 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x6e051f 0x6e055f 0x6ebe47 0x6ebe08 0x1f399c6 0x1f33425 0x1f35595 0x1f35250 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e051e compress/flate.newDeflateFast+0x39e compress/flate/deflatefast.go:64 # 0x6e055e compress/flate.(*compressor).init+0x3de compress/flate/deflate.go:586 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f33424 runtime/pprof.printCountProfile+0xa44 runtime/pprof/pprof.go:526 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f3524f runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:740 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 196608] @ 0x6e04a5 0x6ebe47 0x6ebe08 0x1f399c6 0x1f33425 0x1f35595 0x1f35250 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e04a4 compress/flate.(*compressor).init+0x324 compress/flate/deflate.go:583 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f33424 runtime/pprof.printCountProfile+0xa44 runtime/pprof/pprof.go:526 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f3524f runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:740 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1990656] @ 0x6ebe2e 0x6ebe08 0x1f399c6 0x1f33425 0x1f35595 0x1f35250 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6ebe2d compress/flate.NewWriter+0x28d compress/flate/deflate.go:663 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f399c5 runtime/pprof.(*profileBuilder).build+0x5a5 runtime/pprof/proto.go:390 # 0x1f33424 runtime/pprof.printCountProfile+0xa44 runtime/pprof/pprof.go:526 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f3524f runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:740 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x1f3e2aa 0x1f3e10c 0x1f3999d 0x1f3f1ea 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3e2a9 runtime/pprof.(*protobuf).string+0x1e9 runtime/pprof/protobuf.go:94 # 0x1f3e10b runtime/pprof.(*protobuf).strings+0x4b runtime/pprof/protobuf.go:99 # 0x1f3999c runtime/pprof.(*profileBuilder).build+0x57c runtime/pprof/proto.go:389 # 0x1f3f1e9 runtime/pprof.writeHeapProto+0x5c9 runtime/pprof/protomem.go:66 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 81920] @ 0x1f3b97c 0x1f3b8fd 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3b97b runtime/pprof.(*profileBuilder).stringIndex+0xe9b runtime/pprof/proto.go:137 # 0x1f3b8fc runtime/pprof.(*profileBuilder).emitLocation+0xe1c runtime/pprof/proto.go:648 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 384] @ 0x1f38bf8 0x1f3a14f 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f38bf7 runtime/pprof.allFrames+0x217 runtime/pprof/proto.go:232 # 0x1f3a14e runtime/pprof.(*profileBuilder).appendLocsForStack+0x36e runtime/pprof/proto.go:451 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 327680] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b7b1 0x40b710 0x40cc89 0x1f3adff 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3adfe runtime/pprof.(*profileBuilder).emitLocation+0x31e runtime/pprof/proto.go:606 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b78e 0x40b710 0x40d997 0x1f3b488 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3b487 runtime/pprof.(*profileBuilder).emitLocation+0x9a7 runtime/pprof/proto.go:622 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 14640] @ 0x1f38a30 0x1f38a06 0x1f3a14f 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f38a05 runtime/pprof.allFrames+0x25 runtime/pprof/proto.go:214 # 0x1f3a14e runtime/pprof.(*profileBuilder).appendLocsForStack+0x36e runtime/pprof/proto.go:451 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x1f3aced 0x1f3a052 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3acec runtime/pprof.(*profileBuilder).emitLocation+0x20c runtime/pprof/proto.go:610 # 0x1f3a051 runtime/pprof.(*profileBuilder).appendLocsForStack+0x271 runtime/pprof/proto.go:432 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x1f3aced 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3acec runtime/pprof.(*profileBuilder).emitLocation+0x20c runtime/pprof/proto.go:610 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1327104] @ 0x6ebe2e 0x6ebe08 0x1f364c8 0x1f3bf85 0x1f3a2b2 0x1f3f28e 0x1f34225 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6ebe2d compress/flate.NewWriter+0x28d compress/flate/deflate.go:663 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f364c7 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x1f3bf84 runtime/pprof.(*profileBuilder).emitLocation+0x14a4 runtime/pprof/proto.go:655 # 0x1f3a2b1 runtime/pprof.(*profileBuilder).appendLocsForStack+0x4d1 runtime/pprof/proto.go:467 # 0x1f3f28d runtime/pprof.writeHeapProto+0x66d runtime/pprof/protomem.go:47 # 0x1f34224 runtime/pprof.writeHeapInternal+0x2a4 runtime/pprof/pprof.go:634 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1007616] @ 0x1f34031 0x1f33ee5 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f34030 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:624 # 0x1f33ee4 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:593 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x1f3e2aa 0x1f3e10c 0x1f3999d 0x1f33425 0x1f35595 0x1f35325 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3e2a9 runtime/pprof.(*protobuf).string+0x1e9 runtime/pprof/protobuf.go:94 # 0x1f3e10b runtime/pprof.(*protobuf).strings+0x4b runtime/pprof/protobuf.go:99 # 0x1f3999c runtime/pprof.(*profileBuilder).build+0x57c runtime/pprof/proto.go:389 # 0x1f33424 runtime/pprof.printCountProfile+0xa44 runtime/pprof/pprof.go:526 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f35324 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:755 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x6e05b3 0x6ebe47 0x6ebe08 0x1f364c8 0x1f3bf85 0x1f3a165 0x1f33347 0x1f35595 0x1f35325 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6e05b2 compress/flate.(*compressor).init+0x432 compress/flate/deflate.go:587 # 0x6ebe46 compress/flate.NewWriter+0x2a6 compress/flate/deflate.go:664 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f364c7 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x1f3bf84 runtime/pprof.(*profileBuilder).emitLocation+0x14a4 runtime/pprof/proto.go:655 # 0x1f3a164 runtime/pprof.(*profileBuilder).appendLocsForStack+0x384 runtime/pprof/proto.go:453 # 0x1f33346 runtime/pprof.printCountProfile+0x966 runtime/pprof/pprof.go:514 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f35324 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:755 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1327104] @ 0x6ebe2e 0x6ebe08 0x1f364c8 0x1f3bf85 0x1f3a165 0x1f33347 0x1f35595 0x1f35325 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x6ebe2d compress/flate.NewWriter+0x28d compress/flate/deflate.go:663 # 0x6ebe07 compress/gzip.(*Writer).Write+0x267 compress/gzip/gzip.go:191 # 0x1f364c7 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x1f3bf84 runtime/pprof.(*profileBuilder).emitLocation+0x14a4 runtime/pprof/proto.go:655 # 0x1f3a164 runtime/pprof.(*profileBuilder).appendLocsForStack+0x384 runtime/pprof/proto.go:453 # 0x1f33346 runtime/pprof.printCountProfile+0x966 runtime/pprof/pprof.go:514 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f35324 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:755 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 18944] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40cc89 0x1f3adff 0x1f3a165 0x1f33347 0x1f35595 0x1f35325 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f3adfe runtime/pprof.(*profileBuilder).emitLocation+0x31e runtime/pprof/proto.go:606 # 0x1f3a164 runtime/pprof.(*profileBuilder).appendLocsForStack+0x384 runtime/pprof/proto.go:453 # 0x1f33346 runtime/pprof.printCountProfile+0x966 runtime/pprof/pprof.go:514 # 0x1f35594 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:804 # 0x1f35324 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:755 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0xc40d3f 0xc40db2 0xc3e48a 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0xc40d3e net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0xc40db1 github.com/gorilla/mux.requestWithRoute+0xf1 github.com/gorilla/mux@v1.8.1/mux.go:455 # 0xc3e489 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x250511f 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x11ec367 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11ec366 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0xa6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:38 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3194880] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 160] @ 0x112167f 0x23eb695 0x7e919d 0x23eb3c5 0x118baea 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x23eb694 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:134 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eb3c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x118bae9 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x177387c 0x1773756 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177387b github.com/mattermost/squirrel.StatementBuilderType.Select+0x1fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1773755 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:120 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1658569 0x1658557 0x16584fe 0x1656f09 0x1656ee1 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1658568 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:4820 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x16584fd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x1656f08 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x68 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x1656ee0 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x40 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:131 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x171d9c9 0x172dd3a 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x171d9c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:118 # 0x172dd39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1525 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17cb3ae 0x17cb37f 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17cb3ad github.com/mattermost/squirrel.StatementBuilderType.Select+0x4ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17cb37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1670 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x20485a9 0xb68639 0xb689ed 0x204817d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x20485a8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2+0x68 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:456 # 0xb68638 github.com/gorilla/websocket.(*Conn).advanceFrame+0xb98 github.com/gorilla/websocket@v1.5.3/conn.go:950 # 0xb689ec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x204817c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:466 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184efdb 0x184efba 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184efda github.com/mattermost/squirrel.SelectBuilder.From+0x11a github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184efb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0xaeaf88 0xaeaf54 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeaf87 encoding/gob.(*Encoder).newEncoderState+0xe7 encoding/gob/encode.go:82 # 0xaeaf53 encoding/gob.(*Encoder).encodeInterface+0xb3 encoding/gob/encode.go:392 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829e57 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829e56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:140 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x461d32 0x4612a5 0x46159d 0x24f88f7 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f88f6 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x856 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:215 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x85a16e 0x24165c4 0x2461bc5 0xbf187e 0x483fe1 # 0x85a16d github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x1cd github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:280 # 0x24165c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2266 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17c6aa5 0x17c6a6f 0x17c6a6e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6aa4 github.com/mattermost/squirrel.newPart+0x2e4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17c6a6e github.com/mattermost/squirrel.SelectBuilder.From+0x2ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c6a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x184ddcc 0x184ddad 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184ddcb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1cb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0eeb 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4ba82a 0x250fecd 0x24fc8cc 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba829 path.Join+0x69 path/path.go:163 # 0x250fecc github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x6c github.com/mattermost/mattermost/server/v8/channels/web/web.go:81 # 0x24fc8cb github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xbeb github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:431 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x188346a 0x16fb084 0x20166ea 0x1f8048e 0x24b6a18 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1883469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlWebhookStore.GetIncoming+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/webhook_store.go:123 # 0x16fb083 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerWebhookStore).GetIncoming+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16595 # 0x20166e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerWebhookStore).GetIncoming+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13084 # 0x1f8048d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheWebhookStore.GetIncoming+0xcd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/webhook_layer.go:51 # 0x24b6a17 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func1+0x77 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:738 0: 0 [1: 96] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x110de64 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x110de63 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.10.9/scram/scram.go:238 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x16b6b25 0x16b6a7b 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b6b24 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x17b8bcc 0x17bdb2a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x17bdb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:579 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1736ff6 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1736ff5 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x446b89 0x458d66 0x931a33 0x935726 0x935abe 0x11992fb 0x113e77f 0x483fe1 # 0x931a32 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x392 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x935725 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x935abd github.com/hashicorp/yamux.(*Stream).Close+0x1dd github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x11992fa github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2fa github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x52449a 0x48ea11 0x52f3fd 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x524499 fmt.init.func2+0x19 fmt/scan.go:379 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x52f3fc fmt.newScanState+0x3c fmt/scan.go:384 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x24a89f6 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a89f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2723 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x4614c5 0x1115af4 0x1115a2c 0x11232e5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115af3 net.JoinHostPort+0x133 net/ipsock.go:242 # 0x1115a2b github.com/lib/pq.network+0x6b github.com/lib/pq@v1.10.9/conn.go:444 # 0x11232e4 github.com/lib/pq.NewConnector+0x584 github.com/lib/pq@v1.10.9/connector.go:115 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x18511fc 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18511fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1adb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:371 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17c1a65 0x17c1a07 0x17c1a15 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c1a64 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x324 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c1a06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c1a14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:890 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 532480] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1852691 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x185349f 0x18533e6 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185349e github.com/mattermost/squirrel.SelectBuilder.From+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18533e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1853b38 0x1853ab4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1853b37 github.com/mattermost/squirrel.CaseBuilder.Else+0x7f7 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1853ab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x773 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:580 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x172dd55 0x172dd2a 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x172dd54 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172dd29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1525 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40e486 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x182a286 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x27381e5 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x27381e4 crypto/internal/fips140/tls13.ExpandLabel[...]+0x224 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 352] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x23fe3e9 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x23fe3e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:40 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40e3fc 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1857bd0 0x1857ad5 0x1857abc 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857bcf github.com/lann/builder.Append+0x60f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1857ad4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x514 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857abb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:760 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x874c3a 0x873a1f 0x8729d2 0x8723c5 0x870265 0x87045d 0x872245 0x8703ad 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x250d7d3 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x874c39 text/template.(*state).evalCall+0x4b9 text/template/exec.go:826 # 0x873a1e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x8729d1 text/template.(*state).evalCommand+0x1d1 text/template/exec.go:563 # 0x8723c4 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x870264 text/template.(*state).walk+0x124 text/template/exec.go:267 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x872244 text/template.(*state).walkTemplate+0x2a4 text/template/exec.go:514 # 0x8703ac text/template.(*state).walk+0x26c text/template/exec.go:285 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x250d7d2 github.com/mattermost/mattermost/server/v8/channels/web.root+0xb32 github.com/mattermost/mattermost/server/v8/channels/web/static.go:67 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x18537b0 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18537af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1125186 0x1125192 0x111cb36 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125185 strconv.AppendBool+0x125 strconv/atob.go:32 # 0x1125191 github.com/lib/pq.encode+0x131 github.com/lib/pq@v1.10.9/encode.go:50 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x79d7f1 0x79cfe5 0xc151d0 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151cf github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:720 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 2688] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 480] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18538bf 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18538be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x238b596 0x238b544 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x238b595 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xd295 github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x238b543 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd243 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x186f88a 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f889 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1129 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1221b4d 0x12243a6 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1221b4c github.com/yuin/goldmark/parser.NewContext+0x12c github.com/yuin/goldmark@v1.7.13/parser/parser.go:244 # 0x12243a5 github.com/yuin/goldmark/parser.(*parser).Parse+0xc5 github.com/yuin/goldmark@v1.7.13/parser/parser.go:872 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0x184f0d0 0x184f0b1 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f0cf github.com/mattermost/squirrel.SelectBuilder.Join+0x20f github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f0b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17f2b25 0x17f2af7 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2b24 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f2af6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:107 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0x22af369 0x22af361 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af368 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:845 # 0x22af360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:272 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x204ef0b 0x2408145 0x240811c 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x204ef0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForChannelPosts+0x2a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:215 # 0x2408144 github.com/mattermost/mattermost/server/v8/channels/app.(*App).invalidateCacheForChannelPosts+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/web_hub.go:36 # 0x240811b github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x109b github.com/mattermost/mattermost/server/v8/channels/app/post.go:829 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x238d465 0x238b1ef 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x238d464 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0xf164 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x238b1ee github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xceee github.com/mattermost/mattermost/server/v8/channels/app/notification.go:834 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173e911 0x173e80d 0x173e723 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173e910 github.com/lann/builder.Append+0x4b0 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173e80c github.com/mattermost/squirrel.UpdateBuilder.Set+0x3ac github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173e722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x2c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2808 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17cb4a5 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1672 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 768] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x62598a 0x620275 0x619bc7 0x61973b 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x625989 net.ipToSockaddr+0x209 net/ipsock_posix.go:222 # 0x620274 net.(*UDPAddr).sockaddr+0x34 net/udpsock_posix.go:39 # 0x619bc6 net.(*netFD).dial+0x386 net/sock_posix.go:121 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x17e1a28 0x17e1994 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e1a27 github.com/mattermost/squirrel.Expr+0x507 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x17e1993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17e553e 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17e553d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:56 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1536] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1792] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b1a5c 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x2046336 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2046335 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:204 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506f1d 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506f1c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1e5c github.com/mattermost/mattermost/server/v8/channels/web/params.go:213 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x1736e85 0x1736e28 0x1736e27 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1736e84 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1736e27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1736e26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2219 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x63316c 0x63312b 0x633123 0x6dd336 0x10e401d 0x10e400d 0x10e30b7 0x10e28d5 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x63316b slices.AppendSeq[...]+0x6b slices/iter.go:50 # 0x63312a slices.Collect[...]+0x2a slices/iter.go:58 # 0x633122 slices.Sorted[...]+0x22 slices/iter.go:64 # 0x6dd335 mime/multipart.(*Writer).CreatePart+0x175 mime/multipart/writer.go:111 # 0x10e401c gopkg.in/mail%2ev2.(*messageWriter).createPart+0x7c gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x10e400c gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x6c gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x10e30b6 gopkg.in/mail%2ev2.(*messageWriter).addFiles+0x56 gopkg.in/mail.v2@v2.3.1/writeto.go:147 # 0x10e28d4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x274 gopkg.in/mail.v2@v2.3.1/writeto.go:48 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbdcac5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79cff2 0xc151b7 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0xc151b6 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x96 github.com/mattermost/mattermost/server/public/model/utils.go:719 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17badcd 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17badcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1e6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:257 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 640] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x8ed126 0x8ef84f 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ed125 golang.org/x/net/html.(*parser).addText+0x185 golang.org/x/net@v0.46.0/html/parse.go:325 # 0x8ef84e golang.org/x/net/html.afterHeadIM+0x42e golang.org/x/net@v0.46.0/html/parse.go:800 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x68092e 0x68115d 0x68161c 0x69800d 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x68092d crypto/tls.(*Conn).write+0x6d crypto/tls/conn.go:944 # 0x68115c crypto/tls.(*Conn).writeRecordLocked+0x67c crypto/tls/conn.go:1029 # 0x68161b crypto/tls.(*Conn).writeHandshakeRecord+0x13b crypto/tls/conn.go:1060 # 0x69800c crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xec crypto/tls/handshake_client_tls13.go:833 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 896] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x10d4ddd 0x10d4dbb 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10d4ddc crypto/tls.Client+0x7c crypto/tls/tls.go:49 # 0x10d4dba net/smtp.(*Client).StartTLS+0x5a net/smtp/smtp.go:162 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x5be9e5 0x69a8fd 0x69a79d 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x1889294 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1889293 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:169 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x172060c 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x172060b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:460 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184e8d3 0x184e81a 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e8d2 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25a1745 0x25a171e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25a1744 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x264 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25a171d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x23d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:713 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 57344] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x870365 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x870364 text/template.(*state).walk+0x224 text/template/exec.go:287 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184f073 0x184efba 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184f072 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184efb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179c718 0x179c614 0x179c5f7 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179c717 github.com/lann/builder.Append+0x457 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c613 github.com/mattermost/squirrel.UpdateBuilder.Set+0x353 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x336 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:155 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x1852251 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0x24b7f5c 0x24ad18f 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0x24b7f5b github.com/mattermost/mattermost/server/v8/channels/app.getTypedArg[...]+0xbb github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:204 # 0x24ad18e github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x1ee github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:123 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x543d27 0x24accff 0x24accb3 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x24accfe github.com/mattermost/mattermost/server/public/model.ArrayToJSON+0xde github.com/mattermost/mattermost/server/public/model/utils.go:493 # 0x24accb2 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x92 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x6af079 0x6aefe4 0x6aefdd 0x6815b6 0x69800d 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6af078 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0xd8 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6aefe3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8+0x43 vendor/golang.org/x/crypto/cryptobyte/builder.go:79 # 0x6aefdc crypto/tls.(*finishedMsg).marshal+0x3c crypto/tls/handshake_messages.go:1683 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x69800c crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xec crypto/tls/handshake_client_tls13.go:833 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x122358f 0x12246d1 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122358e github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2ae github.com/yuin/goldmark@v1.7.13/parser/parser.go:768 # 0x12246d0 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:844 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 416] @ 0x79d2d8 0x1245e66 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x79d2d7 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:600 # 0x1245e65 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x65 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:44 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 64] @ 0x8fcf3c 0x8fc82c 0x8fd519 0x8fabad 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fcf3b golang.org/x/net/html.(*Tokenizer).readTag+0xfb golang.org/x/net@v0.46.0/html/token.go:885 # 0x8fc82b golang.org/x/net/html.(*Tokenizer).readStartTag+0x2b golang.org/x/net@v0.46.0/html/token.go:816 # 0x8fd518 golang.org/x/net/html.(*Tokenizer).Next+0x218 golang.org/x/net@v0.46.0/html/token.go:1083 # 0x8fabac golang.org/x/net/html.(*parser).parse+0xcc golang.org/x/net@v0.46.0/html/parse.go:2346 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0xb0d789 0xb0ccf7 0xb160d5 0xb132ec 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d788 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x53a39d 0x539fcf 0xc1514a 0x240081e 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53a39c strings.FieldsFunc+0x21c strings/strings.go:473 # 0x539fce strings.Fields+0x8e strings/strings.go:399 # 0xc15149 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:713 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8af5 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a8af4 github.com/mattermost/squirrel.aliasExpr.ToSql+0x74 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x78693c 0x7869e8 0x79b897 0x246ba65 0x246ba4b 0x246b56b 0x24b58a5 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x78693b regexp/syntax.(*compiler).inst+0x19b regexp/syntax/compile.go:164 # 0x7869e7 regexp/syntax.Compile+0x247 regexp/syntax/compile.go:75 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x246ba64 regexp.Compile+0x64 regexp/regexp.go:131 # 0x246ba4a github.com/mattermost/mattermost/server/v8/channels/app.replaceUserIds+0x4a github.com/mattermost/mattermost/server/v8/channels/app/slack.go:117 # 0x246b56a github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessSlackText+0x8a github.com/mattermost/mattermost/server/v8/channels/app/slack.go:74 # 0x24b58a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x404 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:775 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184defc 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x25d9350 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25d934f github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x1cf github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1728767 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728766 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1128 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x266e225 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e224 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3446 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 240] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114d66a 0x114d61f 0x1197432 0x2047e43 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2047db8 0x2029802 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114d669 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x114d61e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:654 # 0x1197431 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:193 # 0x2047e42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func2.1+0x62 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:429 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2047db7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func2+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x17bff6f 0x17bfeb3 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17bff6e github.com/mattermost/squirrel.SelectBuilder.From+0xa2e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bfeb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x972 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:757 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x18560ee 0x1856090 0x185608e 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18560ed github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x185608f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x185608d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:700 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x17254ce 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17254cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:884 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x183ddbf 0x183dda0 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183ddbe github.com/mattermost/squirrel.SelectBuilder.Join+0x9e github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x183dd9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x7f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:656 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264967c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264967b github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:364 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f070 0x182efa2 0x182ee0c 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x5be9e5 0x6afe34 0x6afd9c 0x6b06d8 0x69706d 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6afe33 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x133 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6afd9b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1841 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x69706c crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6ec crypto/tls/handshake_client_tls13.go:696 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x16b65a5 0x16b6573 0x18562b1 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b65a4 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18562b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:703 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aad15 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1772310 0x16cdfd2 0x1fe37ab 0x20be090 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x177230f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDesktopTokensStore).DeleteOlderThan+0x1cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/desktop_tokens_store.go:119 # 0x16cdfd1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDesktopTokensStore).DeleteOlderThan+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4265 # 0x1fe37aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDesktopTokensStore).DeleteOlderThan+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3496 # 0x20be08f github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens.MakeWorker.func2+0xcf github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens/worker.go:24 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16b0005 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22ad82d 0x25c727b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c727a github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xda github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0cd99 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cd98 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x878 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x17452ad 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17452ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0x84c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1745625 0x1745496 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1745624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xbc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1745495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xa35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3229 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x23e4ca5 0x1136128 0x11749b9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x23e4ca4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).RolesGrantPermission+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1111 # 0x1136127 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).RolesGrantPermission+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x11749b8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).RolesGrantPermission+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5540 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184e065 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184e064 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:143 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x1791c13 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1791c12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1463 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16a5bd4 0x16a61bd 0x17adb25 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16a5bd3 github.com/mattermost/squirrel.(*deleteData).ToSql+0x593 github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17adb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x284 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x242335b 0x2400c7c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x242335a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x5a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:175 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1734f05 0x1734ea0 0x16c5b35 0x1fda0dd 0x22ce2a3 0x25416a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1734f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1734e9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2034 # 0x16c5b34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2090 # 0x1fda0dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1745 # 0x22ce2a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2263 # 0x25416a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1514 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x243588a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2435889 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:79 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1851e25 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xc0e56c 0xc0e56d 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e56b github.com/tinylib/msgp/msgp.ReadStringBytes+0xd2b github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e56c github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xd2c github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x270c5cd 0x2717114 0x271735f 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2717113 crypto/internal/fips140/ecdsa.inverse[...]+0x33 crypto/internal/fips140/ecdsa/ecdsa.go:378 # 0x271735e crypto/internal/fips140/ecdsa.signGeneric[...]+0xfe crypto/internal/fips140/ecdsa/ecdsa.go:338 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 2304] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x186fa85 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b208c 0x16b1fbb 0x16b20b0 0x173b2ce 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173b2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x118d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e004b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e004a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x40a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:310 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x61006c 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x61006b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b1c88 0x18696c9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b1c87 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18696c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:612 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x1868866 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1868865 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:537 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x1851ee5 0x1851e43 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1851ee4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x539fb5 0x22af618 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af617 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:302 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1838305 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1838304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x7e84ef 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17e0b1b 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e84ee database/sql.(*DB).beginDC+0xee database/sql/sql.go:1916 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17e0b1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:46 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 176] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x2429274 0x242732f 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2429273 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:811 # 0x242732e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:633 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0x17a25ae 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17a25ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:78 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd8c5 0x2429927 0x2427445 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2429926 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:872 # 0x2427444 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x204 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:646 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x242796c 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x242796b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x28b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:704 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184f2ac 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f2ab github.com/mattermost/squirrel.SelectBuilder.Join+0x3eb github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa695 0x16aaada 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0xc105a9 0x10ceb4f 0x10cdabb 0x1f7834f 0x1f7e0aa 0x10ce150 0x1f7dd1e 0x204f1cb 0x204efc5 0x249ae6e 0x249ae46 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc105a8 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x228 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:849 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cdaba github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).GetMulti+0x11a github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:81 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7e0a9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).InvalidateProfilesInChannelCacheByUser.func1+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:87 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x1f7dd1d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).InvalidateProfilesInChannelCacheByUser+0xdd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:81 # 0x204f1ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateChannelCacheForUser+0x8a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:239 # 0x204efc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForUser+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:220 # 0x249ae6d github.com/mattermost/mattermost/server/v8/channels/app.(*App).InvalidateCacheForUser+0xaed github.com/mattermost/mattermost/server/v8/channels/app/web_hub.go:40 # 0x249ae45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xac5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1420 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0xbdcac5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f833e7 0x2404ee4 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f833e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:441 # 0x2404ee3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x743 github.com/mattermost/mattermost/server/v8/channels/app/post.go:564 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbd768b 0x25ddb3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbd768a github.com/mattermost/mattermost/server/public/model.(*Post).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post.go:361 # 0x25ddb3e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xafe github.com/mattermost/mattermost/server/v8/channels/api4/post.go:129 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x175b63f 0x175b5e4 0x175b5f2 0x175a9d0 0x176074e 0x16ca567 0x1fdf5c4 0x22e2f84 0x2558d17 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b63e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x87e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x175b5e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x823 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x175b5f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x831 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x176074d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x222d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:809 # 0x16ca566 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3245 # 0x1fdf5c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2698 # 0x22e2f83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:142 # 0x2558d16 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x5b6 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a605 0x175c3cd 0x175bd05 0x16c709d 0x1fdb73d 0x22e2564 0x22aed95 0x25588b0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoryT+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:338 # 0x175c3cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoryT+0x64c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:487 # 0x175bd04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategory+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:454 # 0x16c709c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2405 # 0x1fdb73c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1985 # 0x22e2563 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategory+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:90 # 0x22aed94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToCategory+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:217 # 0x25588af github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x14f github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:323 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x446b89 0x459f57 0x47d685 0x48dc3d 0xaf98b7 0xaf9884 0xaf9880 0xaf9dca 0x483fe1 # 0x47d684 internal/sync.runtime_SemacquireMutex+0x24 runtime/sema.go:95 # 0x48dc3c internal/sync.(*Mutex).lockSlow+0x15c internal/sync/mutex.go:149 # 0xaf98b6 internal/sync.(*Mutex).Lock+0x136 internal/sync/mutex.go:70 # 0xaf9883 sync.(*Mutex).Lock+0x103 sync/mutex.go:46 # 0xaf987f net/rpc.(*Server).sendResponse+0xff net/rpc/server.go:356 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c9b5d 0x17c9ab2 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c9b5c github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xafc github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c9ab1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xa51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1569 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17371b8 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17371b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x17355f7 0x17355c6 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17355f6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x96 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17355c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xaddbda 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xaddbd9 encoding/gob.(*Decoder).decodeMap+0x419 encoding/gob/decode.go:608 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1735b70 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1735b6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x60f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2126 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6144] @ 0x78848d 0x78843a 0x787aef 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 # 0x78848c regexp/syntax.(*compiler).inst+0x8c regexp/syntax/compile.go:164 # 0x788439 regexp/syntax.(*compiler).quest+0x39 regexp/syntax/compile.go:220 # 0x787aee regexp/syntax.(*compiler).compile+0x106e regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb0fef5 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fef4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4f4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x2417bc9 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x2417bc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x128 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2351 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x24a7a56 0x24a7a3f 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7a55 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x75 github.com/mattermost/mattermost/server/public/model/websocket_message.go:269 # 0x24a7a3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5e github.com/mattermost/mattermost/server/v8/channels/app/user.go:2619 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x17c1ac5 0x17c1a96 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17c1ac4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x384 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:891 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0dfa6 0xc0dfa7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dfa5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x765 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dfa6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x766 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186ea14 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186ea13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1039 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18687c5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18687c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:529 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17bde50 0x17bde36 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17bde4f github.com/mattermost/squirrel.StatementBuilderType.Select+0x3af github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bde35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:591 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184f89c 0x184f7c6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184f89b github.com/mattermost/squirrel.SelectBuilder.From+0x17b github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184f7c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 114688] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 16384] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 192] @ 0x51f7fb 0x1b79190 0x1b79191 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f7fa encoding/base64.(*Encoding).EncodeToString+0xba encoding/base64/base64.go:207 # 0x1b7918f github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0x8f github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b79190 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x90 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:74 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 401408] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 401408] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 802816] @ 0x11c9945 0x11e53e5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9944 image.NewNRGBA64+0x64 image/image.go:617 # 0x11e53e4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x186d2c9 0x186d2aa 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x186d2c8 github.com/mattermost/squirrel.SelectBuilder.Join+0xc8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x186d2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:911 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1779c65 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 360448] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 720896] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5275a6 0x171e054 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x171e053 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x261d35e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x261d35d github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x11d github.com/mattermost/mattermost/server/v8/channels/api4/system.go:966 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x70baef 0x70ba67 0x70ba2d 0x70adc7 0x2519705 0x25a05b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x70baee net/textproto.MIMEHeader.Set+0xc0e net/textproto/header.go:22 # 0x70ba66 net/http.Header.Set+0xb86 net/http/header.go:40 # 0x70ba2c net/http.serveContent+0xb4c net/http/fs.go:419 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a05b5 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x715 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:642 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17adb4e 0x16da44e 0x1ff1134 0x201f1ff 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17adb4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x201f1fe github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x9de github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:95 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x177719b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177719a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:64 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x548674 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x548673 encoding/json.arrayEncoder.encode+0x53 encoding/json/encode.go:864 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x69e80f 0x69e6cf 0x69e6d4 0x5be6e2 0x5bea71 0x69e654 0x69e633 0x5be6e2 0x5bea71 0x69a8fd 0x69a79d 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69e80e vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18e vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69e6ce vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x69e6d3 crypto/tls.(*clientHelloMsg).marshalMsg.func9.1+0x53 crypto/tls/handshake_messages.go:213 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69e653 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e632 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x83bd51 0x83bc9d 0x839b05 0x840f90 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83bd50 github.com/mattermost/logr/v2.LimitString+0x3d0 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x83bc9c github.com/mattermost/logr/v2.(*Logr).enqueue+0x31c github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x839b04 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x840f8f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x184ed9d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x184ed9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x67c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x185349f 0x18533e6 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185349e github.com/mattermost/squirrel.SelectBuilder.From+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18533e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17e6026 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e6025 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:123 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0385 0x16b02db 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0384 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25354bb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25354ba github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x6ba github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:488 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xbdc9da 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdc9d9 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x39 github.com/mattermost/mattermost/server/public/model/post_list.go:33 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17be4f4 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17be4f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:614 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18503f0 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18503ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:330 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17771f7 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17771f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:64 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184eb5c 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184eb5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:209 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 65536] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238e674 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238e673 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10373 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:602 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0x186d945 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:934 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0x5442c5 0x543c53 0xc1abb7 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5442c4 encoding/json.newEncodeState+0x84 encoding/json/encode.go:291 # 0x543c52 encoding/json.Marshal+0x52 encoding/json/encode.go:172 # 0xc1abb6 github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x36 github.com/mattermost/mattermost/server/public/model/channel.go:465 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af1f5 0x16aed98 0x16b00bd 0x18172f0 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af1f4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3f4 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18172ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:133 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x48ed3d 0x48ec06 0x48e97c 0x79619e 0x7961b7 0x798592 0x1b7f7fa 0x1b7f7ce 0x1b7f7be 0x1b808df 0x250f4e5 0x250f4bb 0x250ccf7 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x79619d regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7961b6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x1b7f7f9 regexp.(*Regexp).doMatch+0x539 regexp/exec.go:514 # 0x1b7f7cd regexp.(*Regexp).MatchString+0x50d regexp/regexp.go:527 # 0x1b7f7bd github.com/avct/uasurfer.(*UserAgent).evalOS+0x4fd github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/system.go:67 # 0x1b808de github.com/avct/uasurfer.parse+0x5e github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:225 # 0x250f4e4 github.com/avct/uasurfer.Parse+0x44 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:204 # 0x250f4ba github.com/mattermost/mattermost/server/v8/channels/web.CheckClientCompatibility+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:51 # 0x250ccf6 github.com/mattermost/mattermost/server/v8/channels/web.root+0x56 github.com/mattermost/mattermost/server/v8/channels/web/static.go:63 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x18727f7 0x18727c6 0x187283d 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x18727f6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x76 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18727c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x187283c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1400 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 13056] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x604d17 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x604d16 net.(*netFD).connect+0x216 net/fd_unix.go:102 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x1851ee5 0x1851e43 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1851ee4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x11233a5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11233a4 github.com/lib/pq.NewConnector+0x644 github.com/lib/pq@v1.10.9/connector.go:119 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x238ec56 0x238ec61 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x238ec55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x10955 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x238ec60 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10960 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:543 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa7d1 0x16aaa5a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa7d0 github.com/mattermost/squirrel.Lt.toSql+0x510 github.com/mattermost/squirrel@v0.5.0/expr.go:345 # 0x16aaa59 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x203fbac 0x203fb97 0x2041891 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203fbab github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x4b github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2041890 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0xa30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x237ffac 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x237ffab github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1cab github.com/mattermost/mattermost/server/v8/channels/app/notification.go:170 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x186d4b1 0x186d45d 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x186d4b0 database/sql.(*DB).Query+0x2b0 database/sql/sql.go:1755 # 0x186d45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x25c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:922 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 224] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184ff65 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184ff64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x844 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16a5bd4 0x16a61bd 0x17e5516 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16a5bd3 github.com/mattermost/squirrel.(*deleteData).ToSql+0x593 github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17e5515 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x2f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5d6611 0x60fe6c 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5d6610 net/netip.ParseAddr+0xf0 net/netip/netip.go:128 # 0x60fe6b net.(*Resolver).lookupIPAddr+0x8b net/lookup.go:309 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x74e86b 0x5732f5 0x5735ad 0x754d0d 0x7549ea 0x20a6d6f 0x1a0ca2f 0x1a0c12e 0x1a087d8 0x1a089c8 0x1a915f6 0x1a915d1 0x24e2d2f 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250c762 0x7576a9 0x250c4b6 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e86a net/http.(*chunkWriter).Write+0x8a net/http/server.go:383 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x1a0ca2e github.com/klauspost/compress/flate.(*huffmanBitWriter).writeTokens+0x64e github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:967 # 0x1a0c12d github.com/klauspost/compress/flate.(*huffmanBitWriter).writeBlockDynamic+0x86d github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:768 # 0x1a087d7 github.com/klauspost/compress/flate.(*compressor).storeFast+0x277 github.com/klauspost/compress@v1.18.0/flate/deflate.go:767 # 0x1a089c7 github.com/klauspost/compress/flate.(*compressor).write+0x87 github.com/klauspost/compress@v1.18.0/flate/deflate.go:783 # 0x1a915f5 github.com/klauspost/compress/flate.(*Writer).Write+0x375 github.com/klauspost/compress@v1.18.0/flate/deflate.go:971 # 0x1a915d0 github.com/klauspost/compress/gzip.(*Writer).Write+0x350 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:233 # 0x24e2d2e github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x60e github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:96 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250c761 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c4b5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x183de3b 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183de3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:657 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x1728318 0x17282e6 0x17282f4 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728317 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x97 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17282e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17282f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1117 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69b03d 0x69aedd 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69b03c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x215c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69aedc crypto/tls.(*clientHelloMsg).marshalMsg+0x1ffc crypto/tls/handshake_messages.go:257 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 9472] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x5654cb 0x5f9a49 0x5f9a1c 0x5f96e5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5f9a48 context.WithDeadline+0x208 context/context.go:617 # 0x5f9a1b net.(*sysDialer).dialSerial+0x1db net/dial.go:681 # 0x5f96e4 net.(*sysDialer).dialParallel.func1+0x84 net/dial.go:606 0: 0 [1: 160] @ 0x12595c8 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x20cb0a6 0x20cae86 0x20ca8ca 0x483fe1 # 0x12595c7 github.com/jmoiron/sqlx.compileNamedQuery+0x47 github.com/jmoiron/sqlx@v1.4.0/named.go:332 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20cb0a5 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).setJobSuccess+0x45 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:98 # 0x20cae85 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).DoJob+0x365 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:94 # 0x20ca8c9 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:55 0: 0 [1: 48] @ 0x110e018 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x110e017 github.com/lib/pq/scram.(*Client).clientProof+0x277 github.com/lib/pq@v1.10.9/scram/scram.go:247 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48f2f9 0x48e925 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x1844385 0x1844326 0x1844334 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1844384 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1844325 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1844333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1165 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x48f312 0x48e925 0x543d87 0x179c335 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x543d86 encoding/json.Marshal+0x186 encoding/json/encode.go:181 # 0x179c334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:145 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x183db9b 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183db9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:641 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x604d2d 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x604d2c net.(*netFD).connect+0x22c net/fd_unix.go:103 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dbd2d 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dbd2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3082 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17c1c2a 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1c29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x12578b9 0x125cf77 0x182ddb4 0x17dbd2d 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182ddb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:439 # 0x17dbd2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3082 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x23a64b2 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x23a64b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 224] @ 0x5aeaba 0x5aead0 0x271626f 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x69922e 0x69910a 0x699109 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69922d vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x34d vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x699109 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x229 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x699108 crypto/tls.(*clientHelloMsg).marshalMsg+0x228 crypto/tls/handshake_messages.go:120 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b1a4b 0x17c6ed9 0x17c6e66 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c6ed8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x718 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c6e65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 144] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12575bb 0x125c637 0x182b7ac 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184efb9 0x184ef93 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184efb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184ef92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x125cce9 0x125ccc5 0x17ad589 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x125cce8 database/sql.(*DB).Query+0x48 database/sql/sql.go:1755 # 0x125ccc4 github.com/jmoiron/sqlx.(*DB).QueryRowx+0x24 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:362 # 0x17ad588 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x508 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x24f8785 0x24f8750 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8784 net/http.MaxBytesReader+0x6e4 net/http/request.go:1190 # 0x24f874f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x6af github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:212 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c1c8 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c1c7 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x24f8cae 0x24f8c81 0x24f8ab3 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8cad net/textproto.MIMEHeader.Set+0xc0d net/textproto/header.go:22 # 0x24f8c80 net/http.Header.Set+0xbe0 net/http/header.go:40 # 0x24f8ab2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa12 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1e6f 0x17c5b76 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1e6e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x17c5b75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1260 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0xbc158a 0x17a2885 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1589 github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x189 github.com/mattermost/mattermost/server/public/model/link_metadata.go:162 # 0x17a2884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:93 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x684354 0x76cf2e 0x76cf29 0x483fe1 # 0x684353 crypto/tls.(*Conn).handshakeContext+0x1f3 crypto/tls/conn.go:1543 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ab44d 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16ab44c github.com/mattermost/squirrel.(*insertData).ToSql+0x8c github.com/mattermost/squirrel@v0.5.0/insert.go:63 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x544613 0x5443d2 0x543cbe 0xc135df 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc135de github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x11e github.com/mattermost/mattermost/server/public/model/utils.go:314 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x5442c5 0x543c53 0xc1abb7 0x545012 0x548e03 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5442c4 encoding/json.newEncodeState+0x84 encoding/json/encode.go:291 # 0x543c52 encoding/json.Marshal+0x52 encoding/json/encode.go:172 # 0xc1abb6 github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x36 github.com/mattermost/mattermost/server/public/model/channel.go:465 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x17c5788 0x17c5771 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c5787 github.com/mattermost/squirrel.StatementBuilderType.Select+0x2c7 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c5770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x2b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1252 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5250f3 0x5250be 0x525e19 0x528c65 0x52a8d8 0x52d41e 0x527593 0x16aae05 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5250f2 fmt.(*buffer).writeString+0x72 fmt/print.go:108 # 0x5250bd fmt.(*fmt).padString+0x3d fmt/format.go:113 # 0x525e18 fmt.(*fmt).fmtS+0x38 fmt/format.go:362 # 0x528c64 fmt.(*pp).fmtString+0xc4 fmt/print.go:497 # 0x52a8d7 fmt.(*pp).printArg+0x377 fmt/print.go:741 # 0x52d41d fmt.(*pp).doPrintf+0x37d fmt/print.go:1074 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17255bd 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17255bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x52d1bb 0x52d151 0x527593 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52d1ba fmt.(*buffer).writeString+0x11a fmt/print.go:108 # 0x52d150 fmt.(*pp).doPrintf+0xb0 fmt/print.go:1032 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x179abda 0x179aaa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x179abd9 github.com/mattermost/squirrel.InsertBuilder.Columns+0x359 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x179aaa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 144] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xad507a 0x48ea11 0xaeb5d3 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xad5079 encoding/gob.init.func1+0x19 encoding/gob/encode.go:44 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xaeb5d2 encoding/gob.(*Encoder).encodeInterface+0x732 encoding/gob/encode.go:417 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 16] @ 0x11137bb 0x111f925 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111f924 github.com/lib/pq.(*conn).readExecuteResponse+0x184 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x12575bb 0x125c637 0x1829914 0x1873045 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x543d27 0x2026d9a 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2026d99 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x459 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:237 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x110e018 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x110e017 github.com/lib/pq/scram.(*Client).clientProof+0x277 github.com/lib/pq@v1.10.9/scram/scram.go:247 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1408] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x24e27fc 0x2508bf1 0x2652728 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652727 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x427 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1083 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1736ff6 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1736ff5 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x1120075 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1120074 github.com/lib/pq.parsePortalRowDescribe+0xb4 github.com/lib/pq@v1.10.9/conn.go:1983 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54771b 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54771a encoding/json.mapEncoder.encode+0x49a encoding/json/encode.go:782 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x1773be9 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1773be8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x568 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:133 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2040a14 0x2649005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2040a13 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x573 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x2649004 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x484 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:325 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x182f070 0x182efa2 0x182ee0c 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x185096e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x185096d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x124d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:359 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0efc 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x646ff2 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x646ff1 crypto/x509.parseCertificate+0x10d1 crypto/x509/parser.go:1048 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 896] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x51f7fb 0x1b792a5 0x1b792cb 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f7fa encoding/base64.(*Encoding).EncodeToString+0xba encoding/base64/base64.go:207 # 0x1b792a4 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xa4 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b792ca github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x18536ec 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0x2382410 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238240f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x410f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:410 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4620a7 0x1115e58 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1115e57 github.com/lib/pq.parseOpts+0x197 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xb08bce 0xb089e5 0x483fe1 # 0xb08bcd github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xcd github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:176 # 0xb089e4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:156 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18687c5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18687c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:529 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x609719 0x61e631 0x61e612 0x61fd91 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x609718 net.IP.String+0xd8 net/ip.go:315 # 0x61e630 net.ipEmptyString+0x50 net/ip.go:332 # 0x61e611 net.(*UDPAddr).String+0x31 net/udpsock.go:51 # 0x61fd90 net.DialUDP+0x150 net/udpsock.go:299 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 4096] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x461e06 0x2733093 0x2738225 0x2737f09 0x695a12 0x6958a8 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695a11 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x3f1 crypto/internal/fips140/tls13/tls13.go:106 # 0x6958a7 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x287 crypto/tls/handshake_client_tls13.go:516 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 448] @ 0x17b859a 0x17b8bb3 0x17bc4fb 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x17bc4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x4ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:399 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0xc151f1 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x4d4f45 0x4d527d 0x4d2fbe 0x4d3e05 0x4d3df9 0x250cf8c 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x4d3e04 os.Open+0x44 os/file.go:370 # 0x4d3df8 os.ReadFile+0x38 os/file.go:800 # 0x250cf8b github.com/mattermost/mattermost/server/v8/channels/web.root+0x2eb github.com/mattermost/mattermost/server/v8/channels/web/static.go:84 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb0d85d 0xb0cdeb 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d85c github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).AddChild+0x7c github.com/mattermost/mattermost/server/public/shared/markdown/document.go:20 # 0xb0cdea github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x8ca github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x12578b9 0x125c637 0x182b7ac 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17ad175 0x17ad146 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17ad174 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17ad145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:210 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x60ffd2 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x60ffd1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x619566 0x61953d 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x535245 0x535350 0x53b9e5 0x79d3a5 0x79d8a3 0x79d2cb 0x1829e25 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53b9e4 strings.ToLower+0xa4 strings/strings.go:742 # 0x79d3a4 regexp.(*Regexp).ReplaceAllStringFunc.func1+0x84 regexp/regexp.go:598 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1872c19 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x498 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 448] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 1280] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184dfde 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184dfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x3dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x110cbf7 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x110cbf6 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.10.9/scram/scram.go:79 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15fc 0x1871b6f 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1871b6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1331 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 128] @ 0x604da7 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x604da6 net.(*netFD).connect+0x2a6 net/fd_unix.go:117 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x49cac5 0x49d6b2 0x605227 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49d6b1 syscall.Getpeername+0x71 syscall/syscall_unix.go:309 # 0x605226 net.(*netFD).connect+0x726 net/fd_unix.go:161 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x6311e5 0x6324d9 0x6324af 0x266e825 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e824 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x984 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3466 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x70b96b 0x70b93e 0x70b920 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x70b96a net/textproto.MIMEHeader.Set+0xa8a net/textproto/header.go:22 # 0x70b93d net/http.Header.Set+0xa5d net/http/header.go:40 # 0x70b91f net/http.serveContent+0xa3f net/http/fs.go:391 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1259b08 0x12594d8 0x125a972 0x125b7e5 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1259b07 github.com/jmoiron/sqlx.compileNamedQuery+0x587 github.com/jmoiron/sqlx@v1.4.0/named.go:368 # 0x12594d7 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x125a971 github.com/jmoiron/sqlx.bindNamedMapper+0x171 github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17e5fd0 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e5fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0xaf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:123 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x5f9a49 0x5f9a1c 0x5f96e5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x5f9a48 context.WithDeadline+0x208 context/context.go:617 # 0x5f9a1b net.(*sysDialer).dialSerial+0x1db net/dial.go:681 # 0x5f96e4 net.(*sysDialer).dialParallel.func1+0x84 net/dial.go:606 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 480] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 14336] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 18432] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1877737 0x16f3e26 0x200e2fd 0x22a62f4 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1877736 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AnalyticsGetInactiveUsersCount+0x556 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1784 # 0x16f3e25 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).AnalyticsGetInactiveUsersCount+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14636 # 0x200e2fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).AnalyticsGetInactiveUsersCount+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11505 # 0x22a62f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getStandardAnalytics.func2+0x53 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:88 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 401408] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25fe599 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25fe598 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x278 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ed47 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111ed46 github.com/lib/pq.(*conn).processParameterStatus+0x126 github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa3b4 0x16aa392 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa3b3 github.com/mattermost/squirrel.getSortedKeys+0xf3 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16aa391 github.com/mattermost/squirrel.Lt.toSql+0xd1 github.com/mattermost/squirrel@v0.5.0/expr.go:322 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x74e86b 0x5732f5 0x5735ad 0x754d0d 0x7549ea 0x20a6d6f 0x1a0c59c 0x1a0c12e 0x1a087d8 0x1a089c8 0x1a915f6 0x1a915d1 0x24e2d2f 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e86a net/http.(*chunkWriter).Write+0x8a net/http/server.go:383 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x1a0c59b github.com/klauspost/compress/flate.(*huffmanBitWriter).writeTokens+0x1bb github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:868 # 0x1a0c12d github.com/klauspost/compress/flate.(*huffmanBitWriter).writeBlockDynamic+0x86d github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:768 # 0x1a087d7 github.com/klauspost/compress/flate.(*compressor).storeFast+0x277 github.com/klauspost/compress@v1.18.0/flate/deflate.go:767 # 0x1a089c7 github.com/klauspost/compress/flate.(*compressor).write+0x87 github.com/klauspost/compress@v1.18.0/flate/deflate.go:783 # 0x1a915f5 github.com/klauspost/compress/flate.(*Writer).Write+0x375 github.com/klauspost/compress@v1.18.0/flate/deflate.go:971 # 0x1a915d0 github.com/klauspost/compress/gzip.(*Writer).Write+0x350 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:233 # 0x24e2d2e github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x60e github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:96 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1872ad3 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872ad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x352 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16aa71e 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17d2d8c 0x17d2ebe 0x16dadba 0x1ff1bba 0x22a6073 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17d2d8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).countByTeam+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2357 # 0x17d2ebd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCountByTeam+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2367 # 0x16dadb9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCountByTeam+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7679 # 0x1ff1bb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCountByTeam+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6118 # 0x22a6072 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getStandardAnalytics.func4+0x72 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:106 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x52449a 0x48ea11 0x52f3fd 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x524499 fmt.init.func2+0x19 fmt/scan.go:379 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x52f3fc fmt.newScanState+0x3c fmt/scan.go:384 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b661c 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b661b github.com/mattermost/squirrel.UpdateBuilder.Where+0xbb github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x18305b4 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18305b3 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4f3 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x461d32 0x4612a5 0x46140a 0x171da73 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171da72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:121 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f8b2 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x126023e 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x126023d github.com/jmoiron/sqlx.scanAll+0x95d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:988 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x262967e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x262967d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:564 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb0f1b5 0xb12598 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0f1b4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x1f4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:165 # 0xb12597 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f7 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x548aaa 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x548aa9 encoding/json.ptrEncoder.encode+0x269 encoding/json/encode.go:886 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 335872] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 32] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x6e7af1 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7af0 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652aa6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x2652aa5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1089 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17cb0a5 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb0a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1663 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x23a2365 0x23a0619 0x23a5dbc 0x483fe1 # 0x23a2364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1cc4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 32] @ 0x60ff5c 0x60ffc4 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x60ff5b net.withUnexpiredValuesPreserved+0x17b net/lookup.go:299 # 0x60ffc3 net.(*Resolver).lookupIPAddr+0x1e3 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0xb0f5ed 0xb124b8 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0f5ec github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLineEnding+0x1cc github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:184 # 0xb124b7 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x117 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:573 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b1a5c 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 64] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5f05e5 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f05e4 internal/singleflight.(*Group).DoChan+0x184 internal/singleflight/singleflight.go:81 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b08ff 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1791f3f 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1791f3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x3be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1478 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb4c486 0xb4d038 0xb57a56 0xc0b10e 0xc0b10f 0xc05ee7 0x1863c8a 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb4c485 golang.org/x/text/internal/language.makeScannerString+0x45 golang.org/x/text@v0.30.0/internal/language/parse.go:86 # 0xb4d037 golang.org/x/text/internal/language.Parse+0x157 golang.org/x/text@v0.30.0/internal/language/parse.go:257 # 0xb57a55 golang.org/x/text/language.CanonType.Parse+0x95 golang.org/x/text@v0.30.0/language/parse.go:54 # 0xc0b10d golang.org/x/text/language.Parse+0x2d golang.org/x/text@v0.30.0/language/parse.go:35 # 0xc0b10e github.com/mattermost/mattermost/server/public/model.IsValidLocale+0x2e github.com/mattermost/mattermost/server/public/model/user.go:1065 # 0xc05ee6 github.com/mattermost/mattermost/server/public/model.(*User).IsValid+0x666 github.com/mattermost/mattermost/server/public/model/user.go:417 # 0x1863c89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:217 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x604f71 0x604fb5 0x619bfc 0x61973b 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x604f70 os.NewSyscallError+0x470 os/error.go:71 # 0x604fb4 net.(*netFD).connect+0x4b4 net/fd_unix.go:83 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x1a0a3f0 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1858792 0x1858738 0x185872e 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1858791 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xd1 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1858737 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x185872d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:804 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461d32 0x4612a5 0x4614c5 0x773fb7 0x773f14 0x768d52 0x767468 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x773fb6 net.JoinHostPort+0xf6 net/ipsock.go:242 # 0x773f13 net/http.canonicalAddr+0x53 net/http/transport.go:2948 # 0x768d51 net/http.(*Transport).connectMethodForRequest+0x51 net/http/transport.go:976 # 0x767467 net/http.(*Transport).roundTrip+0xaa7 net/http/transport.go:675 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b667b 0x16b6573 0x179cb33 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179cb32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x25df3d8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x25df3d7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd37 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:239 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb0cd99 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cd98 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x878 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17bf80c 0x17bf7aa 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x17bf80b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x2cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17bf7a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:731 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 96] @ 0x5be9e5 0x69b50c 0x69b3af 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79e8f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f702f1 0x2392477 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79e8e github.com/vmihailenco/msgpack/v5.encodeMapValue+0x1ae github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:25 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f702f0 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:322 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x172073e 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x172073d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x67d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:470 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb10325 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb10324 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x384 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1772965 0x177292c 0x177292b 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1772964 github.com/mattermost/squirrel.newPart+0x244 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x177292b github.com/mattermost/squirrel.SelectBuilder.From+0x20b github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x177292a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:67 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x1853b38 0x1853ab4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1853b37 github.com/mattermost/squirrel.CaseBuilder.Else+0x7f7 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1853ab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x773 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:580 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b5849 0x16e045a 0x1ff7dba 0x242f3fe 0x2422c5d 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b5848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPost+0x368 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:31 # 0x16e0459 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9068 # 0x1ff7db9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7220 # 0x242f3fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:15 # 0x2422c5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x81c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:150 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0e62e 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e62d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xded github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:648 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16ac7b4 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182c706 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x76c0b0 0x76bf1b 0x76b74e 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x76c0af net/http.(*Transport).startDialConnForLocked+0xcf net/http/transport.go:1596 # 0x76bf1a net/http.(*Transport).queueForDial+0x31a net/http/transport.go:1569 # 0x76b74d net/http.(*Transport).getConn+0x40d net/http/transport.go:1516 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 256] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1408] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x67383a 0x48ea11 0x680e93 0x68275e 0x76fb46 0x5732f5 0x77258c 0x483fe1 # 0x673839 crypto/tls.init.func1+0x19 crypto/tls/conn.go:968 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x680e92 crypto/tls.(*Conn).writeRecordLocked+0x3b2 crypto/tls/conn.go:988 # 0x68275d crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1248 # 0x76fb45 net/http.persistConnWriter.Write+0x25 net/http/transport.go:1960 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x77258b net/http.(*persistConn).writeLoop+0x1cb net/http/transport.go:2606 0: 0 [1: 48] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0xbdcac5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x535245 0x535350 0x53a585 0x569b7f 0x568a0b 0x5689d0 0x568958 0x568959 0x11ec5ca 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x568a0a path/filepath.Join+0x8a path/filepath/path.go:131 # 0x5689cf path/filepath.unixAbs+0x4f path/filepath/path.go:173 # 0x568957 path/filepath.abs+0x17 path/filepath/path_unix.go:29 # 0x568958 path/filepath.Abs+0x18 path/filepath/path.go:162 # 0x11ec5c9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x309 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:65 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a99d5 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x125cad3 0x18296ff 0x17dd5f9 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x125cad2 github.com/jmoiron/sqlx.(*DB).Beginx+0x52 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:346 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17dd5f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3214 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 256] @ 0x48f312 0x48e925 0x54ecd7 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54ecd6 encoding/json.(*Encoder).Encode+0x236 encoding/json/stream.go:234 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa66c 0x16aaada 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aa66b github.com/mattermost/squirrel.Lt.toSql+0x3ab github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x185a5a5 0x185a57f 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x185a5a4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185a57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1058 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x8eea19 0x8eea0d 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8eea18 golang.org/x/net/html.(*parser).addElement+0x258 golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8eea0c golang.org/x/net/html.inHeadIM+0x24c golang.org/x/net@v0.46.0/html/parse.go:647 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17e1ce7 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x17e1ce6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:116 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x239f1ed 0x239c025 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x239f1ec github.com/mattermost/mattermost/server/v8/channels/app.getNotificationEmailSubject+0xcc github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:290 # 0x239c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x744 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:68 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x505885 0x504939 0x879ae6 0x875226 0x873a1f 0x8729d2 0x8723c5 0x870265 0x87045d 0x87069e 0x87030b 0x87045d 0x871e12 0x8717c9 0x8701dc 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x505884 reflect.Value.call+0xd04 reflect/value.go:606 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0x879ae5 text/template.safeCall+0x85 text/template/funcs.go:375 # 0x875225 text/template.(*state).evalCall+0xaa5 text/template/exec.go:870 # 0x873a1e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x8729d1 text/template.(*state).evalCommand+0x1d1 text/template/exec.go:563 # 0x8723c4 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x870264 text/template.(*state).walk+0x124 text/template/exec.go:267 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x87069d text/template.(*state).walkIfOrWith+0x1bd text/template/exec.go:310 # 0x87030a text/template.(*state).walk+0x1ca text/template/exec.go:277 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x871e11 text/template.(*state).walkRange.func2+0x2b1 text/template/exec.go:395 # 0x8717c8 text/template.(*state).walkRange+0xc88 text/template/exec.go:419 # 0x8701db text/template.(*state).walk+0x9b text/template/exec.go:283 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173881f 0x16c5527 0x1fd99ad 0x1f6ef86 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173881e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2359 # 0x16c5526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2000 # 0x1fd99ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1665 # 0x1f6ef85 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:166 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 288] @ 0x2716257 0x2732f5a 0x2738225 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x11fb9e5 0x11fba0f 0x1226b3e 0x12245bd 0x12262f9 0x12262cc 0x12244a5 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x11fb9e4 github.com/yuin/goldmark/ast.NewTextSegment+0x84 github.com/yuin/goldmark@v1.7.13/ast/inline.go:184 # 0x11fba0e github.com/yuin/goldmark/ast.MergeOrAppendTextSegment+0xae github.com/yuin/goldmark@v1.7.13/ast/inline.go:210 # 0x1226b3d github.com/yuin/goldmark/parser.(*parser).parseBlock+0x7fd github.com/yuin/goldmark@v1.7.13/parser/parser.go:1192 # 0x12245bc github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.7.13/parser/parser.go:880 # 0x12262f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1122 # 0x12262cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.7.13/parser/parser.go:1120 # 0x12244a4 github.com/yuin/goldmark/parser.(*parser).Parse+0x1c4 github.com/yuin/goldmark@v1.7.13/parser/parser.go:879 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x1b77076 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x1b77075 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xb5 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:107 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7a09f8 0x79e8f5 0x7a0945 0x24253d3 0x24254e8 0x2425b8b 0x2423fcd 0x24225eb 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7a09f7 regexp.(*Regexp).FindAllString.func1+0x57 regexp/regexp.go:1120 # 0x79e8f4 regexp.(*Regexp).allMatches+0x2d4 regexp/regexp.go:810 # 0x7a0944 regexp.(*Regexp).FindAllString+0x64 regexp/regexp.go:1118 # 0x24253d2 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForString+0x32 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:431 # 0x24254e7 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:442 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x173a6d1 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a6d0 github.com/mattermost/squirrel.UpdateBuilder.Set+0x590 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1727adb 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727ada github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1075 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0xc08f4c 0xc08e93 0x24995dd 0x24a8ffd 0x24a8fca 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f4b github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xcb github.com/mattermost/mattermost/server/public/model/user.go:732 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a8ffc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x7fc github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a8fc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x7c9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2778 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x4b2379 0x4b3937 0x4b1470 0x124b57c 0x239f170 0x239c025 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b2378 time.LoadLocationFromTZData+0xc78 time/zoneinfo_read.go:283 # 0x4b3936 time.loadLocation+0xb6 time/zoneinfo_read.go:535 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239f16f github.com/mattermost/mattermost/server/v8/channels/app.getNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:289 # 0x239c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x744 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:68 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x79f7ec 0x79d0aa 0x79d8a3 0x79cfe5 0x10e0fd5 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79f7eb regexp.(*Regexp).expand+0x56b regexp/regexp.go:968 # 0x79d0a9 regexp.(*Regexp).ReplaceAllString.func1+0x69 regexp/regexp.go:578 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x5be9e5 0x69c2ca 0x69c147 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c2c9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x269 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69c146 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xe6 crypto/tls/handshake_messages.go:351 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817c0b 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x1817c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x12a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173ec91 0x173eb8e 0x173eb77 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173ec90 github.com/lann/builder.Append+0x830 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173eb8d github.com/mattermost/squirrel.UpdateBuilder.Set+0x72d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173eb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x716 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2810 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x79db07 0x79cfe5 0xc151d0 0x240081e 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151cf github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:720 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbd938d 0xbd9304 0x24b1f52 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd938c maps.Copy[...]+0x14c maps/maps.go:64 # 0xbd9303 github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xc3 github.com/mattermost/mattermost/server/public/model/post.go:643 # 0x24b1f51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x7b1 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:363 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17e1ddf 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e1dde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:117 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1b9d005 0x239fdf5 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x1b9d004 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).NewEmailTemplateData+0x124 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:768 # 0x239fdf4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x434 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:371 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f25c 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f25b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0xbd75cd 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd75cc github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x6c github.com/mattermost/mattermost/server/public/model/post.go:356 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x18079e8 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18079e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:229 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x548674 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x548673 encoding/json.arrayEncoder.encode+0x53 encoding/json/encode.go:864 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x5654cb 0x5f84bd 0x5f848a 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5f84bc context.WithDeadline+0x1bc context/context.go:617 # 0x5f8489 net.(*Dialer).DialContext+0x189 net/dial.go:533 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x179aa70 0x179aa12 0x179aa11 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x179aa6f github.com/mattermost/squirrel.InsertBuilder.Into+0x1ef github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x179aa11 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x191 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x179aa10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:65 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46140a 0x171dd89 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dd88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:132 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x271638e 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x1853646 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853645 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x305 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x4b3ee5 0x4b2b8a 0x4b3831 0x4b3914 0x4b1470 0x124b57c 0x239fb56 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x4b3ee4 time.readFile+0x1e4 time/zoneinfo_read.go:589 # 0x4b2b89 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4b3830 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4b3913 time.loadLocation+0x93 time/zoneinfo_read.go:533 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239fb55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x195 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:359 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x240bc85 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x240bc84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:990 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1777bdc 0x1777b69 0x16cf5db 0x1fe5086 0x231160f 0x2597007 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1777bdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1777b68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.Search+0x268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:124 # 0x16cf5da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).Search+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4643 # 0x1fe5085 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).Search+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3784 # 0x231160e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchEmoji+0xae github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:280 # 0x2597006 github.com/mattermost/mattermost/server/v8/channels/api4.searchEmojis+0x206 github.com/mattermost/mattermost/server/v8/channels/api4/emoji.go:314 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bbdd5 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bbdd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:319 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x26d6fc6 0x26dd3d4 0x2715dde 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x26d6fc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:133 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x2715ddd crypto/internal/fips140/ecdsa.newDRBG[...]+0x39d crypto/internal/fips140/ecdsa/hmacdrbg.go:92 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x86fac5 0x8a01d1 0x8a01ab 0x8e0a85 0x8e03ba 0x8e2ef5 0x239c699 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x86fac4 text/template.(*Template).execute+0x184 text/template/exec.go:219 # 0x8a01d0 text/template.(*Template).Execute+0x70 text/template/exec.go:207 # 0x8a01aa github.com/mattermost/go-i18n/i18n/translation.(*template).Execute+0x4a github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:42 # 0x8e0a84 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x364 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:396 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x239c698 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xdb8 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:81 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 80] @ 0x461e06 0x4bac07 0x10e3a14 0x10e395d 0x10e40bc 0x10e276f 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bac06 io.WriteString+0x66 io/io.go:318 # 0x10e3a13 gopkg.in/mail%2ev2.(*messageWriter).writeString+0x333 gopkg.in/mail.v2@v2.3.1/writeto.go:168 # 0x10e395c gopkg.in/mail%2ev2.(*messageWriter).writeHeader+0x27c gopkg.in/mail.v2@v2.3.1/writeto.go:204 # 0x10e40bb gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x11b gopkg.in/mail.v2@v2.3.1/writeto.go:252 # 0x10e276e gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x10e gopkg.in/mail.v2@v2.3.1/writeto.go:28 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x1b7591d 0x247ace7 0x2478e05 0x247db72 0x23de6fe 0x113011e 0x115f095 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x1b7591c github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).JoinUserToTeam+0x21c github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:164 # 0x247ace6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).JoinUserToTeam+0x66 github.com/mattermost/mattermost/server/v8/channels/app/team.go:748 # 0x2478e04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddUserToTeam+0x464 github.com/mattermost/mattermost/server/v8/channels/app/team.go:576 # 0x247db71 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddTeamMember+0x51 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1038 # 0x23de6fd github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreateTeamMember+0x3d github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:216 # 0x113011d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreateTeamMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:432 # 0x115f094 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreateTeamMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2870 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2304] @ 0x6e4a88 0x6e3074 0x6de9fa 0x6dfb47 0x6dffb2 0x90fcaa 0x90fca0 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e4a87 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x6e3073 compress/flate.(*huffmanBitWriter).writeBlock+0x2b3 compress/flate/huffman_bit_writer.go:466 # 0x6de9f9 compress/flate.(*compressor).writeBlock+0x99 compress/flate/deflate.go:171 # 0x6dfb46 compress/flate.(*compressor).deflate+0x6c6 compress/flate/deflate.go:487 # 0x6dffb1 compress/flate.(*compressor).write+0x71 compress/flate/deflate.go:545 # 0x90fca9 compress/flate.(*Writer).Write+0x89 compress/flate/deflate.go:707 # 0x90fc9f compress/zlib.(*Writer).Write+0x7f compress/zlib/writer.go:154 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 7159808] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x1829ac9 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829ac8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0d9d2 0xc0d9d3 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d9d1 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d9d2 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69a405 0x69a40c 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a404 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1524 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a40b crypto/tls.(*clientHelloMsg).marshalMsg+0x152b crypto/tls/handshake_messages.go:182 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x185642c 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185642b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x3eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:705 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 192] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x238ec56 0x238ec61 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x238ec55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x10955 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x238ec60 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10960 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:543 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f6f566 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6f565 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:227 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x461d32 0x4612a5 0x46159d 0x232cc3a 0x232b5e5 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x232cc39 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x539 github.com/mattermost/mattermost/server/v8/channels/app/file.go:897 # 0x232b5e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x764 github.com/mattermost/mattermost/server/v8/channels/app/file.go:805 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x2717a28 0x27179df 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x2717a27 crypto/internal/fips140/bigmod.NewNat+0x1e7 crypto/internal/fips140/bigmod/nat.go:72 # 0x27179de crypto/internal/fips140/ecdsa.randomPoint[...]+0x19e crypto/internal/fips140/ecdsa/ecdsa.go:249 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 1280] @ 0x68b553 0x68cd5d 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x68b552 crypto/tls.(*Conn).makeClientHello+0x1d2 crypto/tls/handshake_client.go:71 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 416] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16a526f 0x16a5263 0x16a5233 0x184fe9e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a526e github.com/mattermost/squirrel.newPart+0x4e github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16a5262 github.com/mattermost/squirrel.newWhenPart+0x42 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x184fe9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x26544c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x26544c4 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x24accf0 0x24accb3 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x24accef github.com/mattermost/mattermost/server/public/model.ArrayToJSON+0xcf github.com/mattermost/mattermost/server/public/model/utils.go:493 # 0x24accb2 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x92 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 160] @ 0x12595c8 0x12594d8 0x125a972 0x125b7e5 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12595c7 github.com/jmoiron/sqlx.compileNamedQuery+0x47 github.com/jmoiron/sqlx@v1.4.0/named.go:332 # 0x12594d7 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x125a971 github.com/jmoiron/sqlx.bindNamedMapper+0x171 github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x1222c74 0x1223188 0x1232a8d 0x1232be5 0x1245bb8 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1222c73 github.com/yuin/goldmark/parser.(*withBlockParsers).SetParserOption+0x53 github.com/yuin/goldmark@v1.7.13/parser/parser.go:650 # 0x1223187 github.com/yuin/goldmark/parser.NewParser+0xc7 github.com/yuin/goldmark@v1.7.13/parser/parser.go:732 # 0x1232a8c github.com/yuin/goldmark.DefaultParser+0x32c github.com/yuin/goldmark@v1.7.13/markdown.go:16 # 0x1232be4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.7.13/markdown.go:102 # 0x1245bb7 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x177 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 163840] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 416] @ 0x17c526a 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x909 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1199 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 768] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x54425e 0x543c53 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x543c52 encoding/json.Marshal+0x52 encoding/json/encode.go:172 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1791f77 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1791f76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1479 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb10405 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb10404 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x464 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:245 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50e272 0x50e76e 0xb759db 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e76d reflect.AppendSlice+0x12d reflect/value.go:2664 # 0xb759da github.com/vmihailenco/msgpack/v5.growSliceValue+0xda github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1425408] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x183076f 0x18306a8 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183076e github.com/lann/builder.Append+0x6ae github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18306a7 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5e7 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:301 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184e13d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x12578b9 0x125c637 0x1829914 0x17c1e25 0x16dda28 0x1ff4cd2 0x2412b02 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x2412b01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration.func1+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1777 0: 0 [1: 2688] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x461e06 0x1b77097 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b77096 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xd6 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:108 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184ddf5 0x184ddad 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184f7c5 0x184f7a1 0x184f786 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184f7c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184f7a0 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x184f785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 80] @ 0x535245 0x535350 0x53a585 0x16ab632 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16ab631 github.com/mattermost/squirrel.(*insertData).ToSql+0x271 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x12578b9 0x125c637 0x1829914 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ea845 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ea844 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1265 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x17ad1ab 0x17ad177 0x17ad176 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17ad1aa github.com/mattermost/squirrel.newPart+0x12a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17ad176 github.com/mattermost/squirrel.SelectBuilder.From+0xf6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17ad175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:211 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x1850012 0x184fff3 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850011 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8f1 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184fff2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:311 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1858792 0x1858738 0x185872e 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1858791 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xd1 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1858737 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x185872d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:804 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x2337d50 0x2333b5b 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2337d4f github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessibleFile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file_helper.go:116 # 0x2333b5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x5a github.com/mattermost/mattermost/server/v8/channels/app/file.go:1290 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 480] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x2053c30 0x2053d8d 0x20525db 0x2051cd7 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x2053c2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1-range6+0x2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:724 # 0x2053d8c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6c maps/iter.go:28 # 0x20525da github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0x1737025 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1737024 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6784] @ 0x11e5513 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5512 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x5275a6 0xc15017 0xc08905 0x26497f2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc15016 github.com/mattermost/mattermost/server/public/model.Etag+0x196 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xc08904 github.com/mattermost/mattermost/server/public/model.(*User).Etag+0x164 github.com/mattermost/mattermost/server/public/model/user.go:670 # 0x26497f1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x3b1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:377 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17cb469 0x17cb3af 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17cb468 github.com/mattermost/squirrel.SelectBuilder.From+0x568 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17cb3ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1671 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173adb9 0x173acb2 0x173aca3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173adb8 github.com/lann/builder.Append+0xc78 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173acb1 github.com/mattermost/squirrel.UpdateBuilder.Set+0xb71 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173aca2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xb62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2559 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 96] @ 0x79d7f1 0x79d2cb 0x182cc05 0x17dc7a5 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x182cc04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:352 # 0x17dc7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3162 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa7d1 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa7d0 github.com/mattermost/squirrel.Lt.toSql+0x510 github.com/mattermost/squirrel@v0.5.0/expr.go:345 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x17bdc85 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:580 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae58f 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 27136] @ 0x543d27 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x271638e 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x184e13d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a7c32 0x24e3192 0x24e2c33 0x2508bf1 0x54ec8d 0xbd768b 0x25ddb3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3191 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3f1 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:210 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbd768a github.com/mattermost/mattermost/server/public/model.(*Post).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post.go:361 # 0x25ddb3e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xafe github.com/mattermost/mattermost/server/v8/channels/api4/post.go:129 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x17c14b2 0x17c140e 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x17c14b1 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x1f71 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c140d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1ecd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:877 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x18578fa 0x185781c 0x1857803 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18578f9 github.com/lann/builder.Append+0x339 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x185781b github.com/mattermost/squirrel.UpdateBuilder.Set+0x25b github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857802 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x242 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:758 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x17c53fb 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c53fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0xa9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1182 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1857865 0x1857803 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857864 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2a4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857802 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x242 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:758 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40e3fc 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x748265 0x74826d 0x23a6633 0x23a65fd 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x748264 io.NopCloser+0x6c4 io/io.go:684 # 0x74826c net/http.NewRequestWithContext+0x6cc net/http/request.go:908 # 0x23a6632 net/http.NewRequest+0x1d2 net/http/request.go:863 # 0x23a65fc github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x19c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 1024] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x2716350 0x27332f5 0x2738366 0x2739435 0x695879 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2739434 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x695878 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x258 crypto/tls/handshake_client_tls13.go:511 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x270ea65 0x270e9d9 0x270e9e0 0x2710c3a 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270ea64 crypto/internal/fips140/bigmod.(*Nat).expand+0xe4 crypto/internal/fips140/bigmod/nat.go:82 # 0x270e9d8 crypto/internal/fips140/bigmod.(*Nat).ExpandFor+0x58 crypto/internal/fips140/bigmod/nat.go:677 # 0x270e9df crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x5f crypto/internal/fips140/bigmod/nat.go:766 # 0x2710c39 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x2f9 crypto/internal/fips140/bigmod/nat.go:1056 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x4614c5 0x6ce5fe 0x10d49c8 0x10d4b85 0x10d46ca 0x10d4833 0x10e512e 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6ce5fd net/textproto.(*Reader).ReadResponse+0x13d net/textproto/reader.go:303 # 0x10d49c7 net/smtp.(*Client).cmd+0x127 net/smtp/smtp.go:117 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d46c9 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x10d4832 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x10e512d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:183 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x16a53a6 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a53a5 github.com/lann/builder.Append+0x185 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b1a4b 0x186f97b 0x186f918 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x186f917 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1852c13 0x1852b58 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1852c12 github.com/mattermost/squirrel.SelectBuilder.From+0x392 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1852b57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x2d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:517 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [2: 896] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1857bd0 0x1857ad5 0x1857abc 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857bcf github.com/lann/builder.Append+0x60f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1857ad4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x514 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857abb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:760 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0x110dba5 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x110dba4 github.com/lib/pq/scram.(*Client).saltPassword+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x5f8b32 0x5f8a45 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5f8b31 net.addrList.partition+0x831 net/ipsock.go:121 # 0x5f8a44 net.(*Dialer).DialContext+0x744 net/dial.go:573 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17c6dd4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6dd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17bbe26 0x17bbddf 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17bbe25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x525 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bbdde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:323 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x18172cf 0x181725b 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18172ce github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x181725a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:131 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x17bdf56 0x17bdf37 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdf55 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x4b5 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17bdf36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x496 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:593 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x69f974 0x69f944 0x69f837 0x5be6e2 0x5bea71 0x69f7d9 0x69f6d8 0x5be6e2 0x5bea71 0x69f614 0x69f5f3 0x5be6e2 0x5bea71 0x6990df 0x698fb4 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69f973 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x153 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69f943 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x123 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69f836 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1.1+0x16 crypto/tls/handshake_messages.go:113 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69f7d8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x198 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f6d7 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x97 crypto/tls/handshake_messages.go:112 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69f613 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f5f2 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6990de vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1fe vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x698fb3 crypto/tls.(*clientHelloMsg).marshalMsg+0xd3 crypto/tls/handshake_messages.go:109 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x64045c 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64045b crypto/x509.parseName+0x11b crypto/x509/parser.go:146 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 2304] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22afd6d 0x22af19e 0x26566ca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22afd6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToManageBot+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:370 # 0x22af19d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0x9d github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x26566c9 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1428 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x11197a5 0x111b3a9 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111b3a8 github.com/lib/pq.(*conn).auth+0xf48 github.com/lib/pq@v1.10.9/conn.go:1304 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x5275a6 0xc15017 0xbde0b8 0x25e4645 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc15016 github.com/mattermost/mattermost/server/public/model.Etag+0x196 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xbde0b7 github.com/mattermost/mattermost/server/public/model.(*PostList).Etag+0x1d7 github.com/mattermost/mattermost/server/public/model/post_list.go:181 # 0x25e4644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xac4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:749 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184f25c 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f25b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x48ed3d 0x48ec06 0x48e97c 0x748b65 0x775d1f 0x750c27 0x755918 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x748b64 net/http.newTextprotoReader+0x24 net/http/request.go:1039 # 0x775d1e net/http.readRequest+0x3e net/http/request.go:1080 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x173a4bf 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173a4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 480] @ 0x5474d6 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x17e173e 0x17e1671 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17e173d github.com/mattermost/squirrel.InsertBuilder.Columns+0x21d github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17e1670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1152] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5f214b 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x5f214a net.srcAddrs+0x2a net/addrselect.go:45 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1817d97 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:190 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dbd2d 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dbd2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3082 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0xc0e2a9 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x18501c5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18501c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:323 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x261da5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x261da5a github.com/mattermost/mattermost/server/v8/channels/api4.getOnboarding+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/system.go:1002 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x17c1db4 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1db3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:905 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x543d27 0x23a7365 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x23a7364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x204 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:560 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b08ff 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x266e128 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e127 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x287 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15fc 0x1872c19 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x498 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x17c4b55 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4b54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x1f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1187 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x17c6a8f 0x17c6a6e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6a8e github.com/mattermost/squirrel.SelectBuilder.From+0x2ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c6a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24269ff 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24269fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x19e github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:568 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0xb6f528 0xb6f217 0x48ea11 0xb6f358 0xb6f34c 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f527 github.com/vmihailenco/msgpack/v5.NewDecoder+0x27 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:85 # 0xb6f216 github.com/vmihailenco/msgpack/v5.init.func1+0x16 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:38 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xb6f357 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xb6f34b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x257787b 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x257787a github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x7fa github.com/mattermost/mattermost/server/v8/channels/api4/config.go:444 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x257787b 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x257787a github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x7fa github.com/mattermost/mattermost/server/v8/channels/api4/config.go:444 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x257787b 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x257787a github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x7fa github.com/mattermost/mattermost/server/v8/channels/api4/config.go:444 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 38912] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x257ae95 0x148e39d 0x148e434 0x148e226 0x1492e65 0x257ab0e 0x257aaf6 0x257ab01 0x257aad6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x257ae94 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:267 # 0x148e39c github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x13c github.com/mattermost/mattermost/server/v8/config/environment.go:115 # 0x148e433 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMapWithBaseKey+0x1d3 github.com/mattermost/mattermost/server/v8/config/environment.go:119 # 0x148e225 github.com/mattermost/mattermost/server/v8/config.generateEnvironmentMap+0x45 github.com/mattermost/mattermost/server/v8/config/environment.go:104 # 0x1492e64 github.com/mattermost/mattermost/server/v8/config.(*Store).GetEnvironmentOverridesWithFilter+0x24 github.com/mattermost/mattermost/server/v8/config/store.go:147 # 0x257ab0d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetEnvironmentOverridesWithFilter+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:136 # 0x257aaf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnvironmentConfig+0x55 github.com/mattermost/mattermost/server/v8/channels/app/config.go:36 # 0x257ab00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetEnvironmentConfig+0x60 github.com/mattermost/mattermost/server/v8/channels/app/config.go:239 # 0x257aad5 github.com/mattermost/mattermost/server/v8/channels/api4.getEnvironmentConfig+0x35 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:266 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x257787b 0x2578c95 0x1247fbd 0x1247ca5 0x12480e5 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x257787a github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x7fa github.com/mattermost/mattermost/server/v8/channels/api4/config.go:444 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x1247ca4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xf24 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:94 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x257787b 0x2578c95 0x1247fbd 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x257787a github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x7fa github.com/mattermost/mattermost/server/v8/channels/api4/config.go:444 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x257787b 0x2578c95 0x1247fbd 0x1247ca5 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x257787a github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x7fa github.com/mattermost/mattermost/server/v8/channels/api4/config.go:444 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x1247ca4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xf24 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:94 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22ad9db 0x25774a5 0x2578c95 0x1247fbd 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22ad9da github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToAny+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:41 # 0x25774a4 github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x424 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:429 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x2578c95 0x1247fbd 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x2578c95 0x1247fbd 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x2578c95 0x1247fbd 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25777af 0x2578c95 0x1247fbd 0x12480e5 0x1247b08 0x1496b5e 0x2578326 0x2578275 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25777ae github.com/mattermost/mattermost/server/v8/channels/api4.init.0.makeFilterConfigByPermission.func2+0x72e github.com/mattermost/mattermost/server/v8/channels/api4/config.go:435 # 0x2578c94 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:63 # 0x1247fbc github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x123c github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:74 # 0x12480e4 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0x1364 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:79 # 0x1247b07 github.com/mattermost/mattermost/server/v8/channels/utils.merge+0xd87 github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:100 # 0x1496b5d github.com/mattermost/mattermost/server/v8/channels/utils.Merge[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/utils/merge.go:45 # 0x2578325 github.com/mattermost/mattermost/server/v8/config.Merge+0x265 github.com/mattermost/mattermost/server/v8/config/utils.go:168 # 0x2578274 github.com/mattermost/mattermost/server/v8/channels/api4.getConfig+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:61 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 240] @ 0x22b27a7 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x22b27a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x46 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:174 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 8] @ 0x182e72d 0x1829ac9 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829ac8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x5275a6 0x16abafd 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16abafc github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x23c github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1728657 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728656 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d6 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 3072] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 9224192] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 3072] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 360448] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 360448] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 19456] @ 0x543d27 0x25fe4db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25fe4da github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x18696c9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18696c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:612 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539cff 0x8e2a72 0x8e29fe 0x24f83a5 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a71 strings.Split+0x151 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506c17 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506c16 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1b56 github.com/mattermost/mattermost/server/v8/channels/web/params.go:196 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x24f824a 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8249 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:151 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506fae 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506fad github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1eed github.com/mattermost/mattermost/server/v8/channels/web/params.go:222 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x49bd85 0x4a0e77 0x4a0e81 0x4d8dd2 0x4d8db1 0x4d8dba 0x4d8dae 0x4d89ec 0x11ec5e5 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4a0e76 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4a0e80 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4d8dd1 syscall.Stat+0x51 syscall/syscall_linux_amd64.go:61 # 0x4d8db0 os.statNolog.func1+0x30 os/stat_unix.go:32 # 0x4d8db9 os.ignoringEINTR+0x39 os/file_posix.go:251 # 0x4d8dad os.statNolog+0x2d os/stat_unix.go:31 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x11ec5e4 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x324 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:68 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x4ebcde 0x4ebd1d 0x2508a65 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x2508a64 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x39a4 github.com/mattermost/mattermost/server/v8/channels/web/params.go:302 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x539fb5 0x22af369 0x22af361 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af368 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:845 # 0x22af360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:272 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1024] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0005 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16aba6f 0x16ab6b5 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16aba6e github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1ae github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 48] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16abc67 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16b5c90 0x179cfed 0x179cfbe 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x179cfec github.com/mattermost/squirrel.StatementBuilderType.Update+0x10c github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x179cfbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:201 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e1cd 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 640] @ 0x22ceb95 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22ceb94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2312 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a99d5 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b15eb 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 64] @ 0x2716350 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x26cb806 0x26dd436 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x175b4aa 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x6e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:427 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2046e85 0x2029802 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1850595 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1850594 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xe74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:338 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18502a5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18502a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:320 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x539cff 0x24342f8 0x24342c6 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x24342f7 strings.Split+0x837 strings/strings.go:361 # 0x24342c5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x805 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:342 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x262a098 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x262a097 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMember+0x1b7 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:628 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5f05e5 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5f05e4 internal/singleflight.(*Group).DoChan+0x184 internal/singleflight/singleflight.go:81 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17357ff 0x1735746 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17357fe github.com/mattermost/squirrel.SelectBuilder.From+0x29e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1735745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2071 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x184e13d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e17c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3444 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17c53fb 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c53fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0xa9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1182 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x6311e5 0x6324d9 0x6324af 0x266e0b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e0b7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x217 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3433 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x203fc05 0x203fb97 0x20400ba 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x203fc04 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x20400b9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x339 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:223 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15eb 0x184e13d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0xc02138 0xc02139 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02137 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02138 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x184e15a 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184e159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x559 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x1736b31 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1736b30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2172 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x5569e5 0x546a45 0x5470aa 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5569e4 encoding/json.appendString[...]+0x144 encoding/json/encode.go:988 # 0x546a44 encoding/json.stringEncoder+0x3c4 encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1807752 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1807751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:215 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a99d5 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x2687cdd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2687cdc github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x71c github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:106 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1856147 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1856146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x106 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:702 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25e7aae 0x25e741f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25e7aad github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x1cd github.com/mattermost/mattermost/server/v8/channels/api4/post.go:984 # 0x25e741e github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x57e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:948 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238e674 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238e673 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10373 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:602 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x4125d4 0x6842de 0x76cf2e 0x76cf29 0x483fe1 # 0x6842dd crypto/tls.(*Conn).handshakeContext+0x17d crypto/tls/conn.go:1535 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1772bc7 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1772bc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184fde5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fde4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:301 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1e6f 0x17c5b76 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1e6e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x17c5b75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1260 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x17c501a 0x17c4ce3 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 5376] @ 0x11e9c77 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9c76 image/png.(*encoder).writeImage+0x436 image/png/writer.go:353 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461d32 0x4612a5 0x46159d 0x112a998 0x112a93f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112a997 github.com/lib/pq.ParseURL.func1+0x357 github.com/lib/pq@v1.10.9/url.go:46 # 0x112a93e github.com/lib/pq.ParseURL+0x2fe github.com/lib/pq@v1.10.9/url.go:55 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x266e17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e17c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3444 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2688] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x64045c 0x6465aa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64045b crypto/x509.parseName+0x11b crypto/x509/parser.go:146 # 0x6465a9 crypto/x509.parseCertificate+0x689 crypto/x509/parser.go:980 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 96] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x2400c7c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2488365 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2488364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1919 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x23a64b2 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x23a64b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x64f90f 0x64f90a 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64f90e crypto/x509.(*policyGraph).incrDepth+0x56e crypto/x509/verify.go:1390 # 0x64f909 crypto/x509.policiesValid+0x569 crypto/x509/verify.go:1457 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x58b4b3 0x5cd9fb 0x5c8508 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c8507 crypto/rsa.VerifyPSS+0x167 crypto/rsa/fips.go:156 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185a766 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185a765 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1062 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 8] @ 0x1f70035 0x22ae334 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f70034 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:290 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x17bdd96 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdd95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x2f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:588 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24326e5 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24326e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:214 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 10880] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16a53cd 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16a53cc github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1857709 0x18576b6 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857708 github.com/mattermost/squirrel.UpdateBuilder.Set+0x148 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18576b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:757 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x203fc05 0x203fb97 0x2041891 0x2046e85 0x2029802 0x483fe1 # 0x203fc04 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2041890 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0xa30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x2421bdd 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bdc github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x184ddf5 0x184ddad 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x10ce665 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203f68c 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203f68b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9ab github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17be3cf 0x17be311 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17be3ce github.com/mattermost/squirrel.SelectBuilder.From+0x92e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17be310 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x870 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:613 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408105 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 512] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x184fc7d 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc7c github.com/mattermost/squirrel.SelectBuilder.Join+0x55c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x112ae3f 0x112ad7f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112ae3e github.com/lib/pq.ParseURL.func1+0x7fe github.com/lib/pq@v1.10.9/url.go:46 # 0x112ad7e github.com/lib/pq.ParseURL+0x73e github.com/lib/pq@v1.10.9/url.go:66 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 240] @ 0x543d27 0xc1295d 0x545012 0x548e03 0x544613 0x5443d2 0x543cbe 0xc127df 0x7daf0a 0x7db59a 0x7dc125 0x7dc6ed 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc127de github.com/mattermost/mattermost/server/public/model.StringMap.Value+0x13e github.com/mattermost/mattermost/server/public/model/utils.go:168 # 0x7daf09 database/sql/driver.callValuerValue+0x129 database/sql/driver/types.go:238 # 0x7db599 database/sql/driver.defaultConverter.ConvertValue+0x659 database/sql/driver/types.go:248 # 0x7dc124 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7dc6ec database/sql.driverArgsConnLocked+0x56c database/sql/convert.go:179 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x12575bb 0x125c637 0x1829914 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 224] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b5c75 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5c74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae766 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0x2510448 0x25103db 0x25eebb8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2510447 github.com/mattermost/mattermost/server/public/model.MapToJSON+0x87 github.com/mattermost/mattermost/server/public/model/utils.go:458 # 0x25103da github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:108 # 0x25eebb7 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9b7 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:149 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 13568] @ 0x11df005 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11df004 image/jpeg.Decode+0x24 image/jpeg/reader.go:772 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1851357 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:404 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461e06 0x209f107 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209f106 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x46 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1002 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x185349f 0x18533e6 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185349e github.com/mattermost/squirrel.SelectBuilder.From+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18533e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x184e7db 0x184e781 0x184e777 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e7da github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x184e780 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x184e776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0xbfc4ba 0xbfc477 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3200] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x186d97c 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d97b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:937 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 896] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x186d90d 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x186d90c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x70c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:931 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x177292a 0x17727f2 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1772929 github.com/mattermost/squirrel.StatementBuilderType.Select+0x209 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17727f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:66 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0xc08b56 0xc08f97 0x24995dd 0x24a9c45 0x24a9b38 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08b55 github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x215 github.com/mattermost/mattermost/server/public/model/user.go:696 # 0xc08f96 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x116 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 21760] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x2335688 0x232c387 0x2029922 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x2335687 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0x307 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1510 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x12601a4 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x12601a3 github.com/jmoiron/sqlx.scanAll+0x8c3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:980 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69a8fd 0x69a79d 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0xc0e0c6 0xc0e0c7 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2629bd9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2629bd8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x278 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1858875 0x18587b1 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 2688] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0xc166bd 0xc16dfd 0x205229f 0x2051cd7 0x483fe1 # 0xc166bc github.com/mattermost/mattermost/server/public/model.(*WebsocketBroadcast).copy+0x3c github.com/mattermost/mattermost/server/public/model/websocket_message.go:154 # 0xc16dfc github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).WithoutBroadcastHooks+0xfc github.com/mattermost/mattermost/server/public/model/websocket_message.go:256 # 0x205229e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x59e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:686 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c5aca 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c5ac9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1257 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c2479 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25df0db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c2478 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:935 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25df0da github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xa3a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:249 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2417b2d 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2417b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2336 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1853819 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853818 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x4d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:570 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17bbcfc 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17bbcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:316 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x535245 0x535350 0x53a585 0x16b4987 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16b4986 github.com/mattermost/squirrel.(*updateData).ToSql+0x666 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x27330fc 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x27330fb crypto/internal/fips140/hkdf.Expand[...]+0x23b crypto/internal/fips140/hkdf/hkdf.go:44 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 768] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x26f951a 0x2717b54 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x26f9519 crypto/internal/fips140/nistec.NewP256Point+0x19 crypto/internal/fips140/nistec/p256_asm.go:49 # 0x2717b53 crypto/internal/fips140/ecdsa.randomPoint[...]+0x313 crypto/internal/fips140/ecdsa/ecdsa.go:250 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 2688] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x2371d7f 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371d7e github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xfe github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:54 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x125853b 0x125847b 0x1258c31 0x125a936 0x125b7e5 0x182cd6b 0x182cd44 0x17dc7a5 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125853a github.com/jmoiron/sqlx.bindArgs+0x5a github.com/jmoiron/sqlx@v1.4.0/named.go:174 # 0x125847a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x1258c30 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x182cd6a github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x182cd43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:363 # 0x17dc7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3162 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1858a3a 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x1858a39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:816 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1817d97 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:190 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184ecda 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184ecd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c788e 0x16ddb92 0x1ff4e4f 0x22b0646 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c788d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x16ddb91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8348 # 0x1ff4e4e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6661 # 0x22b0645 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186d3a5 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186d3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:913 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 64] @ 0x1b77187 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b77186 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x1c6 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:126 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x5d6ccd 0x5d6e13 0x5d6570 0x11affdb 0x768d82 0x767468 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x5d6ccc net/netip.parseIPv4Fields+0x2ec net/netip/netip.go:185 # 0x5d6e12 net/netip.parseIPv4+0x32 net/netip/netip.go:198 # 0x5d656f net/netip.ParseAddr+0x4f net/netip/netip.go:119 # 0x11affda github.com/mattermost/mattermost/server/public/shared/httpservice.getProxyFn.func1+0x3a github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:183 # 0x768d81 net/http.(*Transport).connectMethodForRequest+0x81 net/http/transport.go:978 # 0x767467 net/http.(*Transport).roundTrip+0xaa7 net/http/transport.go:675 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2654547 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2654546 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1251 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2654547 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2654546 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1251 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17ad9df 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17ad9de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x13e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:235 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x173704e 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x173704d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ad github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x16ae58f 0x16b4ae8 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79db07 0x79cfe5 0xc151f1 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x17c55be 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c55bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1240 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb02d 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb02c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1657 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x17b5c4d 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5c4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x38c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 1792] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [2: 491520] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 6127616] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1872bee 0x1872bff 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1872bed github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x46d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1872bfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x183ece5 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ece4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x104 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0xb71ecb 0xb7632a 0xb70cfe 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb70cfd github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x25d github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:450 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 4864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x24f12a7 0x25dd228 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f12a6 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x306 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x25dd227 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:86 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173a8b8 0x173a7c7 0x173a7c6 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a8b7 github.com/lann/builder.Append+0x777 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a7c6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x686 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a7c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x685 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2556 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2738070 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c9fbc 0x17c917c 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c9fbb github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xf5b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c917b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1578 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 480] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x23f8ec5 0x23f8e2f 0x23f8e1b 0x11ad826 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23f8ec4 net/textproto.MIMEHeader.Set+0x784 net/textproto/header.go:22 # 0x23f8e2e net/http.Header.Set+0x6ee net/http/header.go:40 # 0x23f8e1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x6da github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:93 # 0x11ad825 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:56 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x17e15f9 0x17e15de 0x17e15dd 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e15f8 github.com/mattermost/squirrel.InsertBuilder.Into+0xd8 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x17e15dd github.com/mattermost/squirrel.StatementBuilderType.Insert+0xbd github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x17e15dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:97 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x25dda2c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x25dda2b github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x9eb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:123 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16aac85 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x71843f 0x6fb8b9 0x6fb7c5 0x6fb0b2 0x6faef0 0x7177d2 0x712b16 0x7376fa 0x736b19 0x483fe1 # 0x71843e net/http.(*http2Framer).readMetaFrame.func1+0x2fe net/http/h2_bundle.go:3146 # 0x6fb8b8 vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x78 vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x6fb7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x464 vendor/golang.org/x/net/http2/hpack/hpack.go:396 # 0x6fb0b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x6faeef vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x12f vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x7177d1 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3184 # 0x712b15 net/http.(*http2Framer).ReadFrame+0x3b5 net/http/h2_bundle.go:2097 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16ae58f 0x16b4ae8 0x16b57dd 0x182c706 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b08ff 0x17c933d 0x17c9265 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c933c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2dc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c9264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1554 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x703385 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703384 net/http.send+0x9e4 net/http/client.go:295 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x17283e7 0x17283c6 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17283e6 github.com/mattermost/squirrel.SelectBuilder.From+0x166 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17283c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1119 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x11233a5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11233a4 github.com/lib/pq.NewConnector+0x644 github.com/lib/pq@v1.10.9/connector.go:119 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0xc166bd 0xc1709c 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc166bc github.com/mattermost/mattermost/server/public/model.(*WebsocketBroadcast).copy+0x3c github.com/mattermost/mattermost/server/public/model/websocket_message.go:154 # 0xc1709b github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x5b github.com/mattermost/mattermost/server/public/model/websocket_message.go:296 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17bbe26 0x17bbddf 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17bbe25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x525 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bbdde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:323 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0xc08447 0xc0830a 0xc08223 0x2371e28 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08446 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys-range1+0x86 github.com/mattermost/mattermost/server/public/model/user.go:616 # 0xc08309 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys.SplitSeq.splitSeq.func1+0x89 strings/iter.go:61 # 0xc08222 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys+0x122 github.com/mattermost/mattermost/server/public/model/user.go:609 # 0x2371e27 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:57 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79cff2 0xc151f1 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 73728] @ 0x6e06d8 0x6e0662 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x16561b4 0x1655d07 0x2460cde 0x264a651 0x264a636 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e06d7 compress/flate.(*compressor).initDeflate+0x557 compress/flate/deflate.go:372 # 0x6e0661 compress/flate.(*compressor).init+0x4e1 compress/flate/deflate.go:593 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x16561b3 github.com/mattermost/mattermost/server/v8/channels/app/users.createProfileImage+0x473 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:183 # 0x1655d06 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetDefaultProfileImage+0x86 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:101 # 0x2460cdd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetDefaultProfileImage+0x1d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1699 # 0x264a650 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDefaultProfileImage+0x150 github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x264a635 github.com/mattermost/mattermost/server/v8/channels/api4.getDefaultProfileImage+0x135 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:468 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x7d6770 0x11ad830 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7d676f net/http/httptest.(*ResponseRecorder).Result+0x32f net/http/httptest/recorder.go:188 # 0x11ad82f github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xef github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:59 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x2412b02 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x2412b01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration.func1+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1777 0: 0 [1: 24] @ 0x186f84c 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f84b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1126 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x55053d 0x543a07 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x543a06 encoding/json.unquote+0xa6 encoding/json/decode.go:1183 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6311e5 0x6324d9 0x6324af 0x253801e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x253801d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x3d github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xc13a09 0x24ac867 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x24ac866 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:20 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 224] @ 0x4125d4 0x114d637 0x114d61f 0x1197432 0x2047e43 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2047db8 0x2029802 0x483fe1 # 0x114d636 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x114d61e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:654 # 0x1197431 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:193 # 0x2047e42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func2.1+0x62 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:429 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2047db7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func2+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 704] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x65d817 0x271626f 0x65d785 0x6bf1be 0x697258 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x182ec98 0x182ec37 0x182ec36 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x182ec97 github.com/mattermost/squirrel.InsertBuilder.Into+0x117 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x182ec36 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x182ec35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:46 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 160] @ 0x51f7fb 0x1b792ca 0x1b792cb 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f7fa encoding/base64.(*Encoding).EncodeToString+0xba encoding/base64/base64.go:207 # 0x1b792c9 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b792ca github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3840] @ 0x12575bb 0x125c637 0x1829914 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1853855 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853854 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x514 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2615d9b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2615d9a github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x17a github.com/mattermost/mattermost/server/v8/channels/api4/system.go:493 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c727b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c727a github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xda github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2649885 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2649884 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x110cbf7 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x110cbf6 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.10.9/scram/scram.go:79 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x535689 0x535695 0xb12e6f 0xb0ef2f 0x2426530 0xb1350a 0xb13e02 0xb1348e 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535688 unicode/utf8.AppendRune+0x88 unicode/utf8/utf8.go:393 # 0x535694 strings.(*Builder).WriteRune+0x94 strings/builder.go:100 # 0xb12e6e github.com/mattermost/mattermost/server/public/shared/markdown.Unescape+0x2ae github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:675 # 0xb0ef2e github.com/mattermost/mattermost/server/public/shared/markdown.(*Autolink).Destination+0x4e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:95 # 0x242652f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages.func1+0x8f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:542 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13e01 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:100 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x184e7db 0x184e781 0x184e777 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e7da github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x184e780 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x184e776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0d85d 0xb0cdeb 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d85c github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).AddChild+0x7c github.com/mattermost/mattermost/server/public/shared/markdown/document.go:20 # 0xb0cdea github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x8ca github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0xbd75cd 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd75cc github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x6c github.com/mattermost/mattermost/server/public/model/post.go:356 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x17c8c6c 0x17c8c46 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c8c6b github.com/mattermost/squirrel.StatementBuilderType.Select+0xcb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c8c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0x547485 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x547484 encoding/json.mapEncoder.encode+0x204 encoding/json/encode.go:760 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x79cff2 0x10e0fd5 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 192] @ 0x1839736 0x1843d05 0x1843b8b 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1839735 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:187 # 0x1843d04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:205 # 0x1843b8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1137 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbb7bfe 0xbb7d25 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbb7bfd github.com/mattermost/mattermost/server/public/model.decodeIncomingWebhookRequest+0xdd github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:183 # 0xbb7d24 github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xc4 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2732f25 0x2738225 0x6befee 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16b0005 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x266136f 0x2661332 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x266136e github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x52e github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x2661331 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2373 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x8e2e70 0x8e2b2b 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x8e2e6f github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x2f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:292 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 2637824] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184faf2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184faf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x3d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:291 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x16aba6f 0x16ab6b5 0x16ac827 0x182c706 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x24a9ffb 0x2671385 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aba6e github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1ae github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x24a9ffa github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadFollowForUser+0xda github.com/mattermost/mattermost/server/v8/channels/app/user.go:2834 # 0x2671384 github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3615 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbf6a5f 0xbf6b23 0x2047b05 0x2046acf 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbf6a5e github.com/mattermost/mattermost/server/public/model.CopyStringMap+0xbe github.com/mattermost/mattermost/server/public/model/utils.go:451 # 0xbf6b22 github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x182 github.com/mattermost/mattermost/server/public/model/session.go:96 # 0x2047b04 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).SetSession+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:400 # 0x2046ace github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x88e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:264 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x543d27 0x24304ce 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x24304cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x4ad github.com/mattermost/mattermost/server/v8/channels/app/preference.go:71 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x65d817 0x27162be 0x65d785 0x6bf1be 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 8192] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x26e545a 0x6c7959 0x67b376 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 288] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x22e9850 0x256fedb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22e984f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x68f github.com/mattermost/mattermost/server/v8/channels/app/command.go:118 # 0x256feda github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/command.go:477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0xc468d0 0x24c573b 0x22e981d 0x256fedb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0xc468cf github.com/mattermost/mattermost/server/public/shared/request.(*Context).T+0x2f github.com/mattermost/mattermost/server/public/shared/request/context.go:64 # 0x24c573a github.com/mattermost/mattermost/server/v8/channels/app/slashcommands.(*ExpandProvider).GetCommand+0x5a github.com/mattermost/mattermost/server/v8/channels/app/slashcommands/command_expand_collapse.go:45 # 0x22e981c github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x65c github.com/mattermost/mattermost/server/v8/channels/app/command.go:117 # 0x256feda github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/command.go:477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x240bbda 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x240bbd9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:966 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd9da 0xbdd952 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd9d9 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x119 github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0xbdd951 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x91 github.com/mattermost/mattermost/server/public/model/post_list.go:146 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 90112] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 8970240] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 8970240] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 8970240] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x171db7f 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171db7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x21e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:125 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184451f 0x184448e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x184451e github.com/mattermost/squirrel.SelectBuilder.From+0x25e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184448d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1167 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0xbfc4ba 0xbfc477 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa71e 0x16aaa17 0x16b7859 0x16ae35d 0x16ae4b7 0x16a595d 0x16a61bd 0x17722e5 0x16cdfd2 0x1fe37ab 0x20be090 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa16 github.com/mattermost/squirrel.Lt.ToSql+0x16 github.com/mattermost/squirrel@v0.5.0/expr.go:352 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16a595c github.com/mattermost/squirrel.(*deleteData).ToSql+0x31c github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17722e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDesktopTokensStore).DeleteOlderThan+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/desktop_tokens_store.go:113 # 0x16cdfd1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDesktopTokensStore).DeleteOlderThan+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4265 # 0x1fe37aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDesktopTokensStore).DeleteOlderThan+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3496 # 0x20be08f github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens.MakeWorker.func2+0xcf github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens/worker.go:24 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 416] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x183a725 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183a724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x2737e87 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x2737e86 crypto/internal/fips140/tls13.deriveSecret[...]+0xa6 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 2304] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f1c5 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x944 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x461d32 0x4612a5 0x4614c5 0x1b791b3 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x1b791b2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xb2 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:74 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x461e06 0x209509b 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209509a github.com/getsentry/sentry-go.PropagationContextFromHeaders+0xba github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:66 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x56555e 0x565c8d 0x565c4f 0x182dde5 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182dde4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:440 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184f5b0 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:262 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x17c9fbc 0x17c917c 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c9fbb github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xf5b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c917b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1578 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x12578b9 0x125c637 0x1829914 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x17c5b6c 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c5b6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1259 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x565474 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 3997696] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3997696] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 3997696] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x12578b9 0x125c637 0x1829914 0x1833d09 0x243413b 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1833d08 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDbVersion+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:401 # 0x243413a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x67a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:337 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 9472] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x4f09aa 0x4f042d 0x22a8111 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4f09a9 strconv.formatBits+0x209 strconv/itoa.go:193 # 0x4f042c strconv.FormatInt+0x8c strconv/itoa.go:29 # 0x22a8110 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x50 github.com/mattermost/mattermost/server/v8/channels/app/app.go:126 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x18060e5 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18060e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:73 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0x461e06 0x4bac07 0x10e1f65 0x10e42d5 0x10e301b 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bac06 io.WriteString+0x66 io/io.go:318 # 0x10e1f64 gopkg.in/mail%2ev2.(*Message).SetBody.newCopier.func1+0x24 gopkg.in/mail.v2@v2.3.1/message.go:215 # 0x10e42d4 gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1f4 gopkg.in/mail.v2@v2.3.1/writeto.go:277 # 0x10e301a gopkg.in/mail%2ev2.(*messageWriter).writePart+0x23a gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x10e64c5 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e64c4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x664 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:303 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 960] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1725573 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25370c5 0x2537099 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1725572 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:885 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25370c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x84 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2537098 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x58 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:626 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x60ff5c 0x60ffc4 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x60ff5b net.withUnexpiredValuesPreserved+0x17b net/lookup.go:299 # 0x60ffc3 net.(*Resolver).lookupIPAddr+0x1e3 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x176b06c 0x16ccd5b 0x1fe23bd 0x245a7da 0x2459df7 0xbf187e 0x483fe1 # 0x176b06b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x18b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:126 # 0x16ccd5a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3978 # 0x1fe23bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3258 # 0x245a7d9 github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x39 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1222 # 0x2459df6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1150 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb165f4 0xb0d685 0xb15b8f 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165f3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:69 # 0xb0d684 github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x84 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:150 # 0xb15b8e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b1c74 0x18696c9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b1c73 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18696c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:612 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0xaeb429 0xaeb281 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeb428 encoding/gob.(*encBuffer).WriteString+0x588 encoding/gob/encode.go:60 # 0xaeb280 encoding/gob.(*Encoder).encodeInterface+0x3e0 encoding/gob/encode.go:409 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 48] @ 0x61d0c5 0x619dbb 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x61d0c4 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x619dba net.(*netFD).dial+0x57a net/sock_posix.go:141 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x111c9b6 0x111c945 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111c9b5 github.com/lib/pq.(*writeBuf).next+0x695 github.com/lib/pq@v1.10.9/buf.go:90 # 0x111c944 github.com/lib/pq.(*stmt).exec+0x624 github.com/lib/pq@v1.10.9/conn.go:1459 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2304] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x461d32 0x4612a5 0x4614c5 0x250fa65 0x250d7a5 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250fa64 github.com/mattermost/mattermost/server/v8/channels/web.Handle404+0x504 github.com/mattermost/mattermost/server/v8/channels/web/web.go:67 # 0x250d7a4 github.com/mattermost/mattermost/server/v8/channels/web.root+0xb04 github.com/mattermost/mattermost/server/v8/channels/web/static.go:77 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aad15 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16b15eb 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x175b2e9 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x175b2e8 github.com/mattermost/squirrel.SelectBuilder.From+0x528 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x18533e5 0x18533c3 0x18533a8 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18533e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18533c2 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x18533a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x543d27 0x25fe4db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25fe4da github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184de25 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184de24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:132 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17e553e 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17e553d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:56 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x6fbe48 0x6fb689 0x6fb0b2 0x6faef0 0x7177d2 0x712b16 0x7376fa 0x736b19 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x6fbe47 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0x47 vendor/golang.org/x/net/http2/hpack/hpack.go:513 # 0x6fb688 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x328 vendor/golang.org/x/net/http2/hpack/hpack.go:381 # 0x6fb0b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x6faeef vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x12f vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x7177d1 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3184 # 0x712b15 net/http.(*http2Framer).ReadFrame+0x3b5 net/http/h2_bundle.go:2097 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [2: 32] @ 0x16b08ff 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b08ff 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b080f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x17c68be 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c68bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x79cff2 0xc151d0 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0xc151cf github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:720 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17bbb75 0x17bbae6 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17bbb74 github.com/mattermost/squirrel.SelectBuilder.From+0x274 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bbae5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:314 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0xbd7585 0xbd7574 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd7584 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbd7573 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x13 github.com/mattermost/mattermost/server/public/model/post.go:353 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb15aee 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15aed github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x38d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:214 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x184fde5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fde4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:301 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x184ecbd 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ecbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:207 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x64584c 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64584b crypto/x509.processExtensions+0x17cb crypto/x509/parser.go:746 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 10752] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173adb9 0x173acb2 0x173aca3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173adb8 github.com/lann/builder.Append+0xc78 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173acb1 github.com/mattermost/squirrel.UpdateBuilder.Set+0xb71 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173aca2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xb62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2559 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2404fb3 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2404fb2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x812 github.com/mattermost/mattermost/server/v8/channels/app/post.go:571 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173aa65 0x173a95d 0x173a94e 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173aa64 github.com/lann/builder.Append+0x924 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a95c github.com/mattermost/squirrel.UpdateBuilder.Set+0x81c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a94d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x80d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2557 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f9b5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:283 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b0a7c 0x184fba5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x461d32 0x4612a5 0x46140a 0x17c6876 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17f26bf 0x17f2606 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17f26be github.com/mattermost/squirrel.SelectBuilder.From+0x27e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17f2605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x2401775 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2401774 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1d74 github.com/mattermost/mattermost/server/v8/channels/app/post.go:390 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb18fbd 0xc13c73 0xbd8d85 0x17b935a 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0xbd8d84 github.com/mattermost/mattermost/server/public/model.(*Post).PreSave+0x24 github.com/mattermost/mattermost/server/public/model/post.go:592 # 0x17b9359 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x3f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:159 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x1853407 0x18533e6 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853406 github.com/mattermost/squirrel.SelectBuilder.From+0xc6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18533e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0xc0df17 0xc0df18 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0df16 github.com/tinylib/msgp/msgp.ReadStringBytes+0x6d6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0df17 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x6d7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:570 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x703aaa 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x703aa9 net/http.setRequestCancel+0x289 net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184fc7d 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc7c github.com/mattermost/squirrel.SelectBuilder.Join+0x55c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x1258891 0x1258892 0x12551dd 0x1258717 0x125847b 0x1258c31 0x125a936 0x125b7e5 0x182cd6b 0x182cd44 0x17f61de 0x17f1df3 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x1258890 reflect.Value.Interface+0xf0 reflect/value.go:1484 # 0x1258891 github.com/jmoiron/sqlx.bindArgs.func1+0xf1 github.com/jmoiron/sqlx@v1.4.0/named.go:188 # 0x12551dc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByNameFunc+0xfc github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:195 # 0x1258716 github.com/jmoiron/sqlx.bindArgs+0x236 github.com/jmoiron/sqlx@v1.4.0/named.go:182 # 0x125847a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x1258c30 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x182cd6a github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x182cd43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:363 # 0x17f61dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).saveReactionAndUpdatePost+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:370 # 0x17f1df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:53 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x12578b9 0x125c637 0x1829914 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x1858725 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1858724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:803 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69f7d9 0x69f6d8 0x5be6e2 0x5bea71 0x69f614 0x69f5f3 0x5be6e2 0x5bea71 0x6990df 0x698fb4 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69f7d8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x198 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f6d7 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x97 crypto/tls/handshake_messages.go:112 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69f613 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f5f2 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6990de vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1fe vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x698fb3 crypto/tls.(*clientHelloMsg).marshalMsg+0xd3 crypto/tls/handshake_messages.go:109 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x238a8fe 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x238a8fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc5fd github.com/mattermost/mattermost/server/v8/channels/app/notification.go:755 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x18561f1 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18561f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x1b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:702 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x543d27 0x23a64b2 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x23a64b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 6144] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x122358f 0x12246d1 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122358e github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2ae github.com/yuin/goldmark@v1.7.13/parser/parser.go:768 # 0x12246d0 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:844 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [5: 13440] @ 0x682037 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184fc7d 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc7c github.com/mattermost/squirrel.SelectBuilder.Join+0x55c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x17b058c 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b058b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1853cb7 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x18536ec 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b003e 0x17affc8 0x16df59a 0x1ff6ca6 0x241d97e 0x2422f3e 0x2423287 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b003d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x45d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17affc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x3e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:132 # 0x16df599 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8795 # 0x1ff6ca5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7012 # 0x241d97d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x2422f3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xafd github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:157 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17b003e 0x17affc8 0x16df59a 0x1ff6ca6 0x241d97e 0x2422f3e 0x2423287 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b003d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x45d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17affc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x3e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:132 # 0x16df599 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8795 # 0x1ff6ca5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7012 # 0x241d97d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x2422f3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xafd github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:157 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1853c51 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1853c50 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x910 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x10e6bf7 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e6bf6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0xd96 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:334 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18536ec 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x461d32 0x4612a5 0x4614c5 0x6ce5fe 0x10d49c8 0x10d4b85 0x10d46ca 0x10d4833 0x10e512e 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6ce5fd net/textproto.(*Reader).ReadResponse+0x13d net/textproto/reader.go:303 # 0x10d49c7 net/smtp.(*Client).cmd+0x127 net/smtp/smtp.go:117 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d46c9 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x10d4832 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x10e512d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:183 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x4125d4 0x76b558 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x76b557 net/http.(*Transport).getConn+0x217 net/http/transport.go:1504 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1817cee 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817ced github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x182c734 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x6406bf 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6406be crypto/x509.parseName+0x37e crypto/x509/parser.go:143 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c1c2a 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1c29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x243575c 0x243572a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x243575b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x27b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2435729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x249 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:47 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17be310 0x17be2e1 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17be30f github.com/mattermost/squirrel.StatementBuilderType.Select+0x86f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17be2e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x840 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:612 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x12575bb 0x125cf77 0x182c26f 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173ec91 0x173eb8e 0x173eb77 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173ec90 github.com/lann/builder.Append+0x830 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173eb8d github.com/mattermost/squirrel.UpdateBuilder.Set+0x72d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173eb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x716 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2810 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0814f 0x2371e28 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0814e github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys+0x4e github.com/mattermost/mattermost/server/public/model/user.go:609 # 0x2371e27 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:57 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x5275a6 0x16aae05 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x5474d6 0x5470aa 0x544613 0x5443d2 0x54eb70 0xc178ff 0x2048b50 0x2047f27 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xc178fe github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xbe github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x18503f0 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18503ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:330 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x535245 0x535350 0x53a585 0x1f7bde5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x1f7bde4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:119 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1791e09 0x1791d4d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1791e08 github.com/mattermost/squirrel.SelectBuilder.From+0x288 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1791d4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1476 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x5647d5 0x5654cb 0x5f84bd 0x5f848a 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5647d4 context.(*cancelCtx).propagateCancel+0x74 context/context.go:469 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5f84bc context.WithDeadline+0x1bc context/context.go:617 # 0x5f8489 net.(*Dialer).DialContext+0x189 net/dial.go:533 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 1280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1856328 0x18562cf 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1856327 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2e7 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18562ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:704 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x24f12a7 0x266f16b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f12a6 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x306 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x266f16a github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3489 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x64d4ad 0x64dbc6 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64d4ac crypto/x509.alreadyInChain+0xac crypto/x509/verify.go:919 # 0x64dbc5 crypto/x509.(*Certificate).buildChains.func1+0xc5 crypto/x509/verify.go:965 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25e425d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e425c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x6dc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:702 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [2: 16384] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x173a34f 0x173a291 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x173a34e github.com/mattermost/squirrel.SelectBuilder.From+0x20e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x173a290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2546 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x4bb4e3 0x4bb250 0x4bb036 0x11992d2 0x113e77f 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4bb035 io.CopyBuffer+0x35 io/io.go:402 # 0x11992d1 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2d1 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x4bb4e3 0x4bb250 0x4bb036 0x11992d2 0x113e77f 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4bb035 io.CopyBuffer+0x35 io/io.go:402 # 0x11992d1 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2d1 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [1: 96] @ 0x2716257 0x27161f3 0x271591f 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x27161f2 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:57 # 0x271591e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:169 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1122d92 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1122d91 github.com/lib/pq.NewConnector+0x31 github.com/lib/pq@v1.10.9/connector.go:49 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817d97 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:190 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b48bf 0x16b57dd 0x182a286 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b48be github.com/mattermost/squirrel.(*updateData).ToSql+0x59e github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x7e4ffc 0x7e4f76 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e4ffb database/sql.(*DB).addDepLocked+0xadb database/sql/sql.go:756 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x12578b9 0x125c637 0x182b7ac 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x10e6045 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e6044 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1e4 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:293 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 640] @ 0x747dd3 0x23a6633 0x23a65fd 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x747dd2 net/http.NewRequestWithContext+0x232 net/http/request.go:912 # 0x23a6632 net/http.NewRequest+0x1d2 net/http/request.go:863 # 0x23a65fc github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x19c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x17bc587 0x17bc4f7 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x17bc586 github.com/mattermost/squirrel.InsertBuilder.Columns+0x546 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17bc4f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x4b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:399 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x175b6a8 0x175b687 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b6a7 github.com/mattermost/squirrel.SelectBuilder.From+0x8e7 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x266e7cd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e7cc github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x92c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3465 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6447104] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 6447104] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 6447104] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x6e7af1 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7af0 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 7520256] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0xb71ecb 0xb7632a 0xb70cfe 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb70cfd github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x25d github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:450 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x543d27 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c7392 0x17c7335 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c7391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x291 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c7334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1393 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa66c 0x16aaada 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16aa66b github.com/mattermost/squirrel.Lt.toSql+0x3ab github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0a05 0x16b09d3 0x184ffd2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184ffd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0xbc158a 0x17a2885 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1589 github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x189 github.com/mattermost/mattermost/server/public/model/link_metadata.go:162 # 0x17a2884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:93 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5e26bf 0x5d3113 0x425df9 0x483fe1 # 0x5e26be unique.addUniqueMap[...].func1+0x3e unique/handle.go:134 # 0x5d3112 unique.registerCleanup.func1+0xd2 unique/handle.go:162 # 0x425df8 runtime.unique_runtime_registerUniqueMapCleanup.func2+0x38 runtime/mgc.go:1798 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x17e195f 0x17e189c 0x17e1773 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17e195e github.com/lann/builder.Append+0x43e github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x17e189b github.com/mattermost/squirrel.InsertBuilder.Values+0x37b github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x17e1772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:99 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408f2e 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e825 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e824 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x984 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3466 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x184ddf5 0x184ddad 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17bdf0f 0x17bde51 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17bdf0e github.com/mattermost/squirrel.SelectBuilder.From+0x46e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bde50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:592 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x5275a6 0x16b1c59 0x17bef0d 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b1c58 github.com/mattermost/squirrel.SelectBuilder.Limit+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17bef0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x146c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:676 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x184f073 0x184efba 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x184f072 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184efb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x173e95a 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173e959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2809 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x79d3e5 0x79d8a3 0x79d2cb 0x1829e25 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d3e4 regexp.(*Regexp).ReplaceAllStringFunc.func1+0xc4 regexp/regexp.go:598 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1791d85 0x1791d4e 0x1791d4d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1791d84 github.com/mattermost/squirrel.newPart+0x204 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1791d4d github.com/mattermost/squirrel.SelectBuilder.From+0x1cd github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1791d4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1476 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1791fcd 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1791fcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1479 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x60fedd 0x60f6a9 0x60f67b 0x11b03ad 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x60fedc net.(*Resolver).lookupIPAddr+0xfc net/lookup.go:319 # 0x60f6a8 net.(*Resolver).LookupIPAddr+0x48 net/lookup.go:220 # 0x60f67a net.LookupIP+0x1a net/lookup.go:206 # 0x11b03ac github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0xcc github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:135 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 112] @ 0x56458a 0x610143 0x60dc45 0x5f77c5 0x5f8708 0x10e4e57 0x10e4e2d 0x10e5a3f 0x10e5a3a 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x610142 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:343 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x10e4e56 net.(*Dialer).Dial+0x196 net/dial.go:504 # 0x10e4e2c github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServerAdvanced+0x16c github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:143 # 0x10e5a3e github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServer+0x3e github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:153 # 0x10e5a39 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x39 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:268 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 320] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173a687 0x173a592 0x173a591 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a686 github.com/lann/builder.Append+0x546 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a591 github.com/mattermost/squirrel.UpdateBuilder.Set+0x451 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x450 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2554 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b5c50 0x18576a5 0x1857671 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b5c4f github.com/mattermost/squirrel.UpdateBuilder.Table+0x10f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x18576a4 github.com/mattermost/squirrel.StatementBuilderType.Update+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1857670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:756 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67d28f 0x6818f1 0x6818f2 0x681979 0x68d1db 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67d28e crypto/tls.(*Conn).readRecordOrCCS+0x3ce crypto/tls/conn.go:629 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x68d1da crypto/tls.(*Conn).clientHandshake+0x4fa crypto/tls/handshake_client.go:340 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae271 0x16ae35d 0x16a4cf7 0x16a4f9d 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16a4cf6 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x16a4f9c github.com/mattermost/squirrel.(*caseData).ToSql+0x13c github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 540672] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 540672] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 540672] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 98304] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x173707b 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x173707a github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2da github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 64] @ 0xadd9e8 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd9e7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x174187c 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x174187b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3002 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x2401775 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2401774 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1d74 github.com/mattermost/mattermost/server/v8/channels/app/post.go:390 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acef1 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acef0 github.com/mattermost/mattermost/server/v8/channels/app.(*addFollowersBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:65 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x18541f0 0x18542ae 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18541ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0xeaf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:45 # 0x18542ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xf6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:616 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x56555e 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1792151 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1792150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x172042c 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x172042b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x36b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:451 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x2737f09 0x695a12 0x6958a8 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695a11 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x3f1 crypto/internal/fips140/tls13/tls13.go:106 # 0x6958a7 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x287 crypto/tls/handshake_client_tls13.go:516 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x10e7005 0x10e6f60 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e7004 gopkg.in/mail%2ev2.(*Message).SetDateHeader+0x11a4 gopkg.in/mail.v2@v2.3.1/message.go:178 # 0x10e6f5f github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x10ff github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:347 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 288] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x259f8c7 0x259f82b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x259f8c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0xec6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x259f82a github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xe2a github.com/mattermost/mattermost/server/v8/channels/api4/file.go:574 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b499a 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4999 github.com/mattermost/squirrel.(*updateData).ToSql+0x679 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16b4d8e 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 57344] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2688] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 2244608] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2244608] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 2244608] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x173b206 0x173b1a7 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173b205 github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x10c5 github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x173b1a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1066 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79db07 0x79cfe5 0xc151d0 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151cf github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:720 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 507904] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7905c5 0x7900ea 0x78d194 0x79b850 0x79b84b 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7905c4 regexp/syntax.appendRange+0xa4 regexp/syntax/parse.go:1906 # 0x7900e9 regexp/syntax.(*parser).parseClass+0x449 regexp/syntax/parse.go:1810 # 0x78d193 regexp/syntax.parse+0xa13 regexp/syntax/parse.go:973 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x183806d 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x183806c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:68 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16b15fc 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x204ea5d 0x204eb0f 0x2687dbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204ea5c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Register+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:367 # 0x204eb0e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).HubRegister+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:178 # 0x2687dbd github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7fd github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1851e25 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0xb759be 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xb759bd github.com/vmihailenco/msgpack/v5.growSliceValue+0xbd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x20404d1 0x2046ec5 0x2029802 0x483fe1 # 0x20404d0 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x5275a6 0x16aa6cd 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aa6cc github.com/mattermost/squirrel.Lt.toSql+0x40c github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184dcd7 0x184dcb1 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1816af8 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x2053c30 0x2053d8d 0x20525db 0x2051cd7 0x483fe1 # 0x1816af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:93 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x2053c2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1-range6+0x2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:724 # 0x2053d8c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6c maps/iter.go:28 # 0x20525da github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 160] @ 0x2039b65 0x2039aed 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2039b64 github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:22 # 0x2039aec github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x6c github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:58 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 768] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x18533e5 0x18533c3 0x18533a8 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18533e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18533c2 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x18533a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x681e9e 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x681e9d crypto/tls.(*Conn).unmarshalHandshakeMessage+0x15d crypto/tls/conn.go:1134 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x173b0b8 0x173afa6 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173b0b7 github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xf77 github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x173afa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xe65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2561 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x7d627d 0x7d60a3 0x11986ee 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7d627c net/http.Header.Clone+0x25c net/http/header.go:114 # 0x7d60a2 net/http/httptest.(*ResponseRecorder).WriteHeader+0x82 net/http/httptest/recorder.go:154 # 0x11986ed github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b15fc 0x17e1e8c 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e1e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:118 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5898240] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186eaaa 0x16f621e 0x2010d69 0x2396448 0x2395c67 0x23917ea 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2396447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).filterOutOfChannelMentions+0x487 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1225 # 0x2395c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendOutOfChannelMentions+0x46 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1167 # 0x23917e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func6+0x69 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:201 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c9fbc 0x17c917c 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c9fbb github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xf5b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c917b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1578 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x1857d28 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857d27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x767 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:761 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173b285 0x173b1d3 0x173b1a7 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173b284 github.com/lann/builder.Append+0x1144 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173b1d2 github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x1092 github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x173b1a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1066 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17927e9 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17927e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xc68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1546 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x251040f 0x25eebb8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x251040e github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x4e github.com/mattermost/mattermost/server/v8/channels/web/web.go:107 # 0x25eebb7 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9b7 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:149 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b5c75 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5c74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1772c5f 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1772c5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x53e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:75 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x461d32 0x4612a5 0x46140a 0x184e930 0x184e911 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x184e92f github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x20f github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x25dd989 0x25dd94a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x25dd988 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x948 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x25dd949 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x909 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:120 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x25178b5 0x2517883 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25178b4 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x2f4 github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x2517882 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x2c2 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x1f7f3c6 0x22d6e30 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0x2510465 0x2592589 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2510464 github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0xa4 github.com/mattermost/mattermost/server/v8/channels/web/web.go:108 # 0x2592588 github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x168 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:126 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3072000] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 4374528] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 6234112] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x27156c6 0x2716045 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x27156c5 crypto/internal/fips140/ecdsa.pad000+0x65 crypto/internal/fips140/ecdsa/hmacdrbg.go:131 # 0x2716044 crypto/internal/fips140/ecdsa.newDRBG[...]+0x604 crypto/internal/fips140/ecdsa/hmacdrbg.go:103 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 49152] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 21692416] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 21692416] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e13d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eaa2b 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eaa2a database/sql.(*Tx).ExecContext+0x4a database/sql/sql.go:2512 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 21760] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 5079040] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x16b07a8 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x18577c5 0x18576d2 0x18576b6 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18577c4 github.com/lann/builder.Append+0x204 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18576d1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x111 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18576b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:757 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x8fde79 0x8fec25 0x8fec16 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fde78 golang.org/x/net/html.NewTokenizerFragment+0x38 golang.org/x/net@v0.46.0/html/token.go:1277 # 0x8fec24 golang.org/x/net/html.NewTokenizer+0x44 golang.org/x/net@v0.46.0/html/token.go:1263 # 0x8fec15 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x35 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:67 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x240bc10 0x240bbef 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x240bc0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x240bbee github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x6e github.com/mattermost/mattermost/server/v8/channels/app/post.go:971 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2388e9b 0x238887f 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2388e9a github.com/mattermost/mattermost/server/v8/channels/app.usePostedAckHook+0xab9a github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:81 # 0x238887e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa57e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:714 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 10752] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 448] @ 0x2385006 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2385005 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x6d05 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:511 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x12553aa 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x1f6edcb 0x204ed5a 0x2404e45 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6edca github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.InvalidateChannelByName+0x18a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:153 # 0x204ed59 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForChannel+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:201 # 0x2404e44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x6a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:560 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25e3fca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3fc9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:686 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1791fcd 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1791fcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1479 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x26d6fc6 0x26dd436 0x271579a 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x26d6fc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:133 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x2715799 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x79 crypto/internal/fips140/ecdsa/hmacdrbg.go:152 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17be19e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17be19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x6fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x122358f 0x12246d1 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122358e github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2ae github.com/yuin/goldmark@v1.7.13/parser/parser.go:768 # 0x12246d0 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:844 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 480] @ 0x543d27 0x252239c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x252239b github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x11b github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:28 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x1875b25 0x187e2fe 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1875b24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1656 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x18503f0 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18503ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:330 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xb0fd13 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x185779b 0x18576d2 0x18576b6 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185779a github.com/lann/builder.Append+0x1da github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18576d1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x111 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18576b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:757 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179208f 0x1791fee 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179208e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x50e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1791fed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1480 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x259ee65 0x259ee3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x259ee64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x464 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x259ee3e github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x43e github.com/mattermost/mattermost/server/v8/channels/api4/file.go:529 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x17927e9 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17927e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xc68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1546 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xbd75cd 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd75cc github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x6c github.com/mattermost/mattermost/server/public/model/post.go:356 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3072] @ 0x682037 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x2715aab 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2715aaa crypto/internal/fips140/ecdsa.newDRBG[...]+0x6a crypto/internal/fips140/ecdsa/hmacdrbg.go:55 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x1857b05 0x1857abc 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857b04 github.com/mattermost/squirrel.UpdateBuilder.Set+0x544 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857abb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:760 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 163840] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x230d707 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x230d706 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:25 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x461d32 0x4612a5 0x46140a 0x1f795f9 0x2404f08 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f795f8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.InvalidateLastPostTimeCache+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:64 # 0x2404f07 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x767 github.com/mattermost/mattermost/server/v8/channels/app/post.go:564 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1791ff9 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1791ff8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x478 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1480 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17e1a58 0x17e1994 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e1a57 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x537 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x17e1993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 753664] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 144] @ 0x2422505 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422504 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:123 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x17bf1e5 0x17bf186 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bf1e4 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x1744 github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17bf185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x16e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:704 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x183a747 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183a746 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0xa6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1857629 0x18575f8 0x18575f6 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857628 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x68 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18575f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x18575f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:755 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e9c5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x184e9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 224] @ 0x11f3452 0x1224445 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x11f3451 github.com/yuin/goldmark/text.NewBlockReader+0x31 github.com/yuin/goldmark@v1.7.13/text/reader.go:323 # 0x1224444 github.com/yuin/goldmark/parser.(*parser).Parse+0x164 github.com/yuin/goldmark@v1.7.13/parser/parser.go:878 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x7039be 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7039bd net/http.setRequestCancel+0x19d net/http/client.go:376 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25a01e7 0x25a014e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a01e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a014d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:618 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 729088] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 729088] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 729088] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x41c9ac 0x41c98e 0x47a145 0xc17075 0xc17058 0x2045d45 0x2045d39 0x2045d22 0x24acef1 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0xc17074 maps.Clone[...]+0x34 maps/maps.go:55 # 0xc17057 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:295 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acef0 github.com/mattermost/mattermost/server/v8/channels/app.(*addFollowersBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:65 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3072] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1831138 0x1831042 0x1831030 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1831137 github.com/lann/builder.Append+0x217 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1831041 github.com/mattermost/squirrel.UpdateBuilder.Set+0x121 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183102f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x10f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:165 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184f51a 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x659 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:251 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 2112] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16a526f 0x16a5263 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a526e github.com/mattermost/squirrel.newPart+0x4e github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16a5262 github.com/mattermost/squirrel.newWhenPart+0x42 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b499a 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4999 github.com/mattermost/squirrel.(*updateData).ToSql+0x679 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x79db07 0x79cfe5 0xc151f1 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2738070 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1853b38 0x1853ab4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1853b37 github.com/mattermost/squirrel.CaseBuilder.Else+0x7f7 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1853ab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x773 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:580 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18589b7 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18589b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x2f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:815 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x79cff2 0x10df6ab 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0x10df6aa github.com/jaytaylor/html2text.FromHTMLNode+0x12a github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:81 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eabf1 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dbd2d 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eabf0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dbd2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3082 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184e8d3 0x184e81a 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e8d2 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 3584] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd9da 0xbdd952 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd9d9 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x119 github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0xbdd951 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x91 github.com/mattermost/mattermost/server/public/model/post_list.go:146 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114d1ca 0x114d17f 0x1197332 0x2046e03 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046d89 0x2029802 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114d1c9 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x114d17e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketConnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:620 # 0x1197331 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketConnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:187 # 0x2046e02 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func2.1+0x62 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:277 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046d88 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func2+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:276 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 480] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x63ca94 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x63ca93 crypto/x509.(*CertPool).addCertFunc+0x133 crypto/x509/cert_pool.go:204 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x74f8e5 0x764474 0x7641df 0x4bb7ee 0x748e5f 0x54ea48 0x54e645 0x54e315 0x2543534 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74f8e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:686 # 0x764473 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7641de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4bb7ed io.(*teeReader).Read+0x2d io/io.go:628 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2543533 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 320] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f6f566 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6f565 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:227 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x49bad5 0x607f9f 0x6072b9 0x11afb17 0x11b0bf8 0x11b0503 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x49bad4 syscall.ParseNetlinkRouteAttr+0x1f4 syscall/netlink_linux.go:176 # 0x607f9e net.interfaceTable+0x21e net/interface_linux.go:34 # 0x6072b8 net.Interfaces+0x18 net/interface.go:114 # 0x11afb16 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0x36 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:42 # 0x11b0bf7 github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0xb7 github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x11b0502 github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x222 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:154 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb23e 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb23d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1667 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15fc 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17e1ddf 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e1dde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:117 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25a0105 0x25a00de 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25a0104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x264 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25a00dd github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x23d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:613 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x4d4f2f 0x4d527d 0x4d2fbe 0x1643fa5 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d4f2e os.newFile+0x4e os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x1643fa4 os.Open+0x64 os/file.go:370 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x2059533 0x23be374 0x24280d9 0x2427572 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2059532 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x23be373 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:152 # 0x24280d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5b8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:736 # 0x2427571 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x331 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:658 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbc15cc 0x17a2885 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbc15cb github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x1cb github.com/mattermost/mattermost/server/public/model/link_metadata.go:164 # 0x17a2884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:93 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 327680] @ 0x1a09eb8 0x1a18b2a 0x1a086ca 0x1a089c8 0x1a915f6 0x1a915d1 0x24e2c65 0x2508bf1 0x54ec8d 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a09eb7 github.com/klauspost/compress/flate.(*fastGen).addBlock+0xf7 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:86 # 0x1a18b29 github.com/klauspost/compress/flate.(*fastEncL5).Encode+0x89 github.com/klauspost/compress@v1.18.0/flate/level5.go:62 # 0x1a086c9 github.com/klauspost/compress/flate.(*compressor).storeFast+0x169 github.com/klauspost/compress@v1.18.0/flate/deflate.go:758 # 0x1a089c7 github.com/klauspost/compress/flate.(*compressor).write+0x87 github.com/klauspost/compress@v1.18.0/flate/deflate.go:783 # 0x1a915f5 github.com/klauspost/compress/flate.(*Writer).Write+0x375 github.com/klauspost/compress@v1.18.0/flate/deflate.go:971 # 0x1a915d0 github.com/klauspost/compress/gzip.(*Writer).Write+0x350 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:233 # 0x24e2c64 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:151 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb15ca6 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15ca5 github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x545 github.com/mattermost/mattermost/server/public/shared/markdown/list.go:217 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1736f89 0x1736ecd 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1736f88 github.com/mattermost/squirrel.SelectBuilder.From+0x1e8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1736ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2230 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 128] @ 0x16ae58f 0x16b4ae8 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x673fd4 0x696e94 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x673fd3 crypto/tls.signedMessage+0x33 crypto/tls/auth.go:90 # 0x696e93 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x513 crypto/tls/handshake_client_tls13.go:689 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x265f828 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x265f827 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2237 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x703aaa 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703aa9 net/http.setRequestCancel+0x289 net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x239e07b 0x2390630 0x2029802 0x483fe1 # 0x239e07a github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xdba github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:257 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x50636a 0x504939 0x879ae6 0x875226 0x873a1f 0x8729d2 0x8723c5 0x870265 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x506369 reflect.Value.call+0x17e9 reflect/value.go:456 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0x879ae5 text/template.safeCall+0x85 text/template/funcs.go:375 # 0x875225 text/template.(*state).evalCall+0xaa5 text/template/exec.go:870 # 0x873a1e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x8729d1 text/template.(*state).evalCommand+0x1d1 text/template/exec.go:563 # 0x8723c4 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x870264 text/template.(*state).walk+0x124 text/template/exec.go:267 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17e1e8c 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e1e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:118 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 11878400] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x184ffd2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184ffd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x16b15fc 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16b5c90 0x173a590 0x173a561 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x173a58f github.com/mattermost/squirrel.StatementBuilderType.Update+0x44f github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x173a560 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x420 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2553 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x17c8f0d 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c8f0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x36c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1512 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c8d1d 0x17c8c6d 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c8d1c github.com/mattermost/squirrel.SelectBuilder.From+0x17c github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c8c6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1509 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x238a8fe 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x238a8fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc5fd github.com/mattermost/mattermost/server/v8/channels/app/notification.go:755 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25e41ae 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e41ad github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x62d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:700 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17bde50 0x17bde36 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17bde4f github.com/mattermost/squirrel.StatementBuilderType.Select+0x3af github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bde35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:591 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb165f4 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165f3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:69 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 4608] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 745472] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 745472] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x54e9ae 0x54e645 0x54e315 0x23a6a6b 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x23a6a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x60a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 24] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16ac7b4 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 48] @ 0x24ab465 0x24ab44a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24ab464 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x524 github.com/mattermost/mattermost/server/public/model/websocket_message.go:269 # 0x24ab449 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x509 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 96] @ 0x2716257 0x65d785 0x6bf1be 0x697258 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x5be9e5 0x69e654 0x69e633 0x5be6e2 0x5bea71 0x69a8fd 0x69a79d 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69e653 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e632 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 1920] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x237f585 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x237f584 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1284 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:134 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1857a7e 0x185797c 0x1857963 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1857a7d github.com/lann/builder.Append+0x4bd github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x185797b github.com/mattermost/squirrel.UpdateBuilder.Set+0x3bb github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857962 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x3a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:759 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 122880] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x60ce50 0x60de12 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x60ce4f net.filterAddrList+0x18f net/ipsock.go:137 # 0x60de11 net.(*Resolver).internetAddrList+0x691 net/ipsock.go:308 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 6912] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 288] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40cc18 0x122ba33 0x122d12b 0x122bfc3 0x48e78b 0x122bb1a 0x122baf3 0x1232de4 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x122ba32 github.com/yuin/goldmark/renderer.(*renderer).Register+0x32 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:128 # 0x122d12a github.com/yuin/goldmark/renderer/html.(*Renderer).RegisterFuncs+0x30a github.com/yuin/goldmark@v1.7.13/renderer/html/html.go:273 # 0x122bfc2 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xe2 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:148 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122bb19 sync.(*Once).Do+0x79 sync/once.go:69 # 0x122baf2 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:136 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x56458a 0x5647d5 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5647d4 context.(*cancelCtx).propagateCancel+0x74 context/context.go:469 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x1225656 0x1225c07 0x1224425 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1225655 github.com/yuin/goldmark/parser.(*parser).openBlocks+0x515 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1007 # 0x1225c06 github.com/yuin/goldmark/parser.(*parser).parseBlocks+0x106 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1057 # 0x1224424 github.com/yuin/goldmark/parser.(*parser).Parse+0x144 github.com/yuin/goldmark@v1.7.13/parser/parser.go:876 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17b0472 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x12601a4 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x12601a3 github.com/jmoiron/sqlx.scanAll+0x8c3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:980 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc08b56 0xc08f97 0x24995dd 0x238d465 0x238b1ef 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08b55 github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x215 github.com/mattermost/mattermost/server/public/model/user.go:696 # 0xc08f96 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x116 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x238d464 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0xf164 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x238b1ee github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xceee github.com/mattermost/mattermost/server/v8/channels/app/notification.go:834 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6cd4a7 0x10d4aca 0x10d49f3 0x10d4b85 0x10d46ca 0x10d4833 0x10e512e 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6cd4a6 net/textproto.(*sequencer).End+0x66 net/textproto/pipeline.go:108 # 0x10d4ac9 net/textproto.(*Pipeline).EndResponse+0x29 net/textproto/pipeline.go:65 # 0x10d49f2 net/smtp.(*Client).cmd+0x152 net/smtp/smtp.go:118 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d46c9 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x10d4832 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x10e512d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:183 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16b0a7c 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1875a85 0x187e2fe 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1875a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1654 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2211840] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 2211840] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1105920] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c1c2a 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1c29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x6bf1be 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x18539fa 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 10368] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x52d1bb 0x52d151 0x527593 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52d1ba fmt.(*buffer).writeString+0x11a fmt/print.go:108 # 0x52d150 fmt.(*pp).doPrintf+0xb0 fmt/print.go:1032 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x1792151 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1792150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16a5070 0x16a5071 0x16a508a 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a506f bytes.(*Buffer).String+0x20f bytes/buffer.go:71 # 0x16a5070 github.com/mattermost/squirrel.(*sqlizerBuffer).ToSql+0x210 github.com/mattermost/squirrel@v0.5.0/case.go:42 # 0x16a5089 github.com/mattermost/squirrel.(*caseData).ToSql+0x229 github.com/mattermost/squirrel@v0.5.0/case.go:91 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 128] @ 0x271638e 0x27161f3 0x271591f 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x27161f2 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:57 # 0x271591e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:169 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 64] @ 0x24acd0c 0x24accb3 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x24acd0b github.com/mattermost/mattermost/server/public/model.ArrayToJSON+0xeb github.com/mattermost/mattermost/server/public/model/utils.go:494 # 0x24accb2 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x92 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x12230e9 0x12230dd 0x1232a8d 0x1232be5 0x1245bb8 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x12230e8 github.com/yuin/goldmark/parser.NewConfig+0x28 github.com/yuin/goldmark@v1.7.13/parser/parser.go:439 # 0x12230dc github.com/yuin/goldmark/parser.NewParser+0x1c github.com/yuin/goldmark@v1.7.13/parser/parser.go:730 # 0x1232a8c github.com/yuin/goldmark.DefaultParser+0x32c github.com/yuin/goldmark@v1.7.13/markdown.go:16 # 0x1232be4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.7.13/markdown.go:102 # 0x1245bb7 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x177 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 448] @ 0x83d353 0x83c93e 0x483fe1 # 0x83d352 github.com/mattermost/logr/v2.(*LogRec).prep+0x92 github.com/mattermost/logr/v2@v2.0.22/logrec.go:59 # 0x83c93d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x18172f0 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18172ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:133 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x183db96 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183db95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:637 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17b5b13 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5b12 github.com/mattermost/squirrel.SelectBuilder.From+0x252 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e27d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e27c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3447 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x633c7e 0x633c93 0x6c7914 0x67b376 0x69804c 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x633c7d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x633c92 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6c7913 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:551 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 256] @ 0x17c14b2 0x17c140e 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x17c14b1 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x1f71 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c140d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1ecd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:877 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 48] @ 0x17bde86 0x17bde52 0x17bde51 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bde85 github.com/mattermost/squirrel.newPart+0x3e5 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17bde51 github.com/mattermost/squirrel.SelectBuilder.From+0x3b1 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bde50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:592 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7d684a 0x11ad830 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7d6849 net/http/httptest.(*ResponseRecorder).Result+0x409 net/http/httptest/recorder.go:199 # 0x11ad82f github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xef github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:59 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x1853be5 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1853be4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x270d4d4 0x270d511 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d4d3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x270d510 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:551 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 416] @ 0x23a2252 0x23a2237 0x23a0619 0x23a5dbc 0x483fe1 # 0x23a2251 github.com/mattermost/mattermost/server/public/model.(*PushNotification).DeepCopy+0x1bb1 github.com/mattermost/mattermost/server/public/model/push_notification.go:93 # 0x23a2236 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b96 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:166 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 240] @ 0x1222d94 0x122327d 0x123c61f 0x1232cbf 0x1245bb8 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1222d93 github.com/yuin/goldmark/parser.(*withInlineParsers).SetParserOption+0x53 github.com/yuin/goldmark@v1.7.13/parser/parser.go:664 # 0x122327c github.com/yuin/goldmark/parser.(*parser).AddOptions+0x3c github.com/yuin/goldmark@v1.7.13/parser/parser.go:745 # 0x123c61e github.com/yuin/goldmark/extension.(*strikethrough).Extend+0x11e github.com/yuin/goldmark@v1.7.13/extension/strikethrough.go:112 # 0x1232cbe github.com/yuin/goldmark.New+0xfe github.com/yuin/goldmark@v1.7.13/markdown.go:110 # 0x1245bb7 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x177 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 160] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18589b7 0x1858677 0x16f0c8e 0x200abfa 0x238a8fe 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18589b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x2f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:815 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x238a8fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc5fd github.com/mattermost/mattermost/server/v8/channels/app/notification.go:755 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x69c4f5 0x69c4c5 0x69c3d7 0x5be6e2 0x5bea71 0x69c38c 0x69c138 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x69c4f4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69c4c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69c3d6 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69c38b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x32b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c137 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd7 crypto/tls/handshake_messages.go:366 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 2408448] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2408448] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 2408448] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x1991646 0x48ea11 0x19986e5 0x1998808 0x1996327 0x1995c57 0x1997cfa 0x19a2f5e 0x232cee5 0x232b5e5 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1991645 github.com/bep/imagemeta.init.func1+0x25 github.com/bep/imagemeta@v0.12.0/io.go:22 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x19986e4 github.com/bep/imagemeta.getBytesAndReader+0x24 github.com/bep/imagemeta@v0.12.0/io.go:29 # 0x1998807 github.com/bep/imagemeta.(*streamReader).bufferedReader+0x47 github.com/bep/imagemeta@v0.12.0/io.go:116 # 0x1996326 github.com/bep/imagemeta.(*imageDecoderPNG).decode.func2+0x46 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:46 # 0x1995c56 github.com/bep/imagemeta.(*imageDecoderPNG).decode+0x356 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:53 # 0x1997cf9 github.com/bep/imagemeta.Decode+0x659 github.com/bep/imagemeta@v0.12.0/imagemeta.go:234 # 0x19a2f5d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GetImageOrientation+0x2bd github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:154 # 0x232cee4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x7e4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:903 # 0x232b5e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x764 github.com/mattermost/mattermost/server/v8/channels/app/file.go:805 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 7040] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x126023e 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x126023d github.com/jmoiron/sqlx.scanAll+0x95d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:988 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x2738070 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 8192] @ 0x79be25 0x79842a 0x79ff59 0x123b4da 0x1226d1d 0x12245bd 0x12262f9 0x12262cc 0x12244a5 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x79be24 regexp.(*Regexp).get+0x224 regexp/regexp.go:254 # 0x798429 regexp.(*Regexp).doExecute+0x109 regexp/exec.go:538 # 0x79ff58 regexp.(*Regexp).FindSubmatchIndex+0x58 regexp/regexp.go:1030 # 0x123b4d9 github.com/yuin/goldmark/extension.(*linkifyParser).Parse+0x239 github.com/yuin/goldmark@v1.7.13/extension/linkify.go:190 # 0x1226d1c github.com/yuin/goldmark/parser.(*parser).parseBlock+0x9dc github.com/yuin/goldmark@v1.7.13/parser/parser.go:1197 # 0x12245bc github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.7.13/parser/parser.go:880 # 0x12262f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1122 # 0x12262cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.7.13/parser/parser.go:1120 # 0x12244a4 github.com/yuin/goldmark/parser.(*parser).Parse+0x1c4 github.com/yuin/goldmark@v1.7.13/parser/parser.go:879 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 65536] @ 0x79bd9d 0x79842a 0x79ff59 0x123b4da 0x1226d1d 0x12245bd 0x12262f9 0x12262cc 0x12244a5 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x79bd9c regexp.(*Regexp).get+0x19c regexp/regexp.go:253 # 0x798429 regexp.(*Regexp).doExecute+0x109 regexp/exec.go:538 # 0x79ff58 regexp.(*Regexp).FindSubmatchIndex+0x58 regexp/regexp.go:1030 # 0x123b4d9 github.com/yuin/goldmark/extension.(*linkifyParser).Parse+0x239 github.com/yuin/goldmark@v1.7.13/extension/linkify.go:190 # 0x1226d1c github.com/yuin/goldmark/parser.(*parser).parseBlock+0x9dc github.com/yuin/goldmark@v1.7.13/parser/parser.go:1197 # 0x12245bc github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.7.13/parser/parser.go:880 # 0x12262f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1122 # 0x12262cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.7.13/parser/parser.go:1120 # 0x12244a4 github.com/yuin/goldmark/parser.(*parser).Parse+0x1c4 github.com/yuin/goldmark@v1.7.13/parser/parser.go:879 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 416] @ 0x1854338 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1854337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xff7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:607 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x18536ec 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x23ab06f 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x23ab06e github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x32e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:829 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 64] @ 0x237e3e5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x237e3e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:63 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x540f4d 0x53e6fe 0x53df7e 0x54e3fa 0x2543534 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2543533 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0x17b859a 0x17b8bb3 0x17bdb2a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x17bdb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:579 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ea845 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ea844 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1265 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x10e129f 0x10e0629 0x10dff93 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x10e129e github.com/jaytaylor/html2text.(*textifyTraverseContext).emit+0x1de github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:453 # 0x10e0628 github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x28 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:305 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 144] @ 0x238a7d6 0x238a752 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238a7d5 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xc4d5 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x238a751 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:752 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817b85 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x1817b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x54425e 0x54eb07 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x54eb06 encoding/json.(*Encoder).Encode+0x66 encoding/json/stream.go:207 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x24f115c 0x2670ee6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f115b github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1bb github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x2670ee5 github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3599 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0x4c2ec9 0x4c2ee6 0x569b85 0x569b51 0x1643f9b 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ec8 internal/filepathlite.(*lazybuf).string+0x828 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643f9a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 65280] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1857a7e 0x185797c 0x1857963 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857a7d github.com/lann/builder.Append+0x4bd github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x185797b github.com/mattermost/squirrel.UpdateBuilder.Set+0x3bb github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857962 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x3a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:759 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x204d77a 0x20484e6 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204d779 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).logSocketErr+0x3b9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:1050 # 0x20484e5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x525 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:468 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b48bf 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b48be github.com/mattermost/squirrel.(*updateData).ToSql+0x59e github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 208] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0a7c 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0xadda85 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadda84 encoding/gob.(*Decoder).decodeMap+0x2c4 encoding/gob/decode.go:603 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x74e86b 0x5732f5 0x5735ad 0x754d0d 0x7549ea 0x20a6d6f 0x1a0c59c 0x1a0c12e 0x1a087d8 0x1a09474 0x1a918ac 0x1a9189f 0x24e20df 0x24e3b66 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e86a net/http.(*chunkWriter).Write+0x8a net/http/server.go:383 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x1a0c59b github.com/klauspost/compress/flate.(*huffmanBitWriter).writeTokens+0x1bb github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:868 # 0x1a0c12d github.com/klauspost/compress/flate.(*huffmanBitWriter).writeBlockDynamic+0x86d github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:768 # 0x1a087d7 github.com/klauspost/compress/flate.(*compressor).storeFast+0x277 github.com/klauspost/compress@v1.18.0/flate/deflate.go:767 # 0x1a09473 github.com/klauspost/compress/flate.(*compressor).close+0x33 github.com/klauspost/compress@v1.18.0/flate/deflate.go:891 # 0x1a918ab github.com/klauspost/compress/flate.(*Writer).Close+0xcb github.com/klauspost/compress@v1.18.0/flate/deflate.go:991 # 0x1a9189e github.com/klauspost/compress/gzip.(*Writer).Close+0xbe github.com/klauspost/compress@v1.18.0/gzip/gzip.go:281 # 0x24e20de github.com/klauspost/compress/gzhttp/writer/gzkp.(*pooledWriter).Close+0x1e github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:54 # 0x24e3b65 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x345 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:374 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17b042f 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b042e github.com/mattermost/squirrel.SelectBuilder.From+0x2ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 6144] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0154 0x16ae34e 0x16ae4b7 0x16aee9a 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2407242 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x54e9ae 0x54e645 0x54e315 0x25e6fac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x25e6fab github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x10b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 983040] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 122880] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [2: 18153472] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 18153472] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [2: 18153472] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f73e06 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f73e05 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 499712] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 9625600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 9625600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 9625600] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2097152] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x4bb82e 0x4bbeb3 0x4bb4e3 0x4bb94d 0x4bb211 0x4baf0c 0x4baeeb 0x19a2bc9 0x1995c3c 0x1995c18 0x1995c10 0x1997cfa 0x19a2f5e 0x232cee5 0x232b5e5 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x4bbeb2 io.(*multiReader).Read+0x92 io/multi.go:26 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb94c io.discard.ReadFrom+0x6c io/io.go:666 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x19a2bc8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*fwSeeker).Seek+0x68 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:91 # 0x1995c3b github.com/bep/imagemeta.(*streamReader).skip+0x33b github.com/bep/imagemeta@v0.12.0/io.go:287 # 0x1995c17 github.com/bep/imagemeta.(*imageDecoderPNG).decode.func1+0x317 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:34 # 0x1995c0f github.com/bep/imagemeta.(*imageDecoderPNG).decode+0x30f github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:103 # 0x1997cf9 github.com/bep/imagemeta.Decode+0x659 github.com/bep/imagemeta@v0.12.0/imagemeta.go:234 # 0x19a2f5d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GetImageOrientation+0x2bd github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:154 # 0x232cee4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x7e4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:903 # 0x232b5e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x764 github.com/mattermost/mattermost/server/v8/channels/app/file.go:805 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0a6b 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x2687a74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2687a73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x4b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:86 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17ad32e 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17ad32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:213 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x5275a6 0x16b4925 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5411a5 0x543aa6 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5411a4 encoding/json.(*decodeState).convertNumber+0x104 encoding/json/decode.go:841 # 0x543aa5 encoding/json.(*decodeState).literalInterface+0x145 encoding/json/decode.go:1149 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0xbc2ec7 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbc2ec6 github.com/mattermost/mattermost/server/public/model.FindManifest+0x486 github.com/mattermost/mattermost/server/public/model/manifest.go:490 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b598c 0x16b58bb 0x16b59b0 0x173b17d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b598b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b58ba github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x16b59af github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x173b17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x103c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2562 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x479bf3 0x408dc5 0x408db8 0x40cf54 0x6515f5 0x651395 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6515f4 crypto/x509.newPolicyGraphNode+0x2254 crypto/x509/verify.go:1282 # 0x651394 crypto/x509.policiesValid+0x1ff4 crypto/x509/verify.go:1499 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1735872 0x1735827 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1735871 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x311 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x1735826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2072 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x1b770ca 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x1b770c9 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x109 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x18577c5 0x18576d2 0x18576b6 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18577c4 github.com/lann/builder.Append+0x204 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18576d1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x111 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18576b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:757 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x17f2791 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f2790 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17359fa 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17359f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x499 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2083 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17f24d2 0x17f2478 0x17f2476 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17f24d1 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17f2477 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17f2475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:90 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x2333755 0x2412cd8 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2333754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreviewForInfos+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1262 # 0x2412cd7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x197 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x6014a5 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6014a4 net.(*Resolver).goLookupIPCNAMEOrder+0x1564 net/dnsclient_unix.go:735 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17be4f4 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17be4f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:614 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 6144] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1816a30 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1816a2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:92 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c5a08 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c5a07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1256 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2654547 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2654546 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1251 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6517f7 0x64f90a 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6517f6 crypto/x509.(*policyGraph).incrDepth+0x2456 crypto/x509/verify.go:1393 # 0x64f909 crypto/x509.policiesValid+0x569 crypto/x509/verify.go:1457 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32768] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1466368] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x240ed49 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x240ed48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1397 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x543d27 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x8eeabd 0x8eeab1 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8eeabc golang.org/x/net/html.(*parser).addElement+0x2fc golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8eeab0 golang.org/x/net/html.inHeadIM+0x2f0 golang.org/x/net@v0.46.0/html/parse.go:662 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x6e4a88 0x6e3885 0x6e2e7e 0x6de9fa 0x6df965 0x6dffb2 0x90fcaa 0x90fca0 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e4a87 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x6e3884 compress/flate.(*huffmanBitWriter).indexTokens+0x244 compress/flate/huffman_bit_writer.go:561 # 0x6e2e7d compress/flate.(*huffmanBitWriter).writeBlock+0xbd compress/flate/huffman_bit_writer.go:435 # 0x6de9f9 compress/flate.(*compressor).writeBlock+0x99 compress/flate/deflate.go:171 # 0x6df964 compress/flate.(*compressor).deflate+0x4e4 compress/flate/deflate.go:500 # 0x6dffb1 compress/flate.(*compressor).write+0x71 compress/flate/deflate.go:545 # 0x90fca9 compress/flate.(*Writer).Write+0x89 compress/flate/deflate.go:707 # 0x90fc9f compress/zlib.(*Writer).Write+0x7f compress/zlib/writer.go:154 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 2304] @ 0x6e4a88 0x6e3885 0x6e2e7e 0x6de9fa 0x6dfaac 0x6e0bcd 0x90fea6 0x90fe9c 0x11ea58f 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e4a87 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x6e3884 compress/flate.(*huffmanBitWriter).indexTokens+0x244 compress/flate/huffman_bit_writer.go:561 # 0x6e2e7d compress/flate.(*huffmanBitWriter).writeBlock+0xbd compress/flate/huffman_bit_writer.go:435 # 0x6de9f9 compress/flate.(*compressor).writeBlock+0x99 compress/flate/deflate.go:171 # 0x6dfaab compress/flate.(*compressor).deflate+0x62b compress/flate/deflate.go:409 # 0x6e0bcc compress/flate.(*compressor).close+0x6c compress/flate/deflate.go:635 # 0x90fea5 compress/flate.(*Writer).Close+0x65 compress/flate/deflate.go:727 # 0x90fe9b compress/zlib.(*Writer).Close+0x5b compress/zlib/writer.go:184 # 0x11ea58e image/png.(*encoder).writeImage+0xd4e image/png/writer.go:543 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 1638400] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb0fc90 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fc8f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x28f github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1837bcb 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837bca github.com/mattermost/squirrel.InsertBuilder.Values+0x2ea github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x41c9ac 0x41c98e 0x47a145 0xc17075 0xc17058 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0xc17074 maps.Clone[...]+0x34 maps/maps.go:55 # 0xc17057 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:295 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x17bada5 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bada4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1e44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:258 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17cb33e 0x17cb30d 0x17cb303 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb33d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x43d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17cb30c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x40c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17cb302 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1669 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x2648c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2648c24 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:284 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0xbbc81c 0xbdd13a 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb18fbd 0xc13c73 0x17109fc 0x16c07b2 0x1fd446b 0x24f1504 0x2661a9b 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x17109fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlAuditStore.Save+0x3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/audit_store.go:41 # 0x16c07b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:791 # 0x1fd446a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:723 # 0x24f1503 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x2661a9a github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x67a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2424 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16b4925 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x53ff05 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x1869652 0x18695e9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1869651 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x131 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18695e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0xc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:611 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17f281c 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b003e 0x17affc8 0x16df59a 0x1ff6ca6 0x241d97e 0x2422f3e 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b003d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x45d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17affc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x3e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:132 # 0x16df599 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8795 # 0x1ff6ca5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7012 # 0x241d97d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x2422f3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xafd github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:157 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x6c796f 0x67b376 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6c796e crypto/tls.aeadAESGCMTLS13+0x8e crypto/tls/cipher_suites.go:566 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x2737f09 0x695a12 0x6958a8 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695a11 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x3f1 crypto/internal/fips140/tls13/tls13.go:106 # 0x6958a7 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x287 crypto/tls/handshake_client_tls13.go:516 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 384] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x24f12d5 0x25dd228 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f12d4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x334 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x25dd227 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:86 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 352] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1875af6 0x1875a86 0x187e2fe 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1875af5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1875a85 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1655 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x265441d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x265441c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x9c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1240 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x2432793 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2432792 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x192 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 65536] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x48f2f9 0x48e925 0x748dab 0x7764cd 0x750c27 0x755918 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x748daa net/http.putTextprotoReader+0x4a net/http/request.go:1049 # 0x7764cc net/http.readRequest+0x7ec net/http/request.go:1173 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110dc25 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110dc24 github.com/lib/pq/scram.(*Client).saltPassword+0xc4 github.com/lib/pq@v1.10.9/scram/scram.go:220 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x4aaf08 0x92ef5d 0x48ea11 0x93171e 0x935434 0x930add 0xb08987 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x92ef5c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x935433 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x213 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x930adc github.com/hashicorp/yamux.(*Session).AcceptStream+0x7c github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb08986 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:142 0: 0 [1: 640] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 80] @ 0x12575bb 0x125cf77 0x182ddb4 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182ddb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:439 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x49bd85 0x4a0e77 0x4a0e81 0x4d8f35 0x4d8f11 0x4d8f1a 0x4d8f0e 0x4d8a4c 0x569d25 0x568918 0x568919 0x11ec3f0 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4a0e76 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4a0e80 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4d8f34 syscall.Lstat+0x54 syscall/syscall_linux_amd64.go:69 # 0x4d8f10 os.lstatNolog.func1+0x30 os/stat_unix.go:45 # 0x4d8f19 os.ignoringEINTR+0x39 os/file_posix.go:251 # 0x4d8f0d os.lstatNolog+0x2d os/stat_unix.go:44 # 0x4d8a4b os.Lstat+0x2b os/stat.go:26 # 0x569d24 path/filepath.walkSymlinks+0x164 path/filepath/symlink.go:85 # 0x568917 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x568918 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x11ec3ef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:45 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x497ccb 0x1122e70 0x1122d7e 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x497cca syscall.Environ+0xca syscall/env_unix.go:143 # 0x1122e6f os.Environ+0x10f os/env.go:140 # 0x1122d7d github.com/lib/pq.NewConnector+0x1d github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2432793 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2432792 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x192 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x179c495 0x179c466 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x179c494 github.com/mattermost/squirrel.StatementBuilderType.Update+0x1d4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x179c465 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:153 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x93171e 0x934ec5 0x9349f2 0x5732f5 0xafa293 0xaf98e5 0xaf9dca 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xafa292 net/rpc.(*gobServerCodec).WriteResponse+0x272 net/rpc/server.go:427 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x16b0145 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0144 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x2737e4d 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2737e4c crypto/internal/fips140/tls13.deriveSecret[...]+0x6c crypto/internal/fips140/tls13/tls13.go:51 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 4608] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x48ed3d 0x48ec06 0x48e97c 0x797adb 0x797af4 0x7985bb 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x797ada regexp.newOnePassMachine+0x9a regexp/exec.go:384 # 0x797af3 regexp.(*Regexp).doOnePass+0xb3 regexp/exec.go:403 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25919ad 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25919ac github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x38c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 18358272] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6979584] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x242689a 0x2424afc 0x242393b 0x2400c7c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 20480] @ 0x1252d94 0x1252d95 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x1252d93 bytes.(*Buffer).String+0xb3 bytes/buffer.go:71 # 0x1252d94 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0xb4 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:134 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 896] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x16b07a8 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 141328384] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 141328384] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x18526b9 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x6321a8 0x63213f 0x242917c 0x24272d5 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6321a7 net/url.(*URL).ResolveReference+0x27 net/url/url.go:1113 # 0x63213e net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x242917b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:801 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1871afe 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1871afd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1331 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x1850514 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xdf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:338 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c6c5a 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6c59 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x499 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868d13 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868d12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:556 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x2429274 0x242732f 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2429273 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:811 # 0x242732e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:633 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x619566 0x61953d 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x16b1a94 0x16b19b3 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 4480] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x17f263b 0x17f2607 0x17f2606 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f263a github.com/mattermost/squirrel.newPart+0x1fa github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17f2606 github.com/mattermost/squirrel.SelectBuilder.From+0x1c6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17f2605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b0a7c 0x183ec2e 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c2479 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25df0db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c2478 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:935 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25df0da github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xa3a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:249 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x2053c30 0x2053d8d 0x20525db 0x2051cd7 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x2053c2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1-range6+0x2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:724 # 0x2053d8c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6c maps/iter.go:28 # 0x20525da github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x175ae70 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ae6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xaf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x64d039 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64d038 crypto/x509.(*Certificate).Verify+0x718 crypto/x509/verify.go:876 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16aa695 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x6818f1 0x6818f2 0x681979 0x68d1db 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x68d1da crypto/tls.(*Conn).clientHandshake+0x4fa crypto/tls/handshake_client.go:340 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x56458a 0x604cf0 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x604cef net.(*netFD).connect+0x1ef net/fd_unix.go:98 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 256] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0xb13ab0 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb13aaf github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x56f github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:62 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x186f88a 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f889 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1129 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x112a66a 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x112a669 github.com/lib/pq.ParseURL+0x29 github.com/lib/pq@v1.10.9/url.go:33 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc65 0x110cc55 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc64 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:168 # 0x110cc54 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:84 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650bfa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650bf9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2bf9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18311b3 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18311b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x292 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:166 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184fd54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fd53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x633 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xb0e585 0xb0d551 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e584 github.com/mattermost/mattermost/server/public/shared/markdown.fencedCodeStart+0x2c4 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:105 # 0xb0d550 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0x170 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:139 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x4e3a9f 0x110d152 0x110d11a 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e3a9e bytes.genSplit+0x9e bytes/bytes.go:395 # 0x110d151 bytes.Split+0xb1 bytes/bytes.go:439 # 0x110d119 github.com/lib/pq/scram.(*Client).step2+0x79 github.com/lib/pq@v1.10.9/scram/scram.go:157 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x182972c 0x182970b 0x17dd5f9 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x182972b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.newSqlxTxWrapper+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:277 # 0x182970a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:101 # 0x17dd5f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3214 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 160] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 128] @ 0x539cff 0x207c88c 0x207c88d 0x208de34 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x207c88b strings.Split+0x10b strings/strings.go:361 # 0x207c88c github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x10c github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:466 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x175afbd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175afbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x1120091 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1120090 github.com/lib/pq.parsePortalRowDescribe+0xd0 github.com/lib/pq@v1.10.9/conn.go:1984 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x50f21d 0x12553aa 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 224] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184efb9 0x184ef93 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184efb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184ef92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x12575bb 0x125c637 0x182a1ef 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0xbdc9da 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdc9d9 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x39 github.com/mattermost/mattermost/server/public/model/post_list.go:33 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17c597a 0x17c58cb 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c5979 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x4b9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c58ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x40a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1255 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0x1b7922a 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x1b79229 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:81 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2393d4d 0x2393d55 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2393d4c github.com/mattermost/mattermost/server/v8/channels/app.(*MentionResults).addMention+0x64c github.com/mattermost/mattermost/server/v8/channels/app/mention_results.go:78 # 0x2393d54 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x654 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1041 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185003e 0x184fff3 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185003d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x91d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184fff2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:311 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b0eeb 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1152] @ 0x48edbc 0x48ec06 0x48e97c 0xb6f358 0xb6f34c 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb6f357 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xb6f34b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 48] @ 0x6857b9 0x685773 0x678d74 0x68b7f6 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6857b8 slices.Clone[...]+0x58 slices/slices.go:355 # 0x685772 crypto/tls.defaultCipherSuites+0x12 crypto/tls/defaults.go:50 # 0x678d73 crypto/tls.(*Config).cipherSuites+0x133 crypto/tls/common.go:1113 # 0x68b7f5 crypto/tls.(*Conn).makeClientHello+0x475 crypto/tls/handshake_client.go:101 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x633154 0x63312b 0x633123 0x6dd336 0x10e401d 0x10e400d 0x10e2ff7 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x633153 slices.AppendSeq[...]+0x53 slices/iter.go:50 # 0x63312a slices.Collect[...]+0x2a slices/iter.go:58 # 0x633122 slices.Sorted[...]+0x22 slices/iter.go:64 # 0x6dd335 mime/multipart.(*Writer).CreatePart+0x175 mime/multipart/writer.go:111 # 0x10e401c gopkg.in/mail%2ev2.(*messageWriter).createPart+0x7c gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x10e400c gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x6c gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x10e2ff6 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x216 gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 384] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0xbbca57 0xbd8ed5 0xbd8df6 0x17b935a 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0xbbca56 github.com/mattermost/mattermost/server/public/model.(*Post).GenerateActionIds+0x36 github.com/mattermost/mattermost/server/public/model/integration_action.go:820 # 0xbd8ed4 github.com/mattermost/mattermost/server/public/model.(*Post).PreCommit+0xb4 github.com/mattermost/mattermost/server/public/model/post.go:618 # 0xbd8df5 github.com/mattermost/mattermost/server/public/model.(*Post).PreSave+0x95 github.com/mattermost/mattermost/server/public/model/post.go:602 # 0x17b9359 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x3f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:159 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5275a6 0xbdc3be 0x2402733 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2400c11 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xbdc3bd github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x9d github.com/mattermost/mattermost/server/public/model/post.go:1052 # 0x2402732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func4+0x52 github.com/mattermost/mattermost/server/v8/channels/app/post.go:301 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2400c10 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1210 github.com/mattermost/mattermost/server/v8/channels/app/post.go:300 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b080f 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2632f5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2632f5a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x1da github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 134152192] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [46: 134152192] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x18522d9 0x185226c 0x11adcb0 0x483fe1 # 0x18522d8 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2f8 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 384] @ 0x79647b 0x798592 0x79e751 0x7a0945 0x207059a 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x79e750 regexp.(*Regexp).allMatches+0x130 regexp/regexp.go:778 # 0x7a0944 regexp.(*Regexp).FindAllString+0x64 regexp/regexp.go:1118 # 0x2070599 github.com/Masterminds/semver/v3.NewConstraint+0x139 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:41 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17be346 0x17be312 0x17be311 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17be345 github.com/mattermost/squirrel.newPart+0x8a5 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17be311 github.com/mattermost/squirrel.SelectBuilder.From+0x871 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17be310 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x870 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:613 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184e76e 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184e76d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:192 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 5693440] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x1779a45 0x1779a20 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6029312] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x203fc05 0x203fb97 0x22d3e34 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203fc04 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x22d3e33 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1f3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2836 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x17e18c5 0x17e1773 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e18c4 github.com/mattermost/squirrel.InsertBuilder.Values+0x3a4 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x17e1772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:99 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x17799ae 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17799ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:215 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17c1c06 0x17c1c07 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1c05 github.com/mattermost/squirrel.Expr+0x4c5 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x17c1c06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x16b1c88 0x185096e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1c87 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x185096d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x124d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:359 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1727c3d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1727c3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1074 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x17b5849 0x16e045a 0x1ff7dba 0x242f3fe 0x2422c5d 0x2423287 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17b5848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPost+0x368 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:31 # 0x16e0459 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9068 # 0x1ff7db9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7220 # 0x242f3fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:15 # 0x2422c5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x81c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:150 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 192] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x16ae58f 0x16ab751 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173682f 0x16c59bd 0x1fd9f43 0x22ce093 0x240eeb0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173682e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x16c59bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2069 # 0x1fd9f42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1729 # 0x22ce092 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2243 # 0x240eeaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1411 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x702ebf 0x702eaa 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x702ebe net/http.send.func1+0x51e net/http/client.go:233 # 0x702ea9 net/http.send+0x509 net/http/client.go:255 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 256] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c933d 0x17c9265 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c933c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2dc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c9264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1554 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x26cc333 0x26dd052 0x27330fc 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x27330fb crypto/internal/fips140/hkdf.Expand[...]+0x23b crypto/internal/fips140/hkdf/hkdf.go:44 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4284416] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4284416] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 4284416] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x4d8da8 0x4d89ec 0x4d6705 0x4d6805 0x1644b2f 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232b6e3 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x4d6704 os.MkdirAll+0x24 os/path.go:21 # 0x4d6804 os.MkdirAll+0x124 os/path.go:48 # 0x1644b2e github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232b6e2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x862 github.com/mattermost/mattermost/server/v8/channels/app/file.go:811 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 188416] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x17be310 0x17be2e1 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17be30f github.com/mattermost/squirrel.StatementBuilderType.Select+0x86f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17be2e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x840 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:612 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x179c44e 0x179c3ee 0x179c3fc 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x179c44d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x18d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x179c3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x179c3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:152 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1853c51 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1853c50 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x910 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x177b465 0x177b3f2 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x177b464 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x344 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x177b3f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:357 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a7c32 0x2508b86 0x250fa30 0x250d7a5 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x2508b85 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).WriteHeader+0x25 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:39 # 0x250fa2f github.com/mattermost/mattermost/server/v8/channels/web.Handle404+0x4cf github.com/mattermost/mattermost/server/v8/channels/web/web.go:66 # 0x250d7a4 github.com/mattermost/mattermost/server/v8/channels/web.root+0xb04 github.com/mattermost/mattermost/server/v8/channels/web/static.go:77 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1727a32 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1727a31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1065 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x240dab1 0x240da2e 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x240dab0 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0xd0 github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x240da2d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x76b558 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x76b557 net/http.(*Transport).getConn+0x217 net/http/transport.go:1504 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125186 0x1125192 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125185 strconv.AppendBool+0x125 strconv/atob.go:32 # 0x1125191 github.com/lib/pq.encode+0x131 github.com/lib/pq@v1.10.9/encode.go:50 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xc15085 0xc14fe7 0xb8dbe8 0x253c10a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc15084 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc14fe6 github.com/mattermost/mattermost/server/public/model.Etag+0x166 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xb8dbe7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x253c109 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1091 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1152] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xb73268 0xb7248a 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f70265 0x2392477 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xb73267 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x107 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:269 # 0xb72489 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f70264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:311 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 48] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2560] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x789c86 0x789c00 0x78cb53 0x79b850 0x79b84b 0x246ba65 0x246ba4b 0x246b56b 0x24b58a5 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x789c85 regexp/syntax.(*parser).newRegexp+0xa5 regexp/syntax/parse.go:146 # 0x789bff regexp/syntax.(*parser).op+0x1f regexp/syntax/parse.go:394 # 0x78cb52 regexp/syntax.parse+0x3d2 regexp/syntax/parse.go:941 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x246ba64 regexp.Compile+0x64 regexp/regexp.go:131 # 0x246ba4a github.com/mattermost/mattermost/server/v8/channels/app.replaceUserIds+0x4a github.com/mattermost/mattermost/server/v8/channels/app/slack.go:117 # 0x246b56a github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessSlackText+0x8a github.com/mattermost/mattermost/server/v8/channels/app/slack.go:74 # 0x24b58a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x404 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:775 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17b5b13 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5b12 github.com/mattermost/squirrel.SelectBuilder.From+0x252 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [4: 2129920] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17cb4cc 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17cb4cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1672 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17370db 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x17370da github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x33a github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1872ad3 0x16f42f5 0x200e902 0x22a4b98 0x2615df5 0x2615da7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872ad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x352 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x22a4b97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getAnalytics+0xb7 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:30 # 0x2615df4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAnalytics+0x1d4 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:22 # 0x2615da6 github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x186 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x23fe3e9 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x23fe3e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:40 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17b8abe 0x17bc5da 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17b8abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:94 # 0x17bc5d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:400 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x16aba6f 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aba6e github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1ae github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5655f1 0x5f84bd 0x5f848a 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x5f84bc context.WithDeadline+0x1bc context/context.go:617 # 0x5f8489 net.(*Dialer).DialContext+0x189 net/dial.go:533 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x183a7a5 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 262144] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x543d27 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c8f0d 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c8f0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x36c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1512 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5be925 0x5be7fb 0x69f7d9 0x69f6d8 0x5be6e2 0x5bea71 0x69f614 0x69f5f3 0x5be6e2 0x5bea71 0x6990df 0x698fb4 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be924 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x164 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x5be7fa vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x3a vendor/golang.org/x/crypto/cryptobyte/builder.go:194 # 0x69f7d8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x198 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f6d7 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x97 crypto/tls/handshake_messages.go:112 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69f613 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f5f2 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6990de vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1fe vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x698fb3 crypto/tls.(*clientHelloMsg).marshalMsg+0xd3 crypto/tls/handshake_messages.go:109 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x5be809 0x6af0d4 0x6af03c 0x6b06d8 0x6973bc 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be808 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x48 vendor/golang.org/x/crypto/cryptobyte/builder.go:194 # 0x6af0d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x133 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6af03b crypto/tls.(*finishedMsg).marshal+0x9b crypto/tls/handshake_messages.go:1684 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x6973bb crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x1fb crypto/tls/handshake_client_tls13.go:726 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2732f25 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 128] @ 0xc13a09 0xbb3292 0x1778eb7 0x16d14e7 0x1fe752d 0x233336c 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0xbb3291 github.com/mattermost/mattermost/server/public/model.(*FileInfo).IsValid+0xd1 github.com/mattermost/mattermost/server/public/model/file_info.go:101 # 0x1778eb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Upsert+0x76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:168 # 0x16d14e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Upsert+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5159 # 0x1fe752c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Upsert+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4198 # 0x233336b github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0xb0b github.com/mattermost/mattermost/server/v8/channels/app/file.go:1249 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 352] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 24] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 2560] @ 0x682037 0x681b78 0x68d1db 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x68d1da crypto/tls.(*Conn).clientHandshake+0x4fa crypto/tls/handshake_client.go:340 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x48037c 0x4aaf48 0x703c6a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x703c69 net/http.setRequestCancel+0x449 net/http/client.go:398 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb150 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x24f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1664 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117825 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117824 github.com/lib/pq.(*conn).simpleQuery+0x424 github.com/lib/pq@v1.10.9/conn.go:752 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22d7093 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22d7092 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x352 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x4d4f45 0x4d527d 0x4d2fbe 0x709ff9 0x709ff0 0x70d4a2 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x709ff8 os.Open+0xf8 os/file.go:370 # 0x709fef net/http.Dir.Open+0xef net/http/fs.go:86 # 0x70d4a1 net/http.serveFile+0xc1 net/http/fs.go:685 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x69c905 0x69c7c3 0x69c7c8 0x5be6e2 0x5bea71 0x69c305 0x69c2cb 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69c904 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x184 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69c7c2 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x42 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x69c7c7 crypto/tls.(*clientHelloMsg).marshalMsg.func18.2+0x47 crypto/tls/handshake_messages.go:358 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69c304 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2a4 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c2ca crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x26a crypto/tls/handshake_messages.go:356 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x539fb5 0x22adb67 0x22adb68 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22adb66 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x106 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x22adb67 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x25df3d8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x25df3d7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd37 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:239 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5275a6 0x10d53d5 0x10e5215 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x10d53d4 net/smtp.(*Client).Auth+0x254 net/smtp/smtp.go:209 # 0x10e5214 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x354 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:198 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16abb7a 0x16ab6b5 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16abb79 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x2b9 github.com/mattermost/squirrel@v0.5.0/insert.go:143 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x2371e74 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371e73 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1f3 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x10e4475 0x51f9db 0x4e6b9d 0x4bb15d 0x10e260d 0x10e260e 0x10e4353 0x10e30dc 0x10e28d5 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e4474 gopkg.in/mail%2ev2.(*base64LineWriter).Write+0xb4 gopkg.in/mail.v2@v2.3.1/writeto.go:300 # 0x51f9da encoding/base64.(*encoder).Write+0x15a encoding/base64/base64.go:253 # 0x4e6b9c bytes.(*Reader).WriteTo+0x7c bytes/reader.go:143 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x10e260c io.Copy+0x2c io/io.go:388 # 0x10e260d gopkg.in/mail%2ev2.fileFromReader.func1+0x2d gopkg.in/mail.v2@v2.3.1/message.go:341 # 0x10e4352 gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x272 gopkg.in/mail.v2@v2.3.1/writeto.go:271 # 0x10e30db gopkg.in/mail%2ev2.(*messageWriter).addFiles+0x7b gopkg.in/mail.v2@v2.3.1/writeto.go:148 # 0x10e28d4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x274 gopkg.in/mail.v2@v2.3.1/writeto.go:48 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x5275a6 0x7d812d 0x17e1fda 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7d812c github.com/pkg/errors.Wrapf+0x4c github.com/pkg/errors@v0.9.1/errors.go:207 # 0x17e1fd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:121 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1408] @ 0x2430557 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2430556 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x536 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:75 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1791ee8 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1791ee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1478 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x1853be5 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1853be4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x773154 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x773153 net/http.(*persistConn).roundTrip+0x553 net/http/transport.go:2796 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1792151 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1792150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x69906c 0x698f48 0x698f47 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69906b vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18b vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x698f47 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x67 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x698f46 crypto/tls.(*clientHelloMsg).marshalMsg+0x66 crypto/tls/handshake_messages.go:108 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x1850e46 0x1850dc7 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850e45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0x1725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:38 # 0x1850dc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x16a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:394 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0a7c 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x184ebe5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184ebe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x4c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:210 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x18060e5 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18060e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:73 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x17c501a 0x17c4ce3 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x23e4ca5 0x1136128 0x11749b9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x23e4ca4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).RolesGrantPermission+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1111 # 0x1136127 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).RolesGrantPermission+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x11749b8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).RolesGrantPermission+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5540 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a05b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a05b5 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x715 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:642 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x543d27 0x17b860a 0x17b85f8 0x17ba5d4 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x17b8609 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x17b85f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:91 # 0x17ba5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10240] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb102c5 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb102c4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x324 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x1852777 0x18526d7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852776 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x356 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24326e5 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24326e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:214 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 81920] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 663552] @ 0x6e0d65 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x16561b4 0x1655d07 0x2460cde 0x264a651 0x264a636 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e0d64 compress/flate.NewWriter+0x84 compress/flate/deflate.go:663 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x16561b3 github.com/mattermost/mattermost/server/v8/channels/app/users.createProfileImage+0x473 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:183 # 0x1655d06 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetDefaultProfileImage+0x86 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:101 # 0x2460cdd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetDefaultProfileImage+0x1d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1699 # 0x264a650 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDefaultProfileImage+0x150 github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x264a635 github.com/mattermost/mattermost/server/v8/channels/api4.getDefaultProfileImage+0x135 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:468 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9650176] @ 0x11ca0c5 0x149d85a 0x165603e 0x1655d07 0x2460cde 0x264a651 0x264a636 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11ca0c4 image.NewAlpha+0x64 image/image.go:725 # 0x149d859 github.com/golang/freetype/truetype.NewFace+0x359 github.com/golang/freetype@v0.0.0-20170609003504-e2365dfdc4a0/truetype/face.go:206 # 0x165603d github.com/mattermost/mattermost/server/v8/channels/app/users.createProfileImage+0x2fd github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:155 # 0x1655d06 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetDefaultProfileImage+0x86 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:101 # 0x2460cdd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetDefaultProfileImage+0x1d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1699 # 0x264a650 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDefaultProfileImage+0x150 github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x264a635 github.com/mattermost/mattermost/server/v8/channels/api4.getDefaultProfileImage+0x135 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:468 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 122880] @ 0x4d3fb9 0x4d3e69 0x165638a 0x1655eb1 0x1655d07 0x2460cde 0x264a651 0x264a636 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1656389 github.com/mattermost/mattermost/server/v8/channels/app/users.getFont+0xa9 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:197 # 0x1655eb0 github.com/mattermost/mattermost/server/v8/channels/app/users.createProfileImage+0x170 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:140 # 0x1655d06 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetDefaultProfileImage+0x86 github.com/mattermost/mattermost/server/v8/channels/app/users/profile_picture.go:101 # 0x2460cdd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetDefaultProfileImage+0x1d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1699 # 0x264a650 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDefaultProfileImage+0x150 github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x264a635 github.com/mattermost/mattermost/server/v8/channels/api4.getDefaultProfileImage+0x135 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:468 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2732f25 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16b08ff 0x17277e5 0x172778d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17277e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172778c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x18447bb 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18447ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1791d05 0x1791ca6 0x1791cb4 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1791d04 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x184 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1791ca5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x125 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1791cb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1474 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0a05 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b592c 0x16b59b0 0x173b17d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b592b github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0xab github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x16b59af github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x173b17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x103c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2562 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x6e031b 0x6e040e 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e031a compress/flate.newHuffmanBitWriter+0x19a compress/flate/huffman_bit_writer.go:95 # 0x6e040d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:570 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 2400256] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae58f 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x24a7b0e 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7b0d github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x12d github.com/mattermost/mattermost/server/v8/channels/app/user.go:2620 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0xb0c965 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c964 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x444 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x182e72d 0x182b95a 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x64df36 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64df35 crypto/x509.(*Certificate).buildChains.func1+0x435 crypto/x509/verify.go:1007 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x5be9e5 0x69c38c 0x69c138 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c38b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x32b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c137 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd7 crypto/tls/handshake_messages.go:366 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 128] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x74f8e5 0x764474 0x7641df 0x4bb7ee 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74f8e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:686 # 0x764473 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7641de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4bb7ed io.(*teeReader).Read+0x2d io/io.go:628 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x1831209 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1831208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x2e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:166 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x2421610 0x240c9db 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242160f github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessiblePost+0x2f github.com/mattermost/mattermost/server/v8/channels/app/post_helpers.go:217 # 0x240c9da github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/post.go:1079 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x240bbda 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x240bbd9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:966 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17c1c06 0x17c1c07 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1c05 github.com/mattermost/squirrel.Expr+0x4c5 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x17c1c06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x24b7ed2 0x24ad18f 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x24b7ed1 github.com/mattermost/mattermost/server/v8/channels/app.getTypedArg[...]+0x31 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:186 # 0x24ad18e github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x1ee github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:123 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 576] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16ab7e3 0x16ac827 0x182c706 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 32] @ 0x16b0a6b 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x239235d 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x239235c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func4+0x7c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:90 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175bf48 0x175bd05 0x16c709d 0x1fdb73d 0x22e2564 0x22aed95 0x2557453 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175bf47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoryT+0x1c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:461 # 0x175bd04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategory+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:454 # 0x16c709c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2405 # 0x1fdb73c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1985 # 0x22e2563 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategory+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:90 # 0x22aed94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToCategory+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:217 # 0x2557452 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoriesForTeamForUser+0x4d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:230 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c1152 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 327680] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3973120] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x1853951 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c788e 0x16ddb92 0x1ff4e4f 0x22b0646 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c788d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x16ddb91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8348 # 0x1ff4e4e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6661 # 0x22b0645 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x2381bff 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2381bfe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x38fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:385 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb78dca 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1204224] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x12578b9 0x125cf77 0x182c26f 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x125b823 0x182cd6b 0x182cd44 0x17dc7a5 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x182cd6a github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x182cd43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:363 # 0x17dc7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3162 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16b4925 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16aad15 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b0005 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x770ada 0x483fe1 # 0x770ad9 net/http.(*persistConn).readLoop+0xb9 net/http/transport.go:2264 0: 0 [1: 896] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24ad2ca 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24ad2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x329 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:129 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 224] @ 0x2387d5f 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2387d5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9a5e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:663 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x26565af 0x2656084 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x26565ae github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x66e github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x2656083 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x143 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1425 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x2372807 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2372806 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xb86 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:77 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x18539fa 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x12575bb 0x125c637 0x182b7ac 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10240] @ 0x543d27 0x25fe4db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25fe4da github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x173a34f 0x173a291 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x173a34e github.com/mattermost/squirrel.SelectBuilder.From+0x20e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x173a290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2546 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x174b457 0x1744997 0x16c160c 0x1fa6ecc 0x1fd54a8 0x22d5ff5 0x253d705 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x174b456 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.performSearch+0x76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3664 # 0x1744996 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeam+0xcf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3155 # 0x16c160b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeam+0xeb github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1043 # 0x1fa6ecb github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchChannelStore).AutocompleteInTeam+0x6eb github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/channel_layer.go:242 # 0x1fd54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeam+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:915 # 0x22d5ff4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForTeam+0x154 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3057 # 0x253d704 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeam+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1201 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x26496f2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x26496f1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x2b1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:365 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 21760] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 576] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x53e4bd 0x54011a 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x540119 encoding/json.(*decodeState).object+0xb39 encoding/json/decode.go:746 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16a6114 0x17adb25 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a6113 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x17adb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x284 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x17ac591 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17ac590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x10d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:99 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xc1612b 0xc160cb 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1612a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc160ca github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1746405 0x17463a2 0x174576f 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1746404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17463a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.autocompleteInTeamForSearchDirectMessages+0x921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3288 # 0x174576e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xd0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3234 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16ae271 0x16ae35d 0x16ae4b7 0x16af1ab 0x16aed98 0x16b00bd 0x1746355 0x174576f 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1746354 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.autocompleteInTeamForSearchDirectMessages+0x8d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3281 # 0x174576e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xd0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3234 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1745625 0x1745496 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1745624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xbc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1745495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xa35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3229 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 12288] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae390 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0xbbc81c 0xbdd13a 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x709152 0x1241985 0x1241990 0x2661971 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x1241984 net/http.(*Request).Cookie+0x24 net/http/request.go:452 # 0x124198f github.com/mattermost/mattermost/server/v8/channels/utils.CheckEmbeddedCookie+0x2f github.com/mattermost/mattermost/server/v8/channels/utils/api.go:43 # 0x2661970 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x550 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2412 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x186d2f5 0x186d2aa 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x186d2f4 github.com/mattermost/squirrel.SelectBuilder.Join+0xf4 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x186d2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:911 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 320] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 128] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0x1b7922a 0x1b79126 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x1b79229 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:81 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 448] @ 0x125388e 0x24f0f33 0x24f0cd5 0x259c305 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125388d github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x50d github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x24f0cd4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x259c304 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x13a4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:384 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5128192] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17729e9 0x177292b 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17729e8 github.com/mattermost/squirrel.SelectBuilder.From+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x177292a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:67 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c933d 0x17c9265 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c933c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2dc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c9264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1554 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0xb0fd13 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17785f9 0x17785d6 0x16cfe2b 0x1fe5a57 0x1f7424b 0x230e91f 0x230e4cd 0x230dc28 0x2591b18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17785f8 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17785d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:137 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x230e91e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileInfosForDraft+0xbe github.com/mattermost/mattermost/server/v8/channels/app/draft.go:129 # 0x230e4cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).prepareDraftWithFileInfos+0x4c github.com/mattermost/mattermost/server/v8/channels/app/draft.go:114 # 0x230dc27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpsertDraft+0x387 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:83 # 0x2591b17 github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x4f7 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:55 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x175b0df 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b0de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x31e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:411 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22adb8c 0x265480e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x265480d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x48d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1271 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x187dfa7 0x16f4078 0x1fb49f0 0x200e598 0x24a3b7b 0x265499c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x187dfa6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2263 # 0x16f4077 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).AutocompleteUsersInChannel+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14678 # 0x1fb49ef github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).AutocompleteUsersInChannel+0x96f github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:234 # 0x200e597 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).AutocompleteUsersInChannel+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11537 # 0x24a3b7a github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteUsersInChannel+0xfa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2275 # 0x265499b github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x61b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1299 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5660672] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 480] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 112] @ 0x16a5ba5 0x16a5b4a 0x16a61bd 0x17ac0d3 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a5ba4 bytes.(*Buffer).String+0x564 bytes/buffer.go:71 # 0x16a5b49 github.com/mattermost/squirrel.(*deleteData).ToSql+0x509 github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17ac0d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xc12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:81 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2488365 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2488364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1919 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1734e50 0x16c5b35 0x1fda0dd 0x22ce2a3 0x25416a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1734e4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x22f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2028 # 0x16c5b34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2090 # 0x1fda0dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1745 # 0x22ce2a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2263 # 0x25416a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1514 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x5474d6 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 5234688] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3686400] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x1853be5 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1853be4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b5734 0x177c2ce 0x16cf7c5 0x1faa7aa 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x177c2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.AttachToPost+0x6ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:409 # 0x16cf7c4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4664 # 0x1faa7a9 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:120 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x177c02d 0x16cf7c5 0x1faa7aa 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177c02c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.AttachToPost+0x40c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:401 # 0x16cf7c4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4664 # 0x1faa7a9 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:120 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x6e0225 0x6e0347 0x6e040e 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e0224 compress/flate.newHuffmanEncoder+0xa4 compress/flate/huffman_code.go:60 # 0x6e0346 compress/flate.newHuffmanBitWriter+0x1c6 compress/flate/huffman_bit_writer.go:100 # 0x6e040d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:570 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 5087232] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2499f50 0x2499f38 0x249ae45 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2499f4f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x26f github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x2499f37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x257 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1277 # 0x249ae44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xac4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1417 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173861f 0x16c4ebd 0x1fd92bd 0x22cf1e4 0x2538385 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173861e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetFileCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2339 # 0x16c4ebc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetFileCount+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1895 # 0x1fd92bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetFileCount+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1585 # 0x22cf1e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelFileCount+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2353 # 0x2538384 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184dd88 0x184dcd8 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184dd87 github.com/mattermost/squirrel.SelectBuilder.From+0x187 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184dcd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16ae99e 0x16ae9a1 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x186d4b1 0x186d45d 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x186d4b0 database/sql.(*DB).Query+0x2b0 database/sql/sql.go:1755 # 0x186d45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x25c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:922 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1779aff 0x1779a46 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1779afe github.com/mattermost/squirrel.SelectBuilder.From+0x1be github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1779a45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:219 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x125a215 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x1710a55 0x16c07b2 0x1fd446b 0x24f1504 0x2656dad 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125a214 github.com/jmoiron/sqlx.compileNamedQuery+0xc94 github.com/jmoiron/sqlx@v1.4.0/named.go:405 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1710a54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlAuditStore.Save+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/audit_store.go:44 # 0x16c07b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:791 # 0x1fd446a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:723 # 0x24f1503 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x2656dac github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xe6c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x16abc67 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a3970 0x185217f 0x18520c6 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x185217e github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18520c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 24] @ 0x18536c5 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18536c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x12578b9 0x125c637 0x182b7ac 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1779c5c 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779c5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 10240] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x64f99f 0x64f90a 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64f99e crypto/x509.(*policyGraph).incrDepth+0x5fe crypto/x509/verify.go:1398 # 0x64f909 crypto/x509.policiesValid+0x569 crypto/x509/verify.go:1457 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b48e8 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16b48e7 github.com/mattermost/squirrel.(*updateData).ToSql+0x5c7 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6144] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b660b 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b660a github.com/mattermost/squirrel.UpdateBuilder.Where+0xaa github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x4125d4 0x76d130 0x76c318 0x76c155 0x483fe1 # 0x76d12f net/http.(*Transport).dialConn+0x10f net/http/transport.go:1740 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x179af50 0x179ae85 0x179a97d 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x179af4f github.com/lann/builder.Append+0x6cf github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179ae84 github.com/mattermost/squirrel.InsertBuilder.Values+0x604 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x179a97c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x23a2372 0x23a22f5 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a2371 github.com/golang-jwt/jwt/v5.NewWithClaims+0x1cd1 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:49 # 0x23a22f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c54 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 1536] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182a886 0x182a744 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182a885 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErrWithResult+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:482 # 0x182a743 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0xa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184e336 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:160 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18438c5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18438c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x5f8735 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x60121f 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x60121e net.(*Resolver).goLookupIPCNAMEOrder+0x12de net/dnsclient_unix.go:750 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xb728a9 0xb7279e 0xb7067a 0xb73327 0xb7248a 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f70265 0x2392477 0x483fe1 # 0xb728a8 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0xa8 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:117 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb73326 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c6 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:265 # 0xb72489 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f70264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:311 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 160] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16ab7e3 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb0fd13 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1727875 0x17277e6 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727874 github.com/mattermost/squirrel.SelectBuilder.From+0x1d4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17277e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1064 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x789c86 0x789c00 0x78ca86 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0xbe357e 0x17f1c5d 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x789c85 regexp/syntax.(*parser).newRegexp+0xa5 regexp/syntax/parse.go:146 # 0x789bff regexp/syntax.(*parser).op+0x1f regexp/syntax/parse.go:394 # 0x78ca85 regexp/syntax.parse+0x305 regexp/syntax/parse.go:960 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbe357d github.com/mattermost/mattermost/server/public/model.(*Reaction).IsValid+0x5d github.com/mattermost/mattermost/server/public/model/reaction.go:31 # 0x17f1c5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:30 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c5bea 0x17c5b77 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c5be9 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x729 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c5b76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x24a8c3e 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a8c3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x43d github.com/mattermost/mattermost/server/v8/channels/app/user.go:2745 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x179c718 0x179c614 0x179c5f7 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x179c717 github.com/lann/builder.Append+0x457 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c613 github.com/mattermost/squirrel.UpdateBuilder.Set+0x353 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x336 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:155 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x177b465 0x177b3f2 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x177b464 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x344 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x177b3f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:357 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x5654cb 0x5f9a49 0x5f9a1c 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5f9a48 context.WithDeadline+0x208 context/context.go:617 # 0x5f9a1b net.(*sysDialer).dialSerial+0x1db net/dial.go:681 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 24] @ 0x186e98a 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186e989 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1040 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6144] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1856205 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1856204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:703 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2372807 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2372806 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xb86 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:77 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x799b25 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x799b24 regexp.makeOnePass+0x184 regexp/onepass.go:303 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa71e 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x535245 0x535350 0x53a585 0x16abab4 0x16ab6b5 0x16ac827 0x17ac565 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16abab3 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1f3 github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ac564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x6dd4b3 0x10e401d 0x10e400d 0x10e2ff7 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6dd4b2 mime/multipart.(*Writer).CreatePart+0x2f2 mime/multipart/writer.go:113 # 0x10e401c gopkg.in/mail%2ev2.(*messageWriter).createPart+0x7c gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x10e400c gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x6c gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x10e2ff6 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x216 gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xc1788b 0x2049fca 0x204a29a 0x2049af6 0x2047f27 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xc1788a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2049fc9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writeMessage+0xa9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:646 # 0x204a299 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).drainDeadQueue+0x99 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:741 # 0x2049af5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x13f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:524 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x186f97b 0x186f918 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x182c706 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10880] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0a7c 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17adb4e 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17adb4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 480] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1734f05 0x1734ea0 0x16c5b35 0x1fda0dd 0x22ce2a3 0x25416a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1734f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1734e9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2034 # 0x16c5b34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2090 # 0x1fda0dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1745 # 0x22ce2a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2263 # 0x25416a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1514 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 96] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2615d9b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2615d9a github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x17a github.com/mattermost/mattermost/server/v8/channels/api4/system.go:493 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1871b6f 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1871b6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1331 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c727b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c727a github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xda github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c727b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c727a github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xda github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1727911 0x17278b0 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727910 github.com/mattermost/squirrel.Expr+0x270 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x17278af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x20f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1067 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x67c590 0x68112a 0x68275e 0x5732f5 0x573715 0x6cfd65 0x10e3633 0x6ddcf2 0x6d99d7 0x6d9955 0x6d9956 0x6d96c8 0x6d9465 0x4bac22 0x10e2165 0x10e42d5 0x10e301b 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x67c58f crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:522 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68275d crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1248 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x573714 bufio.(*Writer).WriteByte+0x34 bufio/bufio.go:706 # 0x6cfd64 net/textproto.(*dotWriter).Write+0x144 net/textproto/writer.go:95 # 0x10e3632 gopkg.in/mail%2ev2.(*messageWriter).Write+0x32 gopkg.in/mail.v2@v2.3.1/writeto.go:158 # 0x6ddcf1 mime/multipart.(*part).Write+0x31 mime/multipart/writer.go:192 # 0x6d99d6 mime/quotedprintable.(*Writer).flush+0x36 mime/quotedprintable/writer.go:162 # 0x6d9954 mime/quotedprintable.(*Writer).insertCRLF+0x54 mime/quotedprintable/writer.go:158 # 0x6d9955 mime/quotedprintable.(*Writer).insertSoftLineBreak+0x55 mime/quotedprintable/writer.go:150 # 0x6d96c7 mime/quotedprintable.(*Writer).write+0xe7 mime/quotedprintable/writer.go:99 # 0x6d9464 mime/quotedprintable.(*Writer).Write+0xa4 mime/quotedprintable/writer.go:42 # 0x4bac21 io.WriteString+0x81 io/io.go:318 # 0x10e2164 gopkg.in/mail%2ev2.(*Message).AddAlternative.newCopier.func1+0x24 gopkg.in/mail.v2@v2.3.1/message.go:215 # 0x10e42d4 gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1f4 gopkg.in/mail.v2@v2.3.1/writeto.go:277 # 0x10e301a gopkg.in/mail%2ev2.(*messageWriter).writePart+0x23a gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x2652490 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x265248f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1049 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16b1caf 0x17c5b6c 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c5b6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1259 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x24277f9 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x24277f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x118 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:691 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x543d27 0x262968d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x262968c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:564 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x18172f0 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18172ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:133 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x7e8365 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17e0b1b 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e8364 database/sql.(*DB).begin+0x44 database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17e0b1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:46 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x177b314 0x177b25b 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x177b313 github.com/mattermost/squirrel.SelectBuilder.From+0x1f3 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x177b25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:355 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0xb7d1c2 0xb7d1ac 0xb7d525 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7d1c1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7d1ab github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeArrayLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:93 # 0xb7d524 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:130 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xb11712 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24269ff 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11711 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0xb71 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:372 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24269fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x19e github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:568 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c232c 0x17c205e 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c232b github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x30b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c205d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:928 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0xb0fd13 0xb1257a 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12579 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1d9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:588 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x26cb806 0x26dd3d4 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 4608] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb15a2b 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15a2a github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x2ca github.com/mattermost/mattermost/server/public/shared/markdown/list.go:207 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179d5d2 0x179d4d0 0x179d4be 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179d5d1 github.com/lann/builder.Append+0x6f1 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179d4cf github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ef github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d4bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x5dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:208 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0xb0df37 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0df36 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).Continuation+0x36 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:42 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5275648] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 9404416] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 589824] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 16769024] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 16769024] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 16769024] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 16769024] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x11e8165 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e8164 image/png.(*decoder).parseChunk+0x324 image/png/reader.go:934 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x187286c 0x187283d 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x187286b github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x187283c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1400 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1408] @ 0x24e27fc 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x179c58f 0x179c4c5 0x179c4b3 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x179c58e github.com/lann/builder.Append+0x2ce github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c4c4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x204 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c4b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17e6026 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e6025 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:123 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x12620b9 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x12620b8 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:333 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 160] @ 0x5d158a 0x6465cd 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5d1589 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xc9 crypto/x509/pkix/pkix.go:151 # 0x6465cc crypto/x509.parseCertificate+0x6ac crypto/x509/parser.go:984 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1120427 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1120426 github.com/lib/pq.parseEnviron+0x26 github.com/lib/pq@v1.10.9/conn.go:2010 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18305c8 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18305c7 github.com/mattermost/squirrel.UpdateBuilder.Set+0x507 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x18385a5 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x18385a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x265f828 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x265f827 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2237 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 896] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0efc 0x17c6b9c 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6b9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3db github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x271638e 0x65d785 0x6bf1be 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x461e06 0x4bac07 0x10e2bbe 0x10e2bec 0x10e27ed 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bac06 io.WriteString+0x66 io/io.go:318 # 0x10e2bbd gopkg.in/mail%2ev2.(*messageWriter).writeString+0x1bd gopkg.in/mail.v2@v2.3.1/writeto.go:168 # 0x10e2beb gopkg.in/mail%2ev2.(*messageWriter).openMultipart+0x1eb gopkg.in/mail.v2@v2.3.1/writeto.go:90 # 0x10e27ec gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x18c gopkg.in/mail.v2@v2.3.1/writeto.go:35 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 896] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eabf1 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eabf0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 896] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x461d32 0x4612a5 0x4614c5 0x6ce5fe 0x10d49c8 0x10d4b85 0x10d46ca 0x10d4833 0x10e512e 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6ce5fd net/textproto.(*Reader).ReadResponse+0x13d net/textproto/reader.go:303 # 0x10d49c7 net/smtp.(*Client).cmd+0x127 net/smtp/smtp.go:117 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d46c9 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x10d4832 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x10e512d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:183 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x27319be 0x2731979 0x2731976 0x2731a30 0x272c12d 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x27319bd crypto/internal/fips140/bigmod.(*Nat).reset+0xbd crypto/internal/fips140/bigmod/nat.go:96 # 0x2731978 crypto/internal/fips140/bigmod.(*Nat).set+0x78 crypto/internal/fips140/bigmod/nat.go:132 # 0x2731975 crypto/internal/fips140/bigmod.(*Modulus).Nat+0x75 crypto/internal/fips140/bigmod/nat.go:597 # 0x2731a2f crypto/internal/fips140/rsa.checkPublicKey+0x12f crypto/internal/fips140/rsa/rsa.go:341 # 0x272c12c crypto/internal/fips140/rsa.verifyPKCS1v15+0x4c crypto/internal/fips140/rsa/pkcs1v15.go:102 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 3858432] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 507904] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 5283840] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15eb 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x1839736 0x1843d05 0x1843b8b 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1839735 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:187 # 0x1843d04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:205 # 0x1843b8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1137 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x188346a 0x16fb084 0x20166ea 0x1f8048e 0x24b6a18 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1883469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlWebhookStore.GetIncoming+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/webhook_store.go:123 # 0x16fb083 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerWebhookStore).GetIncoming+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16595 # 0x20166e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerWebhookStore).GetIncoming+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13084 # 0x1f8048d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheWebhookStore.GetIncoming+0xcd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/webhook_layer.go:51 # 0x24b6a17 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func1+0x77 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:738 0: 0 [1: 16] @ 0x539fb5 0x22af618 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af617 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:302 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x182f070 0x182efa2 0x182ee0c 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x61006c 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x61006b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 576] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 176] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 7798784] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 9633792] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 11902976] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x18560ee 0x1856090 0x185608e 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x18560ed github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x185608f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x185608d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:700 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2560] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x6818f1 0x6818f2 0x681979 0x68d1db 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x68d1da crypto/tls.(*Conn).clientHandshake+0x4fa crypto/tls/handshake_client.go:340 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x63c512 0x64d974 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63c511 crypto/x509.(*CertPool).findPotentialParents+0x271 crypto/x509/cert_pool.go:152 # 0x64d973 crypto/x509.(*Certificate).buildChains+0x113 crypto/x509/verify.go:1015 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x18308d1 0x18307e0 0x18307de 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18308d0 github.com/lann/builder.Append+0x810 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18307df github.com/mattermost/squirrel.UpdateBuilder.Set+0x71f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18307dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:128 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 80] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x601985 0x600a06 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x601984 net.(*Resolver).goLookupIPCNAMEOrder.func3+0x104 net/dnsclient_unix.go:666 # 0x600a05 net.(*Resolver).goLookupIPCNAMEOrder+0xac5 net/dnsclient_unix.go:679 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17788b3 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17788b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x182ec98 0x182ec37 0x182ec36 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x182ec97 github.com/mattermost/squirrel.InsertBuilder.Into+0x117 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x182ec36 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x182ec35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:46 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16a6fbb 0x16a6eb3 0x17e5511 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a6fba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a6eb2 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x17e5510 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x2f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x179f447 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x179f446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x16a53a6 0x16a5233 0x184fe9e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a53a5 github.com/lann/builder.Append+0x185 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x184fe9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x16b15eb 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x110dea2 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x110dea1 github.com/lib/pq/scram.(*Client).clientProof+0x101 github.com/lib/pq@v1.10.9/scram/scram.go:240 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408105 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7672bc 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7672bb net/http.(*Transport).roundTrip+0x8fb net/http/transport.go:650 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x16b07a8 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16ae58f 0x16af1ab 0x16aed98 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x409dd2 0x408179 0x479ce9 0x22dc189 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 144] @ 0x16aba6f 0x16ab6b5 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x20cc117 0x1f52f84 0x1f522fa 0x483fe1 # 0x16aba6e github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1ae github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20cc116 github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x36 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 896] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x4d8ccc 0x70d511 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d8ccb os.(*File).Stat+0x2b os/stat_unix.go:19 # 0x70d510 net/http.serveFile+0x130 net/http/fs.go:693 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [2: 32] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x2073f50 0x2073ebd 0x2431665 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2073f4f github.com/Masterminds/semver/v3.coerceNewVersion+0x4f github.com/Masterminds/semver/v3@v3.4.0/version.go:242 # 0x2073ebc github.com/Masterminds/semver/v3.NewVersion+0x31c github.com/Masterminds/semver/v3@v3.4.0/version.go:165 # 0x2431664 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x644 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:79 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2560] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x54e3fa 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x2421bf1 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bf0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x70 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:57 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x250511f 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f934 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x548725 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x548724 encoding/json.arrayEncoder.encode+0x104 encoding/json/encode.go:868 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x172789f 0x17277e6 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x172789e github.com/mattermost/squirrel.SelectBuilder.From+0x1fe github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17277e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1064 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 2240] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x6406bf 0x6465aa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6406be crypto/x509.parseName+0x37e crypto/x509/parser.go:143 # 0x6465a9 crypto/x509.parseCertificate+0x689 crypto/x509/parser.go:980 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 192] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c983e 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c983d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x7dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1563 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 352] @ 0x16b07a8 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb6bfad 0xb6b171 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6bfac github.com/gorilla/websocket.bufioWriterBuffer+0x2c github.com/gorilla/websocket@v1.5.3/server.go:357 # 0xb6b170 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x5b0 github.com/gorilla/websocket@v1.5.3/server.go:196 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x184f49f 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f49e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:252 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1152] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x2737e87 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x2737e86 crypto/internal/fips140/tls13.deriveSecret[...]+0xa6 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b5734 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 409600] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2727936] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6d01fc 0x6dbd08 0x6db9e5 0x6dc9f2 0x6dc64c 0x259b14b 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6d01fb net/textproto.readMIMEHeader+0x37b net/textproto/reader.go:586 # 0x6dbd07 mime/multipart.(*Part).populateHeaders+0x67 mime/multipart/multipart.go:171 # 0x6db9e4 mime/multipart.newPart+0xa4 mime/multipart/multipart.go:153 # 0x6dc9f1 mime/multipart.(*Reader).nextPart+0x311 mime/multipart/multipart.go:409 # 0x6dc64b mime/multipart.(*Reader).NextPart+0x2b mime/multipart/multipart.go:372 # 0x259b14a github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1ea github.com/mattermost/mattermost/server/v8/channels/api4/file.go:233 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5376] @ 0x543d27 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x184f7c5 0x184f7a1 0x184f786 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184f7c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184f7a0 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x184f785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 192] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x1816a19 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1816a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:88 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184387f 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x184387e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b0a6b 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x65058a 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x650589 crypto/x509.newPolicyGraphNode+0x11e9 crypto/x509/verify.go:1277 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x175cb6d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cb6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x70c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184fd54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fd53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x633 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x7672bc 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7672bb net/http.(*Transport).roundTrip+0x8fb net/http/transport.go:650 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 240] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0xc100a5 0xc10061 0x10ce415 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e80d 0x2392543 0x483fe1 # 0xc100a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc10060 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e80c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x10c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:158 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 96] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2042cf3 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125ecdf 0x1260b39 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125ecde github.com/jmoiron/sqlx.(*Row).scanAny+0x2de github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17b868e 0x17b8670 0x17bc5da 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17b868d github.com/mattermost/mattermost/server/public/model.ArrayToJSON+0xad github.com/mattermost/mattermost/server/public/model/utils.go:493 # 0x17b866f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:94 # 0x17bc5d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:400 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x2618eff 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2618efe github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xde github.com/mattermost/mattermost/server/v8/channels/api4/system.go:673 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x53dab7 0xbc1532 0x17a2885 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xbc1531 github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x131 github.com/mattermost/mattermost/server/public/model/link_metadata.go:158 # 0x17a2884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:93 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x186ea89 0x186ea15 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186ea88 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186ea14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1042 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1245184] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1245184] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1245184] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15eb 0x1851e25 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40e486 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1736ff6 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1736ff5 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1792605 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1792604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1530 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5246c9 0x5246bd 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x258440d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5246c8 errors.New+0x208 errors/errors.go:65 # 0x5246bc fmt.Errorf+0x1fc fmt/errors.go:30 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x258440c github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xac github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184defc 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 10880] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x270d16e 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d16d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x703b4d 0x7039ac 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703b4c sync.OnceFunc+0x32c sync/oncefunc.go:18 # 0x7039ab net/http.setRequestCancel+0x18b net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x2371cfe 0x2371cc3 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371cfd github.com/mattermost/mattermost/server/v8/channels/app.mentionableUserID+0x7d github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:22 # 0x2371cc2 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x42 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:51 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x6e01c6 0x6e040e 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e01c5 compress/flate.newHuffmanBitWriter+0x45 compress/flate/huffman_bit_writer.go:97 # 0x6e040d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:570 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 901120] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173ec91 0x173eb8e 0x173eb77 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173ec90 github.com/lann/builder.Append+0x830 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173eb8d github.com/mattermost/squirrel.UpdateBuilder.Set+0x72d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173eb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x716 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2810 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xadd9e8 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd9e7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 576] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x5be9e5 0x69a68d 0x69a530 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a68c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x17ac vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a52f crypto/tls.(*clientHelloMsg).marshalMsg+0x164f crypto/tls/handshake_messages.go:195 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 1280] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 96] @ 0x16b0f34 0x16b0e53 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3200] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x53ff05 0x53e6fe 0x53df7e 0x53db79 0xbc15cc 0x17a2885 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbc15cb github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x1cb github.com/mattermost/mattermost/server/public/model/link_metadata.go:164 # 0x17a2884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:93 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x25dd135 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x25dd134 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:78 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x51f7fb 0x1b792ca 0x1b792cb 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f7fa encoding/base64.(*Encoding).EncodeToString+0xba encoding/base64/base64.go:207 # 0x1b792c9 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b792ca github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184defc 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40e486 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18539fa 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x265f828 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x265f827 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2237 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x1791e70 0x1791e51 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1791e6f github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ef github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1791e50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1477 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x565d65 0x11b1105 0x11b10d9 0x2307e9d 0x2307e9e 0xc474c2 0x254286e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0x11b1104 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0x11b10d8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x2307e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x2307e9d github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithMaster+0x1d github.com/mattermost/mattermost/server/v8/channels/app/context.go:14 # 0xc474c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).With+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:172 # 0x254286d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x12d github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1601 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 720] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x122b8a6 0x1245b6f 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122b8a5 github.com/yuin/goldmark/renderer.NewRenderer+0xc5 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:113 # 0x1245b6e github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x12e github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:24 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b4367 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4366 github.com/mattermost/squirrel.(*updateData).ToSql+0x46 github.com/mattermost/squirrel@v0.5.0/update.go:67 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 24576] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 393216] @ 0x8fb546 0x8fbd25 0x8fba3e 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fbd24 golang.org/x/net/html.(*Tokenizer).readScript+0x64 golang.org/x/net@v0.46.0/html/token.go:400 # 0x8fba3d golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.46.0/html/token.go:330 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x183a7a5 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x461f4a 0x10e115c 0x10e0ff0 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e115b github.com/jaytaylor/html2text.(*textifyTraverseContext).emit+0x9b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:443 # 0x10e0fef github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x6f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:417 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x2462a5c 0x2462a43 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x2053c30 0x2053d8d 0x20525db 0x2051cd7 0x483fe1 # 0x2462a5b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x2462a42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x2053c2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1-range6+0x2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:724 # 0x2053d8c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6c maps/iter.go:28 # 0x20525da github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 96] @ 0x5be9e5 0x69e654 0x69e633 0x5be6e2 0x5bea71 0x69a8fd 0x69a79d 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69e653 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e632 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7e84ce 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x185912c 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7e84cd database/sql.(*DB).beginDC+0xcd database/sql/sql.go:1915 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x185912b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:853 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 393216] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4677632] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4677632] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 4677632] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0xbb7a4a 0x79d8a3 0xbb793b 0xbb7893 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbb7a49 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload.(*Regexp).ReplaceAllFunc.func2+0xc9 regexp/regexp.go:701 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0xbb793a regexp.(*Regexp).ReplaceAllFunc+0xba regexp/regexp.go:700 # 0xbb7892 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x12 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:177 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5246c9 0x5246bd 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0xc468d0 0x24c727b 0x22e981d 0x256fedb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5246c8 errors.New+0x208 errors/errors.go:65 # 0x5246bc fmt.Errorf+0x1fc fmt/errors.go:30 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0xc468cf github.com/mattermost/mattermost/server/public/shared/request.(*Context).T+0x2f github.com/mattermost/mattermost/server/public/shared/request/context.go:64 # 0x24c727a github.com/mattermost/mattermost/server/v8/channels/app/slashcommands.(*groupmsgProvider).GetCommand+0x5a github.com/mattermost/mattermost/server/v8/channels/app/slashcommands/command_groupmsg.go:36 # 0x22e981c github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x65c github.com/mattermost/mattermost/server/v8/channels/app/command.go:117 # 0x256feda github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/command.go:477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ecbd 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ecbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:207 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb0fef5 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fef4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4f4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 16] @ 0xb15c05 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15c04 github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x4a4 github.com/mattermost/mattermost/server/public/shared/markdown/list.go:216 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0eeb 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 640] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x12578b9 0x125c637 0x182a1ef 0x18198e5 0x16e8f8a 0x2001cd1 0x24651cd 0x2661a08 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x18198e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateDeviceId+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:327 # 0x16e8f89 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateDeviceId+0x89 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11573 # 0x2001cd0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateDeviceId+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9140 # 0x24651cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).AttachDeviceId+0x8c github.com/mattermost/mattermost/server/v8/channels/app/session.go:279 # 0x2661a07 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x5e7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2418 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x1817b45 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817b44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x177b226 0x177b1cb 0x177b1d9 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x177b225 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x105 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x177b1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x177b1d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:353 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 3637248] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x171e025 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171e024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1280] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179c9d2 0x179c8cf 0x179c8b6 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179c9d1 github.com/lann/builder.Append+0x711 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c8ce github.com/mattermost/squirrel.UpdateBuilder.Set+0x60e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c8b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x5f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:157 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x4e6e0d 0x2715b6a 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e6e0c bytes.Repeat+0xac bytes/bytes.go:682 # 0x2715b69 crypto/internal/fips140/ecdsa.newDRBG[...]+0x129 crypto/internal/fips140/ecdsa/hmacdrbg.go:66 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 20480] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 32] @ 0x16b1a5c 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b6654 0x16b6573 0x18562b1 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b6653 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18562b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:703 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1853b38 0x1853ab4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1853b37 github.com/mattermost/squirrel.CaseBuilder.Else+0x7f7 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1853ab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x773 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:580 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x6311e5 0x6324d9 0x6324af 0x25e3c89 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3c88 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:648 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25e3d05 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3d04 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:657 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x63c77f 0x64d974 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63c77e crypto/x509.(*CertPool).findPotentialParents+0x4de crypto/x509/cert_pool.go:165 # 0x64d973 crypto/x509.(*Certificate).buildChains+0x113 crypto/x509/verify.go:1015 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x7759e5 0x775b86 0x70580b 0x7046f3 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7759e4 net/http.Header.Clone+0xe4 net/http/header.go:105 # 0x775b85 net/http.cloneOrMakeHeader+0x285 net/http/clone.go:116 # 0x70580a net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:759 # 0x7046f2 net/http.(*Client).do+0x232 net/http/client.go:609 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b0a05 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e2a9 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c021a 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c0219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xcd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 12288] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185352d 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185352c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:559 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 581632] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 7979008] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 7979008] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 7979008] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x25998cf 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25998ce github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x3ce github.com/mattermost/mattermost/server/v8/channels/api4/file.go:127 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1212416] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 8372224] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 8372224] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 6784] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8372224] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25a01e7 0x25a014e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a01e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a014d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:618 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 450560] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 450560] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x17c1ac5 0x17c1a96 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17c1ac4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x384 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:891 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 507904] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 6463488] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 6463488] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 6463488] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2531328] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2531328] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 2531328] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x259b80c 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x259b80b github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x8ab github.com/mattermost/mattermost/server/v8/channels/api4/file.go:319 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x272bcb1 0x272c1f7 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x272bcb0 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x272c1f6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x238a789 0x238a752 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238a788 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xc488 github.com/mattermost/mattermost/server/public/model/websocket_message.go:269 # 0x238a751 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:752 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x183a7a5 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46140a 0x171dab6 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:122 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x185349f 0x18533e6 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185349e github.com/mattermost/squirrel.SelectBuilder.From+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18533e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x18563b7 0x18562e4 0x18562cf 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18563b6 github.com/lann/builder.Append+0x376 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18562e3 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2a3 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18562ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:704 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182c706 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb0d85d 0xb0cdeb 0xb160d5 0xb132ec 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d85c github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).AddChild+0x7c github.com/mattermost/mattermost/server/public/shared/markdown/document.go:20 # 0xb0cdea github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x8ca github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb1299c 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1299b github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x183a7a5 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1857bd0 0x1857ad5 0x1857abc 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857bcf github.com/lann/builder.Append+0x60f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1857ad4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x514 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857abb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:760 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0xb0df37 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0df36 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).Continuation+0x36 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:42 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 5632] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c1ac5 0x17c1a96 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c1ac4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x384 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:891 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x604d2d 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x604d2c net.(*netFD).connect+0x22c net/fd_unix.go:103 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 144] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6144] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x2417c0b 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x2417c0a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x16a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2356 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16a5070 0x16a5071 0x16a508a 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a506f bytes.(*Buffer).String+0x20f bytes/buffer.go:71 # 0x16a5070 github.com/mattermost/squirrel.(*sqlizerBuffer).ToSql+0x210 github.com/mattermost/squirrel@v0.5.0/case.go:42 # 0x16a5089 github.com/mattermost/squirrel.(*caseData).ToSql+0x229 github.com/mattermost/squirrel@v0.5.0/case.go:91 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x114fa87 0x1197af4 0x23a43d2 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x23a078e 0x23a51d2 0x23a5cff 0x483fe1 # 0x114fa86 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xa6 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:932 # 0x1197af3 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:245 # 0x23a43d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x23a078d github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xed github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 4480] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [2: 48] @ 0xb0d789 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d788 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x48037c 0x4aaf48 0x703c6a 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x703c69 net/http.setRequestCancel+0x449 net/http/client.go:398 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18539fa 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25a01e7 0x25a014e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a01e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a014d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:618 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8765440] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 13139968] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 19693568] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 19693568] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 19693568] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 19693568] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 32640] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x1658569 0x1658557 0x24995cb 0x24a8ffd 0x24a8fca 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1658568 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:4820 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a8ffc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x7fc github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a8fc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x7c9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2778 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1858875 0x18587b1 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x5c0adc 0x5c0aa7 0x5c09cf 0x5be6e2 0x5bea71 0x5bc1ff 0x5c0778 0x5c06bf 0x5be6e2 0x5bea71 0x5bc1ff 0x5c05be 0x5c4cdc 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5c0adb vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x2bb vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x5c0aa6 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x286 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x5c09ce crypto/ecdsa.addASN1IntBytes.func1+0x1ae crypto/ecdsa/ecdsa.go:319 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c0777 crypto/ecdsa.addASN1IntBytes+0x77 crypto/ecdsa/ecdsa.go:315 # 0x5c06be crypto/ecdsa.encodeSignature.func1+0x3e crypto/ecdsa/ecdsa.go:299 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c05bd crypto/ecdsa.encodeSignature+0xbd crypto/ecdsa/ecdsa.go:298 # 0x5c4cdb crypto/ecdsa.signFIPS[...]+0xfb crypto/ecdsa/ecdsa.go:255 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 6144] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 6389760] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 10043392] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 630784] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 15769600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 15769600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 15769600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 15769600] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17788b3 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17788b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40cc89 0x122ba33 0x1246642 0x122bfc3 0x48e78b 0x122bb1a 0x122baf3 0x1232de4 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122ba32 github.com/yuin/goldmark/renderer.(*renderer).Register+0x32 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:128 # 0x1246641 github.com/mattermost/mattermost/server/v8/channels/utils.(*notificationRenderer).RegisterFuncs+0x4a1 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:90 # 0x122bfc2 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xe2 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:148 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122bb19 sync.(*Once).Do+0x79 sync/once.go:69 # 0x122baf2 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:136 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 16] @ 0x16b15eb 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17c8c2e 0x17c8bdd 0x17c8bdb 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c8c2d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c8bdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c8bda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1507 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x18563e5 0x18562e4 0x18562cf 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18563e4 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18562e3 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2a3 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18562ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:704 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 43520] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xc1788b 0x2048b50 0x2047f27 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xc1788a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 54400] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 640] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf185 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x461d32 0x4612a5 0x4614c5 0x1b791b3 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b791b2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xb2 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:74 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 1536] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17bbcfc 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17bbcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:316 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 144] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x4125d4 0x773154 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x773153 net/http.(*persistConn).roundTrip+0x553 net/http/transport.go:2796 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2373828 0x2373635 0x2373565 0x2372ee5 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2373827 github.com/mattermost/mattermost/server/v8/channels/app.(*MentionResults).addMention+0x287 github.com/mattermost/mattermost/server/v8/channels/app/mention_results.go:78 # 0x2373634 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).addMentions+0x94 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:134 # 0x2373564 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).checkForMention+0x144 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:118 # 0x2372ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:44 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x17dc167 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x17dc166 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0xa66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3113 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 48] @ 0x271aa05 0x271db55 0x5c42d5 0x5c4c55 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271aa04 crypto/internal/fips140/ecdsa.NewPublicKey[...]+0x64 crypto/internal/fips140/ecdsa/ecdsa.go:185 # 0x271db54 crypto/internal/fips140/ecdsa.NewPrivateKey[...]+0x94 crypto/internal/fips140/ecdsa/ecdsa.go:160 # 0x5c42d4 crypto/ecdsa.privateKeyToFIPS[...]+0x94 crypto/ecdsa/ecdsa.go:409 # 0x5c4c54 crypto/ecdsa.signFIPS[...]+0x74 crypto/ecdsa/ecdsa.go:244 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x5569e5 0x546a45 0x5470aa 0x548a63 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5569e4 encoding/json.appendString[...]+0x144 encoding/json/encode.go:988 # 0x546a44 encoding/json.stringEncoder+0x3c4 encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xc08447 0xc08382 0xc08223 0x2371e28 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08446 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys-range1+0x86 github.com/mattermost/mattermost/server/public/model/user.go:616 # 0xc08381 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys.SplitSeq.splitSeq.func1+0x101 strings/iter.go:66 # 0xc08222 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys+0x122 github.com/mattermost/mattermost/server/public/model/user.go:609 # 0x2371e27 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:57 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x17254ce 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17254cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:884 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1792] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 65536] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x18077b7 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18077b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:215 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17cb469 0x17cb3af 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17cb468 github.com/mattermost/squirrel.SelectBuilder.From+0x568 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17cb3ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1671 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x4bb4e3 0x4bb250 0x4bb036 0x11992d2 0x113e77f 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4bb035 io.CopyBuffer+0x35 io/io.go:402 # 0x11992d1 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2d1 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x184dc91 0x184dc3d 0x184dc3b 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184dc90 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x90 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x184dc3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x184dc3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0xadd9e8 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd9e7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 32] @ 0x1851e4e 0x11adcb0 0x483fe1 # 0x1851e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 144] @ 0x535245 0x535350 0x53a585 0x16b4987 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16b4986 github.com/mattermost/squirrel.(*updateData).ToSql+0x666 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x125a215 0x12594d8 0x125a972 0x125b7e5 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125a214 github.com/jmoiron/sqlx.compileNamedQuery+0xc94 github.com/jmoiron/sqlx@v1.4.0/named.go:405 # 0x12594d7 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x125a971 github.com/jmoiron/sqlx.bindNamedMapper+0x171 github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10240] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1858a3a 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x1858a39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:816 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x2417bc9 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x2417bc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x128 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2351 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10880] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xc1788b 0x2048b50 0x2047f27 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xc1788a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 64] @ 0xb15a2b 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15a2a github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x2ca github.com/mattermost/mattermost/server/public/shared/markdown/list.go:207 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x16b07a8 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb11536 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11535 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x995 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:364 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x265264c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x265264b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x34b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x173682f 0x16c59bd 0x1fd9f43 0x22ce093 0x240eeb0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x173682e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x16c59bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2069 # 0x1fd9f42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1729 # 0x22ce092 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2243 # 0x240eeaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1411 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x17bc2b6 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17bc2b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x275 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:386 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17ba45a 0x17ba3f3 0x17ba377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17ba459 github.com/mattermost/squirrel.InsertBuilder.Into+0x14f9 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x17ba3f2 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x1492 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x17ba376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16ab751 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x69bd18 0x69bc3e 0x69bc34 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69bd17 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x2e37 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69bc3d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8+0x2d5d vendor/golang.org/x/crypto/cryptobyte/builder.go:79 # 0x69bc33 crypto/tls.(*clientHelloMsg).marshalMsg+0x2d53 crypto/tls/handshake_messages.go:347 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 2816] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc08b56 0xc08f97 0x24995dd 0x2495768 0x249567e 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08b55 github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x215 github.com/mattermost/mattermost/server/public/model/user.go:696 # 0xc08f96 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x116 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x2495767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x2a7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x249567d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1bd github.com/mattermost/mattermost/server/v8/channels/app/user.go:766 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x12578b9 0x125c637 0x1829914 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x17c501a 0x17c4ce3 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0x1868d13 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0x1868d12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:556 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110e1c3 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110e1c2 github.com/lib/pq/scram.(*Client).serverSignature+0x122 github.com/lib/pq@v1.10.9/scram/scram.go:259 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 32768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 90112] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186e9b2 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186e9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1039 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 30720] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184f934 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 320] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb15a2b 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15a2a github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x2ca github.com/mattermost/mattermost/server/public/shared/markdown/list.go:207 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x17279aa 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17279a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1066 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x50f21d 0xadaa45 0xadd3ef 0xade4e5 0xae0633 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadd3ee encoding/gob.(*Decoder).decodeArrayHelper+0x36e encoding/gob/decode.go:563 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [5: 40960] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x1853c51 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1853c50 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x910 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x12575bb 0x125c637 0x1829914 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x2591785 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2591784 github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x122b89c 0x1245b6f 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122b89b github.com/yuin/goldmark/renderer.NewRenderer+0xbb github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:112 # 0x1245b6e github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x12e github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:24 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 112] @ 0x539cff 0x8e29f4 0x8e298b 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e29f3 strings.Split+0xd3 strings/strings.go:361 # 0x8e298a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:263 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 4096] @ 0x461d32 0x4612a5 0x46140a 0x1b5474b 0x1b505e5 0x1b50421 0x1b4f84a 0x1b70ac2 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x1b5474a code.sajari.com/docconv/v2.XMLToText+0x2ea code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:45 # 0x1b505e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x1b50420 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x1b4f849 code.sajari.com/docconv/v2.ConvertDocx+0x809 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1b70ac1 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1a1 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [5: 17280] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40e486 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x51f7fb 0x1b792ca 0x1b792cb 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f7fa encoding/base64.(*Encoding).EncodeToString+0xba encoding/base64/base64.go:207 # 0x1b792c9 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b792ca github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 57344] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0xb0f1b5 0xb12598 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0f1b4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x1f4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:165 # 0xb12597 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f7 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x936485 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x936484 github.com/hashicorp/yamux.(*Stream).readData+0x144 github.com/hashicorp/yamux@v0.1.2/stream.go:504 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x1258891 0x1258892 0x12551dd 0x1258717 0x125847b 0x1258c31 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x17bc1a5 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x1258890 reflect.Value.Interface+0xf0 reflect/value.go:1484 # 0x1258891 github.com/jmoiron/sqlx.bindArgs.func1+0xf1 github.com/jmoiron/sqlx@v1.4.0/named.go:188 # 0x12551dc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByNameFunc+0xfc github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:195 # 0x1258716 github.com/jmoiron/sqlx.bindArgs+0x236 github.com/jmoiron/sqlx@v1.4.0/named.go:182 # 0x125847a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x1258c30 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bc1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:361 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x79cff2 0xc151b7 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0xc151b6 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x96 github.com/mattermost/mattermost/server/public/model/utils.go:719 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x53a2bd 0x539fcf 0xc1514a 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53a2bc strings.FieldsFunc+0x13c strings/strings.go:454 # 0x539fce strings.Fields+0x8e strings/strings.go:399 # 0xc15149 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:713 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [4: 32768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [2: 6144] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x25e1a19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x25e1a18 github.com/mattermost/mattermost/server/v8/channels/api4.getPost+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:459 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb15ca6 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb15ca5 github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x545 github.com/mattermost/mattermost/server/public/shared/markdown/list.go:217 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x174b4fc 0x174b4a4 0x1744997 0x16c160c 0x1fa6ecc 0x1fd54a8 0x22d5ff5 0x253d705 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x174b4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x174b4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.performSearch+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3670 # 0x1744996 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeam+0xcf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3155 # 0x16c160b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeam+0xeb github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1043 # 0x1fa6ecb github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchChannelStore).AutocompleteInTeam+0x6eb github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/channel_layer.go:242 # 0x1fd54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeam+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:915 # 0x22d5ff4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForTeam+0x154 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3057 # 0x253d704 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeam+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1201 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17bbdd5 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17bbdd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:319 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 49152] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0x25e6fac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x25e6fab github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x10b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x18816b3 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18816b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x232 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:42 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb0c965 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c964 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x444 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1220bfe 0x1220bf2 0x12259d1 0x1225c07 0x1224425 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1220bfd github.com/yuin/goldmark/ast.NewParagraph+0xfd github.com/yuin/goldmark@v1.7.13/ast/block.go:171 # 0x1220bf1 github.com/yuin/goldmark/parser.(*paragraphParser).Open+0xf1 github.com/yuin/goldmark@v1.7.13/parser/paragraph.go:30 # 0x12259d0 github.com/yuin/goldmark/parser.(*parser).openBlocks+0x890 github.com/yuin/goldmark@v1.7.13/parser/parser.go:969 # 0x1225c06 github.com/yuin/goldmark/parser.(*parser).parseBlocks+0x106 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1057 # 0x1224424 github.com/yuin/goldmark/parser.(*parser).Parse+0x144 github.com/yuin/goldmark@v1.7.13/parser/parser.go:876 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 9472] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24ad2ca 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24ad2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x329 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:129 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x24a3c8e 0x265499c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a3c8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteUsersInChannel+0x20d github.com/mattermost/mattermost/server/v8/channels/app/user.go:2285 # 0x265499b github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x61b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1299 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x271638e 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 512] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1725573 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1725572 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:885 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x24f8fc5 0x24f8f90 0x24f8f7b 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8fc4 net/textproto.MIMEHeader.Set+0xf24 net/textproto/header.go:22 # 0x24f8f8f net/http.Header.Set+0xeef net/http/header.go:40 # 0x24f8f7a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xeda github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:230 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0xbdb429 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdb428 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x128 github.com/mattermost/mattermost/server/public/model/post.go:907 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 32] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa71e 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6912] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x683a65 0x683a66 0x770087 0x5717e3 0x571913 0x770b92 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x683a64 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:591 # 0x683a65 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1385 # 0x770086 net/http.(*persistConn).Read+0x46 net/http/transport.go:2122 # 0x5717e2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x571912 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x770b91 net/http.(*persistConn).readLoop+0x171 net/http/transport.go:2275 0: 0 [1: 64] @ 0x798c33 0x798bc1 0x79a09f 0x799ccb 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x798c32 regexp.mergeRuneSets.func2+0x212 regexp/onepass.go:182 # 0x798bc0 regexp.mergeRuneSets+0x1a0 regexp/onepass.go:192 # 0x79a09e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x799cca regexp.makeOnePass+0x32a regexp/onepass.go:442 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 640] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2488365 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2488364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1919 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0xc100a5 0xc10061 0x10ce415 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e80d 0x2392543 0x483fe1 # 0xc100a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc10060 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e80c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x10c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:158 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 475136] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 5529600] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 14336] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x683a65 0x683a66 0x571d17 0x4bad51 0x7120a5 0x712073 0x7127dd 0x7376fa 0x736b19 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x683a64 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:591 # 0x683a65 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1385 # 0x571d16 bufio.(*Reader).Read+0x196 bufio/bufio.go:245 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x7120a4 io.ReadFull+0x64 io/io.go:354 # 0x712072 net/http.http2readFrameHeader+0x32 net/http/h2_bundle.go:1805 # 0x7127dc net/http.(*http2Framer).ReadFrame+0x7c net/http/h2_bundle.go:2072 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x182c706 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x271638e 0x65d785 0x6bf1be 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1851831 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851830 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:475 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 32640] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 96] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17ac0ff 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17ac0fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xc3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:86 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x183de3b 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x183de3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:657 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650f54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650f53 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f53 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25a1745 0x25a171e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25a1744 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x264 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25a171d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x23d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:713 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3923968] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16b47e5 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b47e4 github.com/mattermost/squirrel.(*updateData).ToSql+0x4c4 github.com/mattermost/squirrel@v0.5.0/update.go:95 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x1817d97 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:190 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x268886f 0x268889b 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x268886e encoding/json.NewDecoder+0x6e encoding/json/stream.go:32 # 0x268889a github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0x9a github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186f917 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x240bc85 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x240bc84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:990 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x18534e5 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18534e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:559 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 16] @ 0x408f2e 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2652cbc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2652cbb github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x27b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 640] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a01e7 0x25a014e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a01e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a014d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:618 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x125cad3 0x18296ff 0x17e0b1b 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125cad2 github.com/jmoiron/sqlx.(*DB).Beginx+0x52 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:346 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17e0b1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:46 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb13ab0 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb13aaf github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x56f github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:62 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0eeb 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x12575bb 0x125c637 0x1829914 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 1152] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ca01b 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x545e9d 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x545e9c encoding/json.boolEncoder+0x1dc encoding/json/encode.go:519 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x1710a55 0x16c07b2 0x1fd446b 0x24f1504 0x2661a9b 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1710a54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlAuditStore.Save+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/audit_store.go:44 # 0x16c07b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:791 # 0x1fd446a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:723 # 0x24f1503 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x2661a9a github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x67a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2424 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 30965760] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 33030144] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x54e3fa 0xc14273 0x2660eb0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc14272 github.com/mattermost/mattermost/server/public/model.MapFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:472 # 0x2660eaf github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1725517 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1725516 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:885 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 48] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16b4987 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16b4986 github.com/mattermost/squirrel.(*updateData).ToSql+0x666 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 9472] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x16a4a3b 0x16a3f05 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b6b4c 0x16b6a7b 0x16b6b70 0x179d467 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x179d466 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x586 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:205 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184ec08 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184ec07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x4e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:210 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x53df7e 0x53db79 0x1868d13 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868d12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:556 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0154 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18304b3 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18304b2 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3f2 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 384] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 48] @ 0x53ff05 0x53e6fe 0x53df7e 0x54e3fa 0x25e6fac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x25e6fab github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x10b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x25dd135 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x25dd134 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:78 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 327680] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 4096] @ 0x6db667 0x6db600 0x259944d 0x259b07f 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6db666 bufio.NewReaderSize+0xc6 bufio/bufio.go:57 # 0x6db5ff mime/multipart.NewReader+0x5f mime/multipart/multipart.go:122 # 0x259944c github.com/mattermost/mattermost/server/v8/channels/api4.multipartReader+0x6c github.com/mattermost/mattermost/server/v8/channels/api4/file.go:71 # 0x259b07e github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x11e github.com/mattermost/mattermost/server/v8/channels/api4/file.go:221 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1871b6f 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1871b6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1331 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x604da7 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x10e4e57 0x10e4e2d 0x10e5a3f 0x10e5a3a 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x604da6 net.(*netFD).connect+0x2a6 net/fd_unix.go:117 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x10e4e56 net.(*Dialer).Dial+0x196 net/dial.go:504 # 0x10e4e2c github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServerAdvanced+0x16c github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:143 # 0x10e5a3e github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServer+0x3e github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:153 # 0x10e5a39 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x39 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:268 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [12: 35389440] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [14: 41287680] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [21: 15482880] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 41287680] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 15482880] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22afd6d 0x22af19e 0x26566ca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22afd6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToManageBot+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:370 # 0x22af19d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0x9d github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x26566c9 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1428 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x265f828 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x265f827 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2237 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x52d1bb 0x52d151 0x527593 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x52d1ba fmt.(*buffer).writeString+0x11a fmt/print.go:108 # 0x52d150 fmt.(*pp).doPrintf+0xb0 fmt/print.go:1032 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 117719040] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c96fd 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c96fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1559 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x187007e 0x187000b 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x187007d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x45d github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x187000a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1182 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b660b 0x179d3e7 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16b660a github.com/mattermost/squirrel.UpdateBuilder.Where+0xaa github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179d3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x506 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:204 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x250511f 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x183a6fe 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183a6fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:334 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0eeb 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x17b0533 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0532 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:152 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x12575bb 0x125c637 0x1829914 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c983e 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c983d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x7dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1563 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x262ac5e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x262ac5d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:689 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x183df1f 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183df1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:657 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x713966 0x7128e7 0x7376fa 0x736b19 0x483fe1 # 0x713965 net/http.http2parseSettingsFrame+0xa5 net/http/h2_bundle.go:2317 # 0x7128e6 net/http.(*http2Framer).ReadFrame+0x186 net/http/h2_bundle.go:2083 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x203fbbd 0x203fb97 0x2042ba5 0x20424d0 0x483fe1 # 0x203fbbc github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x5c github.com/mattermost/mattermost/server/public/model/websocket_message.go:269 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2042ba4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x324 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:443 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 24] @ 0x16b0918 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x17c5bea 0x17c5b77 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c5be9 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x729 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c5b76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16abac5 0x16ab6b5 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16abac4 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x204 github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1838305 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1838304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 48] @ 0x23e4865 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23e4864 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x238ec56 0x238ec61 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x238ec55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x10955 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x238ec60 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10960 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:543 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x83b557 0x83b530 0x202fd45 0x202fd1a 0x24523e5 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x83b556 github.com/wiggin77/merror.New+0x76 github.com/wiggin77/merror@v1.0.5/merror.go:23 # 0x83b52f github.com/mattermost/logr/v2.(*Logr).RemoveTargets+0x4f github.com/mattermost/logr/v2@v2.0.22/logr.go:205 # 0x202fd44 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).RemoveTargets+0xa4 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:380 # 0x202fd19 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RemoveUnlicensedLogTargets+0x79 github.com/mattermost/mattermost/server/v8/channels/app/platform/log.go:97 # 0x24523e4 github.com/mattermost/mattermost/server/v8/channels/app.NewServer.func7+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:417 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x2046ec5 0x2029802 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x185222d 0x11adcb0 0x483fe1 # 0x185222c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x24c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1851e99 0x1851e43 0x11adcb0 0x483fe1 # 0x1851e98 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3d8 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b0efc 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0xaf7f66 0x1143545 0x11434ec 0x1196691 0x24087b7 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2407bf3 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x1143544 net/rpc.(*Client).Call+0x144 net/rpc/client.go:321 # 0x11434eb github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageWillBeUpdated+0xeb github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:880 # 0x1196690 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageWillBeUpdated+0x70 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:100 # 0x24087b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost.func1+0x76 github.com/mattermost/mattermost/server/v8/channels/app/post.go:776 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2407bf2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xb72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:775 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [2: 64] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173a687 0x173a592 0x173a591 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a686 github.com/lann/builder.Append+0x546 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a591 github.com/mattermost/squirrel.UpdateBuilder.Set+0x451 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x450 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2554 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x23fefe7 0x23ffbab 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fefe6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).deduplicateCreatePost+0x66 github.com/mattermost/mattermost/server/v8/channels/app/post.go:125 # 0x23ffbaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:165 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x2047b85 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2047b84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb636ae 0xb6363b 0xc13c33 0xc13c50 0x24f82a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0xb636ad github.com/google/uuid.NewRandomFromReader+0x2d github.com/google/uuid@v1.6.0/version4.go:48 # 0xb6363a github.com/google/uuid.NewRandom+0x5a github.com/google/uuid@v1.6.0/version4.go:41 # 0xc13c32 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc13c4f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1f79b92 0x1f79b8d 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f79b91 github.com/mattermost/mattermost/server/public/model.NewPostList+0x1f1 github.com/mattermost/mattermost/server/public/model/post_list.go:26 # 0x1f79b8c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:99 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x17bff6f 0x17bfeb3 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17bff6e github.com/mattermost/squirrel.SelectBuilder.From+0xa2e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bfeb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x972 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:757 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0154 0x16ae34e 0x16ae4b7 0x16aee9a 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x270c5cd 0x2716787 0x271f75f 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2716786 crypto/internal/fips140/ecdsa.bits2octets[...]+0xa6 crypto/internal/fips140/ecdsa/ecdsa.go:322 # 0x271f75e crypto/internal/fips140/ecdsa.Sign[...]+0x15e crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 512] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x270d4e5 0x270d511 0x5cda05 0x5c8508 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d4e4 crypto/internal/fips140/bigmod.NewNat+0x44 crypto/internal/fips140/bigmod/nat.go:73 # 0x270d510 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:551 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c8507 crypto/rsa.VerifyPSS+0x167 crypto/rsa/fips.go:156 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17bfcd0 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x17bfccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x78f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:754 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [2: 64] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 1728] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16b4448 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4447 github.com/mattermost/squirrel.(*updateData).ToSql+0x127 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x179f60f 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x179f60e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x253801e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x253801d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x3d github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4620a7 0x1115e58 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1115e57 github.com/lib/pq.parseOpts+0x197 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x543d27 0xc1f0d7 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1f0d6 github.com/mattermost/mattermost/server/public/model.SidebarCategorySorting.MarshalJSON+0x36 github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:96 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 13568] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1745625 0x1745496 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1745624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xbc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1745495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xa35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3229 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b080f 0x1745bd8 0x1745b86 0x174576f 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1745bd7 github.com/mattermost/squirrel.StatementBuilderType.Select+0x157 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1745b85 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.autocompleteInTeamForSearchDirectMessages+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3251 # 0x174576e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xd0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3234 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x1744ba5 0x1744b4d 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1744ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1744b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3160 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1746355 0x174576f 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1746354 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.autocompleteInTeamForSearchDirectMessages+0x8d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3281 # 0x174576e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xd0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3234 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1745625 0x1745496 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1745624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xbc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1745495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xa35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3229 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0xc12b05 0x7daf0a 0x7db59a 0x7dc125 0x7dc6ed 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bc1a5 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc12b04 github.com/mattermost/mattermost/server/public/model.StringInterface.Value+0x64 github.com/mattermost/mattermost/server/public/model/utils.go:215 # 0x7daf09 database/sql/driver.callValuerValue+0x129 database/sql/driver/types.go:238 # 0x7db599 database/sql/driver.defaultConverter.ConvertValue+0x659 database/sql/driver/types.go:248 # 0x7dc124 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7dc6ec database/sql.driverArgsConnLocked+0x56c database/sql/convert.go:179 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bc1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:361 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x5275a6 0x23e48c5 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x23e48c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x2716350 0x27161f3 0x271591f 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x27161f2 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:57 # 0x271591e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:169 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x1f84487 0x247d0c8 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f84486 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Team+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:453 # 0x247d0c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x185249e 0x1852446 0x1852444 0x11adcb0 0x483fe1 # 0x185249d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1852445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1852443 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:429 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 2304] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x24303dc 0x24303d7 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24303db github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x3bb github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x24303d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:70 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2732f25 0x2738225 0x6bf06d 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79f7ec 0x79d0aa 0x79d8a3 0x79cfe5 0x10e0fd5 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79f7eb regexp.(*Regexp).expand+0x56b regexp/regexp.go:968 # 0x79d0a9 regexp.(*Regexp).ReplaceAllString.func1+0x69 regexp/regexp.go:578 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2f6d 0x124b805 0x239f545 0x239be98 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2f6c github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0xac github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x124b804 github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x544 github.com/mattermost/mattermost/server/v8/channels/utils/time.go:71 # 0x239f544 github.com/mattermost/mattermost/server/v8/channels/app.getGroupMessageNotificationEmailSubject+0x64 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:304 # 0x239be97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x5b7 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:62 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x23727db 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23727da github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xb5a github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:77 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x650517 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x650516 crypto/x509.newPolicyGraphNode+0x1176 crypto/x509/verify.go:1276 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x173a8b8 0x173a7c7 0x173a7c6 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a8b7 github.com/lann/builder.Append+0x777 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a7c6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x686 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a7c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x685 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2556 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x173e56f 0x173e546 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x173e56e github.com/mattermost/squirrel.StatementBuilderType.Update+0x10e github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x173e545 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2806 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x620165 0x619fd0 0x61973b 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x620164 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x619fcf net.(*netFD).dial+0x78f net/sock_posix.go:143 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17bfffa 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17bfff9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xab9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:760 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 5376] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 128] @ 0xc13a09 0x22ccdcf 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x22ccdce github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0x10e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2114 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x4d4f45 0x4d527d 0x4d2fbe 0x4d3e05 0x4d3df9 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x4d3e04 os.Open+0x44 os/file.go:370 # 0x4d3df8 os.ReadFile+0x38 os/file.go:800 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 27136] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1869652 0x18695e9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1869651 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x131 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18695e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0xc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:611 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x112ae3f 0x112ad7f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112ae3e github.com/lib/pq.ParseURL.func1+0x7fe github.com/lib/pq@v1.10.9/url.go:46 # 0x112ad7e github.com/lib/pq.ParseURL+0x73e github.com/lib/pq@v1.10.9/url.go:66 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0311 0x16b03d0 0x175b22e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0310 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x175b22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x1113865 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1113864 github.com/lib/pq.Open+0x64 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54547d 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54547c encoding/json.addrMarshalerEncoder+0x1dc encoding/json/encode.go:475 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5f8b32 0x5f8a45 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f8b31 net.addrList.partition+0x831 net/ipsock.go:121 # 0x5f8a44 net.(*Dialer).DialContext+0x744 net/dial.go:573 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x110de64 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x110de63 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.10.9/scram/scram.go:238 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18438c5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18438c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x79d7f1 0x79d2cb 0x1829e25 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16b44be 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b44bd github.com/mattermost/squirrel.(*updateData).ToSql+0x19d github.com/mattermost/squirrel@v0.5.0/update.go:82 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 96] @ 0x16b1ff1 0x16b20b0 0x173b2ce 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1ff0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173b2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x118d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x5f1d1a 0x5f1c90 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x5f1d19 net.sortByRFC6724withSrcs+0x59 net/addrselect.go:25 # 0x5f1c8f net.sortByRFC6724+0x4f net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24ab59d 0x24ab55d 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24ab59c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x65c github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x24ab55c github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x61c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2975 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16ac7b4 0x182c706 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x7403d0 0x740825 0x754170 0x753f04 0x74e817 0x5732f5 0x5735ad 0x754d0d 0x7549ea 0x20a6d6f 0x24e2cd6 0x2508bf1 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7403cf net/http.Header.sortedKeyValues+0x8f net/http/header.go:170 # 0x740824 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x75416f net/http.Header.WriteSubset+0x190f net/http/header.go:187 # 0x753f03 net/http.(*chunkWriter).writeHeader+0x16a3 net/http/server.go:1577 # 0x74e816 net/http.(*chunkWriter).Write+0x36 net/http/server.go:376 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x24e2cd5 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5b5 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:165 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c9b5d 0x17c9ab2 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c9b5c github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xafc github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c9ab1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xa51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1569 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x5f8735 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5437e7 0x5437d0 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x24e27fc 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x4b1ff6 0x4b3937 0x4b1470 0x124b57c 0x239edb0 0x239beec 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b1ff5 time.LoadLocationFromTZData+0x8f5 time/zoneinfo_read.go:252 # 0x4b3936 time.loadLocation+0xb6 time/zoneinfo_read.go:535 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239edaf github.com/mattermost/mattermost/server/v8/channels/app.getDirectMessageNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:274 # 0x239beeb github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x60b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:59 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 1507328] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 753664] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 163840] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x264967c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264967b github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:364 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173881f 0x16c5527 0x1fd99ad 0x1f6ef86 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173881e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2359 # 0x16c5526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2000 # 0x1fd99ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1665 # 0x1f6ef85 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:166 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x112a66a 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x112a669 github.com/lib/pq.ParseURL+0x29 github.com/lib/pq@v1.10.9/url.go:33 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 2129920] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1870365 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1870364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1199 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2662400] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x48f3f2 0x48e925 0x81444a 0x455278 0x446605 0x4464ee 0x483fe1 # 0x48f3f1 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x814449 github.com/francoispqt/gojay.init.2+0x69 github.com/francoispqt/gojay@v1.2.13/encode_pool.go:25 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x25963ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x25963ee github.com/mattermost/mattermost/server/v8/channels/api4.getEmojisByNames+0x28e github.com/mattermost/mattermost/server/v8/channels/api4/emoji.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x1258891 0x1258892 0x12551dd 0x1258717 0x125847b 0x1258c31 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x1258890 reflect.Value.Interface+0xf0 reflect/value.go:1484 # 0x1258891 github.com/jmoiron/sqlx.bindArgs.func1+0xf1 github.com/jmoiron/sqlx@v1.4.0/named.go:188 # 0x12551dc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByNameFunc+0xfc github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:195 # 0x1258716 github.com/jmoiron/sqlx.bindArgs+0x236 github.com/jmoiron/sqlx@v1.4.0/named.go:182 # 0x125847a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x1258c30 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x110cbf7 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x110cbf6 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.10.9/scram/scram.go:79 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x535245 0x535350 0x53a585 0x16abab4 0x16ab6b5 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16abab3 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1f3 github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x6fa671 0x6fa56b 0x6f91d1 0x736608 0x7358f1 0x735a86 0x7355ec 0x7330a9 0x7325c5 0x731e96 0x483fe1 # 0x6fa670 vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x150 vendor/golang.org/x/net/http2/hpack/tables.go:60 # 0x6fa56a vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x6f91d0 vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x2d0 vendor/golang.org/x/net/http2/hpack/encode.go:68 # 0x736607 net/http.(*http2ClientConn).writeHeader+0x147 net/http/h2_bundle.go:9751 # 0x7358f0 net/http.(*http2ClientConn).encodeHeaders.func3+0x70 net/http/h2_bundle.go:9685 # 0x735a85 net/http.(*http2ClientConn).encodeHeaders.func1+0xa5 net/http/h2_bundle.go:9571 # 0x7355eb net/http.(*http2ClientConn).encodeHeaders+0x58b net/http/h2_bundle.go:9678 # 0x7330a8 net/http.(*http2clientStream).encodeAndWriteHeaders+0x2e8 net/http/h2_bundle.go:9092 # 0x7325c4 net/http.(*http2clientStream).writeRequest+0x6e4 net/http/h2_bundle.go:8988 # 0x731e95 net/http.(*http2clientStream).doRequest+0x55 net/http/h2_bundle.go:8901 0: 0 [1: 48] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0x22b26fd 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0x22b26fc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x3c github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c6c5a 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6c59 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x499 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 96] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x188346a 0x16fb084 0x20166ea 0x1f8048e 0x24b6a18 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1883469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlWebhookStore.GetIncoming+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/webhook_store.go:123 # 0x16fb083 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerWebhookStore).GetIncoming+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16595 # 0x20166e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerWebhookStore).GetIncoming+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13084 # 0x1f8048d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheWebhookStore.GetIncoming+0xcd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/webhook_layer.go:51 # 0x24b6a17 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func1+0x77 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:738 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc65 0x110cc55 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc64 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:168 # 0x110cc54 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:84 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x2046ec5 0x2029802 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x179f645 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x179f644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:363 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 1152] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x16abc67 0x16ab6b5 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x16b0005 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 144] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 9728] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x16abc67 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2421636 0x240c9db 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421635 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessiblePost+0x55 github.com/mattermost/mattermost/server/v8/channels/app/post_helpers.go:217 # 0x240c9da github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/post.go:1079 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 64] @ 0x535245 0x535350 0x53a585 0x16ab632 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16ab631 github.com/mattermost/squirrel.(*insertData).ToSql+0x271 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x69e00f 0x69decf 0x69ded4 0x5be6e2 0x5bea71 0x69de54 0x69de33 0x5be6e2 0x5bea71 0x69b03d 0x69aedd 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69e00e vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18e vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69dece vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x69ded3 crypto/tls.(*clientHelloMsg).marshalMsg.func12.1+0x53 crypto/tls/handshake_messages.go:260 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69de53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69de32 crypto/tls.(*clientHelloMsg).marshalMsg.func12+0x12 crypto/tls/handshake_messages.go:258 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b03c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x215c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69aedc crypto/tls.(*clientHelloMsg).marshalMsg+0x1ffc crypto/tls/handshake_messages.go:257 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x171db3c 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171db3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x1db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:124 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0xc12cc9 0xc12c80 0x24f1aaa 0x24fc5e5 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc12cc8 strings.(*Builder).WriteString+0x88 strings/builder.go:108 # 0xc12c7f github.com/mattermost/mattermost/server/public/model.(*AppError).Error+0x3f github.com/mattermost/mattermost/server/public/model/utils.go:251 # 0x24f1aa9 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x1e9 github.com/mattermost/mattermost/server/v8/channels/web/context.go:113 # 0x24fc5e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x904 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:410 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 48] @ 0x461d32 0x4612a5 0x46140a 0x171ddd7 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171ddd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x476 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:133 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x22cef32 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x22cef31 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x171 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2334 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9bb8 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x407ff2 0x479ce9 0x1889294 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1889293 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:169 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x48ed3d 0x48ec06 0x48e97c 0x4bb908 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74e817 0x5732f5 0x754e05 0x755be5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4bb907 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74e816 net/http.(*chunkWriter).Write+0x36 net/http/server.go:376 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x754e04 net/http.(*response).finishRequest+0x44 net/http/server.go:1715 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [4: 256] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x110dea2 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x110dea1 github.com/lib/pq/scram.(*Client).clientProof+0x101 github.com/lib/pq@v1.10.9/scram/scram.go:240 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x184f2a7 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f2a6 github.com/mattermost/squirrel.SelectBuilder.Join+0x3e6 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 24320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x262ac5e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x262ac5d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:689 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb0fbd0 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fbcf github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x1cf github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:222 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 18432] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408105 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x631c73 0x631c16 0x632257 0x63213f 0x242917c 0x2424ca5 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x631c72 strings.(*Builder).WriteString+0x372 strings/builder.go:108 # 0x631c15 net/url.resolvePath+0x315 net/url/url.go:1072 # 0x632256 net/url.(*URL).ResolveReference+0xd6 net/url/url.go:1121 # 0x63213e net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x242917b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:801 # 0x2424ca4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x784 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:406 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0xb16936 0xb16840 0xb162eb 0xb0c3bb 0xb0d1af 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb16935 strings.(*Builder).WriteString+0x1b5 strings/builder.go:108 # 0xb1683f github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbf github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb162ea github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x8a github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:46 # 0xb0c3ba github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x7a github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb0d1ae github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0xc8e github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:82 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2662400] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1064960] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2662400] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x2738070 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x23957bc 0x2395794 0x2382a7c 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x23957bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x67b github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x2395793 github.com/mattermost/mattermost/server/v8/channels/app.(*App).userAllowsEmail+0x653 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1137 # 0x2382a7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x477b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:422 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3194880] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4ba945 0x250fecd 0x250ce3d 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba944 path.Join+0x184 path/path.go:172 # 0x250fecc github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x6c github.com/mattermost/mattermost/server/v8/channels/web/web.go:81 # 0x250ce3c github.com/mattermost/mattermost/server/v8/channels/web.root+0x19c github.com/mattermost/mattermost/server/v8/channels/web/static.go:76 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 532480] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x240bbda 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x240bbd9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:966 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 13568] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x177b290 0x177b25c 0x177b25b 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177b28f github.com/mattermost/squirrel.newPart+0x16f github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x177b25b github.com/mattermost/squirrel.SelectBuilder.From+0x13b github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x177b25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:355 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0xb0df37 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0df36 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).Continuation+0x36 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:42 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5857280] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 532480] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x239235d 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x239235c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func4+0x7c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:90 0: 0 [1: 532480] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x239235d 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x239235c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func4+0x7c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:90 0: 0 [1: 532480] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 532480] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 532480] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 532480] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x2335688 0x232c387 0x2029922 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x2335687 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0x307 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1510 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 532480] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x177c931 0x16d13b7 0x1faa5e2 0x1fe73bd 0x233562a 0x232c387 0x2029922 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x177c930 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.SetContent+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:440 # 0x16d13b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).SetContent+0x96 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5138 # 0x1faa5e1 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.SetContent+0x81 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:108 # 0x1fe73bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).SetContent+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4182 # 0x2335629 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0x2a9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1507 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 532480] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x177c931 0x16d13b7 0x1faa5e2 0x1fe73bd 0x233562a 0x232c387 0x2029922 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x177c930 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.SetContent+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:440 # 0x16d13b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).SetContent+0x96 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5138 # 0x1faa5e1 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.SetContent+0x81 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:108 # 0x1fe73bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).SetContent+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4182 # 0x2335629 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0x2a9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1507 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 557056] @ 0x4bbd29 0x1b7248c 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x1b7248b github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x28b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 442368] @ 0x4bbd29 0x1b7248c 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x1b7248b github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x28b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 352256] @ 0x4bbd29 0x1b7248c 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x1b7248b github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x28b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 98304] @ 0x4bbd29 0x1b7248c 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x1b7248b github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x28b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 28672] @ 0x4bbd29 0x1b7248c 0x1b6fccc 0x1b70788 0x2335589 0x2335475 0x232c387 0x2029922 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x1b7248b github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x28b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1b6fccb github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x10b github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1b70787 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.ExtractWithExtraExtractors+0x687 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:47 # 0x2335588 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.Extract+0x208 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:21 # 0x2335474 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1497 # 0x232c386 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x2029921 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GoBuffered.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:37 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x18445e5 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18445e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x859fd3 0x1f4a01a 0x1f49d4a 0x483fe1 # 0x859fd2 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x32 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x1f4a019 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x59 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:72 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x239c57e 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x239c57d github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xc9d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:81 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x762306 0x762340 0x7473cd 0x772534 0x483fe1 # 0x762305 io.LimitReader+0x305 io/io.go:461 # 0x76233f net/http.(*transferWriter).writeBody+0x33f net/http/transfer.go:372 # 0x7473cc net/http.(*Request).write+0xacc net/http/request.go:762 # 0x772533 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2593 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x16b1634 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17c5186 0x17c4cfb 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse.func1+0x825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1213 # 0x17c4cfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x39a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1226 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x539cff 0x111cf5c 0x111cf3c 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x111cf5b strings.Split+0x27b strings/strings.go:361 # 0x111cf3b github.com/lib/pq.(*conn).parseComplete+0x25b github.com/lib/pq@v1.10.9/conn.go:1500 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0x17b859a 0x17b8bb3 0x17c5505 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x17c5504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1239 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x747f6b 0x23a74da 0x23a74a6 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x747f6a net/http.NewRequestWithContext+0x3ca net/http/request.go:935 # 0x23a74d9 net/http.NewRequest+0x379 net/http/request.go:863 # 0x23a74a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x345 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:565 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22cf308 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22cf307 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x47 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x18541f0 0x18542ae 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18541ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0xeaf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:45 # 0x18542ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xf6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:616 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x185a5a5 0x185a57f 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x185a5a4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185a57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1058 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0xb159ae 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb159ad github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x24d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:203 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bc1a5 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bc1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:361 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x25e793d 0x25e741f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x25e793c github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x5c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:968 # 0x25e741e github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x57e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:948 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17417d0 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17417cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3006 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12575bb 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x4c2ee5 0x4c2ee6 0x569b85 0x569b51 0x1643e5c 0x1643d93 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ee4 internal/filepathlite.(*lazybuf).string+0x844 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643e5b path/filepath.Join+0xdb path/filepath/path.go:131 # 0x1643d92 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x12 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x183049f 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183049e github.com/mattermost/squirrel.UpdateBuilder.Set+0x3de github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x111ce6a 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x182e72d 0x182a886 0x182a744 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182a885 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErrWithResult+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:482 # 0x182a743 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0xa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 98304] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x183d9c9 0x183d951 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x183d9c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2e8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x183d950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:624 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x2632f5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2632f5a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x1da github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2649885 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2649884 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x25c3535 0x25c349a 0x25c3489 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25c3534 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientLicense+0x2d4 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:299 # 0x25c3499 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ClientLicense+0x239 github.com/mattermost/mattermost/server/v8/channels/app/license.go:129 # 0x25c3488 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x228 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:45 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1792] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b1c74 0x17c6eff 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1c73 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c6efe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x175c4d1 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:491 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb0ed 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x240ed49 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb0ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1663 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x240ed48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1397 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 40960] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x61d0c5 0x619dbb 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x61d0c4 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x619dba net.(*netFD).dial+0x57a net/sock_posix.go:141 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a99a9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b499a 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4999 github.com/mattermost/squirrel.(*updateData).ToSql+0x679 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x6cf347 0x6cf172 0x6ccfa8 0x22ad628 0x22ad60f 0x24f95ef 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x6ccfa7 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x22ad627 net/http.Header.Get+0x267 net/http/header.go:50 # 0x22ad60e github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x24e github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:478 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4620a7 0x1115e87 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115e86 github.com/lib/pq.parseOpts+0x1c6 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16b15eb 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0xb6f358 0xb6f34c 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb6f357 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xb6f34b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x22ad5af 0x24f95ef 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x22ad5ae github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1ee github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x633136 0x633123 0x631365 0x23f9f08 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x633135 slices.Collect[...]+0x35 slices/iter.go:58 # 0x633122 slices.Sorted[...]+0x22 slices/iter.go:64 # 0x631364 net/url.Values.Encode+0x84 net/url/url.go:1008 # 0x23f9f07 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5a7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:205 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x183858a 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1838589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x7e4ebf 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e4ebe database/sql.(*DB).conn+0x99e database/sql/sql.go:1440 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24b695b 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24b695a github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7a github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:764 0: 0 [1: 160] @ 0x11eca77 0x11ec9ab 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11eca76 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.CommonBaseSearchPaths+0xf6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:23 # 0x11ec9aa github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x2a github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x18079e8 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18079e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:229 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x48f2f9 0x48e925 0x931ddb 0x931ac2 0x93136a 0x93136b 0x9315a5 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x931369 github.com/hashicorp/yamux.(*Session).waitForSend+0x149 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x93136a github.com/hashicorp/yamux.(*Session).Ping+0x14a github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [1: 48] @ 0x1121d75 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 480] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x17e52fc 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x17e52fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0xdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:49 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x79db07 0x79cfe5 0xc151f1 0x240081e 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 43008] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 55296] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x24f9085 0x24f9058 0x24f9043 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f9084 net/textproto.MIMEHeader.Set+0xfe4 net/textproto/header.go:22 # 0x24f9057 net/http.Header.Set+0xfb7 net/http/header.go:40 # 0x24f9042 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xfa2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:231 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 192] @ 0x64d4ad 0x64dbc6 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64d4ac crypto/x509.alreadyInChain+0xac crypto/x509/verify.go:919 # 0x64dbc5 crypto/x509.(*Certificate).buildChains.func1+0xc5 crypto/x509/verify.go:965 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17d3a99 0x16dacb2 0x1ff1a8b 0x1f7a33b 0x2433dbe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17d3a98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0xb78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2422 # 0x16dacb1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7658 # 0x1ff1a8a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6102 # 0x1f7a33a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:149 # 0x2433dbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2fd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x49197b 0x491953 0x6752f6 0x6752b1 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x49197a internal/sync.newEntryNode[...]+0x2fa internal/sync/hashtriemap.go:572 # 0x491952 internal/sync.(*HashTrieMap[...]).LoadOrStore+0x2d2 internal/sync/hashtriemap.go:151 # 0x6752f5 sync.(*Map).LoadOrStore+0x135 sync/hashtriemap.go:67 # 0x6752b0 crypto/tls.(*certCache).newCert+0xf0 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1024] @ 0x12578b9 0x125c637 0x182b7ac 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c6ed9 0x17c6e66 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c6ed8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x718 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c6e65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16b15eb 0x1728767 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728766 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1128 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5275a6 0x16aa6cd 0x16aaada 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aa6cc github.com/mattermost/squirrel.Lt.toSql+0x40c github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x1f49dc5 0x483fe1 # 0x1f49dc4 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0x124 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:51 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179fc47 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179fc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x306 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 576] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0005 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 120] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 416] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x810da6 0x810da4 0x847955 0x842cf9 0x84297d 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x810da5 github.com/francoispqt/gojay.(*Encoder).Write+0x85 github.com/francoispqt/gojay@v1.2.13/encode.go:194 # 0x810da3 github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x83 github.com/francoispqt/gojay@v1.2.13/encode_object.go:18 # 0x847954 github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1d4 github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [2: 32] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2048] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2652728 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652727 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x427 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1083 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x184f90d 0x184f90e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184f90c github.com/mattermost/squirrel.Expr+0x1ec github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184f90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0eeb 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 655360] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbc188e 0xbc1882 0x242923e 0x242732f 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc188d hash/fnv.New32+0x2d hash/fnv/fnv.go:45 # 0xbc1881 github.com/mattermost/mattermost/server/public/model.GenerateLinkMetadataHash+0x21 github.com/mattermost/mattermost/server/public/model/link_metadata.go:192 # 0x242923d github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:811 # 0x242732e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:633 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1120427 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1120426 github.com/lib/pq.parseEnviron+0x26 github.com/lib/pq@v1.10.9/conn.go:2010 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1858a3a 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1858a39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:816 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18535ae 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18535ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x26d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:560 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x175c6f7 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c6f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x271638e 0x2732f5a 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10240] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x1b4cf9f 0x1b4cf0b 0x23bd645 0x23bd1b2 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1b4cf9e golang.org/x/text/transform.NewReader+0x2be golang.org/x/text@v0.30.0/transform/transform.go:139 # 0x1b4cf0a golang.org/x/net/html/charset.NewReader+0x22a golang.org/x/net@v0.46.0/html/charset/charset.go:122 # 0x23bd644 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:79 # 0x23bd1b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:55 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e336 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:160 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1833d09 0x243413b 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1833d08 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDbVersion+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:401 # 0x243413a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x67a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:337 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x535245 0x535350 0x53a585 0x179d425 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x179d424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:205 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 512] @ 0x54e9ae 0x54e645 0x54e315 0x2059533 0x23be374 0x24280d9 0x2427572 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2059532 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x23be373 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:152 # 0x24280d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5b8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:736 # 0x2427571 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x331 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:658 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a99fe 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x64045c 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64045b crypto/x509.parseName+0x11b crypto/x509/parser.go:146 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 512] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17bdf85 0x17bdf37 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17bdf84 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x4e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17bdf36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x496 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:593 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0xb76113 0xb760ee 0xb760a5 0xb72918 0xb7279e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72917 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x117 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:122 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x4125d4 0x76b558 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x76b557 net/http.(*Transport).getConn+0x217 net/http/transport.go:1504 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 4767744] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3342336] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0a05 0x16b09d3 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x183ec94 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ec93 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xb3 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 384] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 3072] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x12578b9 0x125c637 0x182b7ac 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2048] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb0ed 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb0ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1663 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x54373c 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54373b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1074 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1408] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x2671348 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x2671347 github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x4e7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3610 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x63316c 0x63312b 0x633123 0x6dd336 0x10e401d 0x10e400d 0x10e2ff7 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x63316b slices.AppendSeq[...]+0x6b slices/iter.go:50 # 0x63312a slices.Collect[...]+0x2a slices/iter.go:58 # 0x633122 slices.Sorted[...]+0x22 slices/iter.go:64 # 0x6dd335 mime/multipart.(*Writer).CreatePart+0x175 mime/multipart/writer.go:111 # 0x10e401c gopkg.in/mail%2ev2.(*messageWriter).createPart+0x7c gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x10e400c gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x6c gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x10e2ff6 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x216 gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 480] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x240be91 0x240be0e 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x240be90 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0xd0 github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x240be0d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd8c5 0x2429927 0x2427445 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2429926 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:872 # 0x2427444 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x204 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:646 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x17f2e49 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17f2e48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:114 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc0dfa6 0xc0dfa7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dfa5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x765 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dfa6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x766 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 13440] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb1428b 0xb1348e 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1428a github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x64a github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:111 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x187205d 0x16f56b1 0x201013d 0x236fed6 0x236f2b6 0x265ce65 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187205c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetForLogin+0x25c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1362 # 0x16f56b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetForLogin+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15080 # 0x201013c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetForLogin+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11888 # 0x236fed5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserForLogin+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/login.go:113 # 0x236f2b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AuthenticateUserForLogin+0x155 github.com/mattermost/mattermost/server/v8/channels/app/login.go:46 # 0x265ce64 github.com/mattermost/mattermost/server/v8/channels/api4.login+0x5c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2018 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x4ba945 0x250fecd 0x24fc8cc 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba944 path.Join+0x184 path/path.go:172 # 0x250fecc github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x6c github.com/mattermost/mattermost/server/v8/channels/web/web.go:81 # 0x24fc8cb github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xbeb github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:431 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f8b2 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1779aff 0x1779a46 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1779afe github.com/mattermost/squirrel.SelectBuilder.From+0x1be github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1779a45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:219 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0xc08f4c 0xc08e93 0x24995dd 0x2495768 0x249567e 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f4b github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xcb github.com/mattermost/mattermost/server/public/model/user.go:732 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x2495767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x2a7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x249567d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1bd github.com/mattermost/mattermost/server/v8/channels/app/user.go:766 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x172e0e5 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x172e0e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1534 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54771b 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54771a encoding/json.mapEncoder.encode+0x49a encoding/json/encode.go:782 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 576] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112167f 0x23eb695 0x7e919d 0x23eb3c5 0x118baea 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x23eb694 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:134 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eb3c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x118bae9 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [4: 128] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x273794b 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x273794a crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0xaa crypto/internal/fips140/tls13/tls13.go:97 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173a7a5 0x173a6b2 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a7a4 github.com/lann/builder.Append+0x664 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a6b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x571 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9191424] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 10149888] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [2: 1277952] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1408] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 11214848] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x16b0918 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa695 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x18536ec 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x67c590 0x68112a 0x68275e 0x76fb46 0x5732f5 0x77258c 0x483fe1 # 0x67c58f crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:522 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68275d crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1248 # 0x76fb45 net/http.persistConnWriter.Write+0x25 net/http/transport.go:1960 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x77258b net/http.(*persistConn).writeLoop+0x1cb net/http/transport.go:2606 0: 0 [1: 1408] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xc16038 0xc0eb5b 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc16037 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x1728e45 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728e44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1174 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0efc 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 960] @ 0x12575bb 0x125c637 0x182a1ef 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x175b072 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:413 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17be0df 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17be0de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x63e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:595 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17bde50 0x17bde36 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17bde4f github.com/mattermost/squirrel.StatementBuilderType.Select+0x3af github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bde35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:591 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 2560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17b59dd 0x17b59ac 0x17b594d 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b59dc github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x11c github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17b59ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17b594c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:46 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x17e173e 0x17e1671 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x17e173d github.com/mattermost/squirrel.InsertBuilder.Columns+0x21d github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17e1670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x1a0a506 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:147 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2560] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7a00bd 0x2073f31 0x2073ebd 0x2431665 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7a00bc regexp.(*Regexp).FindStringSubmatch+0xbc regexp/regexp.go:1044 # 0x2073f30 github.com/Masterminds/semver/v3.coerceNewVersion+0x30 github.com/Masterminds/semver/v3@v3.4.0/version.go:237 # 0x2073ebc github.com/Masterminds/semver/v3.NewVersion+0x31c github.com/Masterminds/semver/v3@v3.4.0/version.go:165 # 0x2431664 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x644 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:79 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1727a32 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1727a31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1065 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2407579 0x240754f 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2407578 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f8 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x240754e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x4ce github.com/mattermost/mattermost/server/v8/channels/app/post.go:720 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1817cee 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817ced github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 672] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b667b 0x16b6573 0x18561f1 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18561f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x1b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:702 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79f7ec 0x79d0aa 0x79d8a3 0x79cfe5 0x10e0fd5 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79f7eb regexp.(*Regexp).expand+0x56b regexp/regexp.go:968 # 0x79d0a9 regexp.(*Regexp).ReplaceAllString.func1+0x69 regexp/regexp.go:578 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x270e339 0x270e2f6 0x270e2fa 0x270f53e 0x270eaff 0x2710c3a 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270f53d crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0x9dd crypto/internal/fips140/bigmod/nat.go:844 # 0x270eafe crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x17e crypto/internal/fips140/bigmod/nat.go:768 # 0x2710c39 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x2f9 crypto/internal/fips140/bigmod/nat.go:1056 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 64] @ 0x122b809 0x122b7fd 0x1232b98 0x1232bf4 0x1245f12 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x122b808 github.com/yuin/goldmark/renderer.NewConfig+0x28 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:21 # 0x122b7fc github.com/yuin/goldmark/renderer.NewRenderer+0x1c github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:107 # 0x1232b97 github.com/yuin/goldmark.DefaultRenderer+0xd7 github.com/yuin/goldmark@v1.7.13/markdown.go:24 # 0x1232bf3 github.com/yuin/goldmark.New+0x33 github.com/yuin/goldmark@v1.7.13/markdown.go:103 # 0x1245f11 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x111 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:53 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 4480] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x61006c 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x61006b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x12578b9 0x125c637 0x1829914 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4727 0x2650ba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4726 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2365 # 0x2650ba4 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2ba4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1010 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x2611e7c 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2611e7b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x151b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:211 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 512] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16a6114 0x17ac0d3 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16a6113 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x17ac0d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xc12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:81 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0xbdc9e5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdc9e4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x44 github.com/mattermost/mattermost/server/public/model/post_list.go:34 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x8fdcc5 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdcc4 golang.org/x/net/html.(*Tokenizer).Token+0x1c4 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 80] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x171ef4f 0x171f954 0x1742778 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171ef4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x6ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:254 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x1742777 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb165f4 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165f3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:69 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa7d1 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa7d0 github.com/mattermost/squirrel.Lt.toSql+0x510 github.com/mattermost/squirrel@v0.5.0/expr.go:345 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e4205 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e4204 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:701 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461e06 0x2733093 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 480] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x176074e 0x16ca567 0x1fdf5c4 0x22e2f84 0x2558d17 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x176074d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x222d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:809 # 0x16ca566 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3245 # 0x1fdf5c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2698 # 0x22e2f83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:142 # 0x2558d16 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x5b6 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17cb5fc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x240ed49 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17cb5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1677 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x240ed48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1397 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0xbfb57a 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb579 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xdb9 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2816] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x265461b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x265461a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x29a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1257 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7947cb 0x79b88d 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7947ca regexp/syntax.(*Regexp).Simplify+0x60a regexp/syntax/simplify.go:32 # 0x79b88c regexp.compile+0x6c regexp/regexp.go:175 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x172042c 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x172042b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x36b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:451 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x264967c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264967b github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:364 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x543d27 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xadbf98 0xadd743 0xaddb45 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb44 encoding/gob.(*Decoder).decodeMap+0x384 encoding/gob/decode.go:606 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x238094e 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238094d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x264d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:230 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x23a23d3 0x23a22f5 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a23d2 github.com/golang-jwt/jwt/v5.NewWithClaims+0x1d32 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:51 # 0x23a22f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c54 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 288] @ 0x5be9e5 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x173a4bf 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173a4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x54386d 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x543d27 0xbd75b6 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbd75b5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:355 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264dc7c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264dc7b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x13b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x264d6db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x264d6da github.com/mattermost/mattermost/server/v8/channels/api4.getFilteredUsersStats+0xc3a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:716 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x264d6db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x264d6da github.com/mattermost/mattermost/server/v8/channels/api4.getFilteredUsersStats+0xc3a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:716 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25354bb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25354ba github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x6ba github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:488 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x182f197 0x182f0ef 0x182f0ee 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x182f196 github.com/lann/builder.Append+0x616 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182f0ee github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x56e github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x182f0ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:50 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16a52c5 0x16a52b4 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a52c4 github.com/mattermost/squirrel.newPart+0xa4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16a52b3 github.com/mattermost/squirrel.newWhenPart+0x93 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x203fc9e 0x203fc67 0x2041891 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203fc9d github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x13d github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x203fc66 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x106 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:211 # 0x2041890 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0xa30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x183d933 0x183d878 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x183d932 github.com/mattermost/squirrel.SelectBuilder.From+0x252 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x183d877 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x197 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:623 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x544613 0x546bfa 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x173881f 0x16c5527 0x1fd99ad 0x1f6ef86 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x173881e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2359 # 0x16c5526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2000 # 0x1fd99ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1665 # 0x1f6ef85 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:166 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae271 0x16ae35d 0x16a4cf7 0x16a4f9d 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16a4cf6 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x16a4f9c github.com/mattermost/squirrel.(*caseData).ToSql+0x13c github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 384] @ 0x76cd65 0x76d9bc 0x76c318 0x76c155 0x483fe1 # 0x76cd64 net/http.(*persistConn).addTLS+0x424 net/http/transport.go:1721 # 0x76d9bb net/http.(*Transport).dialConn+0x99b net/http/transport.go:1790 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 96] @ 0xbfb6f8 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb6f7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf37 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1728cea 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xa69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1155 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a01e7 0x25a014e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a01e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a014d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:618 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1146880] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 409600] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [2: 36503552] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 36503552] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [2: 36503552] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 480] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0x1853819 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853818 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x4d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:570 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2560] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264967c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264967b github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:364 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650bfa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650bf9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2bf9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1736f89 0x1736ecd 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1736f88 github.com/mattermost/squirrel.SelectBuilder.From+0x1e8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1736ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2230 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18520e7 0x18520c6 0x11adcb0 0x483fe1 # 0x18520e6 github.com/mattermost/squirrel.SelectBuilder.From+0x106 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18520c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 16] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6105d5 0x6105ae 0x60dc45 0x5f77c5 0x5f8708 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x6105d4 net/netip.Addr.AsSlice+0x7f4 net/netip/netip.go:730 # 0x6105ad net.(*Resolver).lookupIPAddr+0x7cd net/lookup.go:310 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [3: 48] @ 0x175c605 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:501 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x60ffd2 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x60ffd1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x17c1db4 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1db3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:905 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x175b63f 0x175b5e4 0x175b5f2 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x175b63e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x87e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x175b5e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x823 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x175b5f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x831 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x569cec 0x568918 0x568919 0x11ec3f0 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x569ceb path/filepath.walkSymlinks+0x12b path/filepath/symlink.go:78 # 0x568917 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x568918 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x11ec3ef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:45 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f702f1 0x2392477 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f702f0 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:322 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 256] @ 0x48ed3d 0x48ec06 0x48e97c 0x7768b3 0x7557ea 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7768b2 net/http.newBufioReader+0x32 net/http/server.go:852 # 0x7557e9 net/http.(*conn).serve+0x269 net/http/server.go:2013 0: 0 [3: 48] @ 0x179eaaa 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x179eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 7040] @ 0x6751fe 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6751fd crypto/tls.(*certCache).newCert+0x3d crypto/tls/cache.go:81 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x697f91 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x697f90 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x70 crypto/tls/handshake_client_tls13.go:829 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x680e93 0x6802bf 0x683f87 0x683da6 0x73005a 0x7302d8 0x785225 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x680e92 crypto/tls.(*Conn).writeRecordLocked+0x3b2 crypto/tls/conn.go:988 # 0x6802be crypto/tls.(*Conn).sendAlertLocked+0xbe crypto/tls/conn.go:849 # 0x683f86 crypto/tls.(*Conn).closeNotify+0xc6 crypto/tls/conn.go:1470 # 0x683da5 crypto/tls.(*Conn).Close+0x65 crypto/tls/conn.go:1439 # 0x730059 net/http.(*http2ClientConn).closeConn+0x99 net/http/h2_bundle.go:8559 # 0x7302d7 net/http.(*http2ClientConn).closeIfIdle+0x177 net/http/h2_bundle.go:8588 # 0x785224 net/http.(*http2ClientConn).onIdleTimeout+0x24 net/http/h2_bundle.go:8553 0: 0 [1: 128] @ 0x7e4ebf 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e4ebe database/sql.(*DB).conn+0x99e database/sql/sql.go:1440 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ab645 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab644 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 48] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 224] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2048] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1489a85 0x14806ba 0x202698e 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b70f 0x245b70a 0x245a6d7 0xbf187e 0x483fe1 # 0x1489a84 github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x3924 github.com/mattermost/mattermost/server/v8/config/client.go:420 # 0x14806b9 github.com/mattermost/mattermost/server/v8/config.GenerateClientConfig+0x39 github.com/mattermost/mattermost/server/v8/config/client.go:15 # 0x202698d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:218 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b70e github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b709 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1314 # 0x245a6d6 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1209 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0x2026d9a 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2026d99 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x459 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:237 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x182f197 0x182f0ef 0x182f0ee 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f196 github.com/lann/builder.Append+0x616 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182f0ee github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x56e github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x182f0ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:50 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 1536] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x2057105 0x20570fd 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2057104 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).SetActiveChannelID+0x924 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:337 # 0x20570fc github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0x91c github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:85 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 64] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1280] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2046e85 0x2029802 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1843ae5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1843ae4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1131 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0xbdcac5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0xb1428b 0xb1348e 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1428a github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x64a github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:111 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2040a14 0x2046ec5 0x2029802 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2040a13 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x573 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0daaf 0xb124f2 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0daae github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseEmoji+0x16e github.com/mattermost/mattermost/server/public/shared/markdown/emoji.go:36 # 0xb124f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x151 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:596 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbddcdd 0xbddb5f 0x240f32a 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddcdc github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x41c github.com/mattermost/mattermost/server/public/model/post_list.go:137 # 0xbddb5e github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x29e github.com/mattermost/mattermost/server/public/model/post_list.go:153 # 0x240f329 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1451 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54508f 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54508e encoding/json.marshalerEncoder+0x14e encoding/json/encode.go:456 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16b5c90 0x179c495 0x179c466 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x179c494 github.com/mattermost/squirrel.StatementBuilderType.Update+0x1d4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x179c465 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:153 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x757772 0x75774b 0x75774a 0x7579ae 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x757771 net/textproto.MIMEHeader.Set+0x91 net/textproto/header.go:22 # 0x75774a net/http.Header.Set+0x6a net/http/header.go:40 # 0x757749 net/http.Error+0x69 net/http/server.go:2323 # 0x7579ad net/http.NotFound+0x2d net/http/server.go:2330 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa71e 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 512] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x7a00bd 0x2071028 0x207078c 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7a00bc regexp.(*Regexp).FindStringSubmatch+0xbc regexp/regexp.go:1044 # 0x2071027 github.com/Masterminds/semver/v3.parseConstraint+0x47 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:259 # 0x207078b github.com/Masterminds/semver/v3.NewConstraint+0x32b github.com/Masterminds/semver/v3@v3.4.0/constraints.go:47 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17ad459 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17ad458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x3d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17cb5fc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17cb5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1677 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x2073f50 0x2073ebd 0x20713b4 0x207078c 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2073f4f github.com/Masterminds/semver/v3.coerceNewVersion+0x4f github.com/Masterminds/semver/v3@v3.4.0/version.go:242 # 0x2073ebc github.com/Masterminds/semver/v3.NewVersion+0x31c github.com/Masterminds/semver/v3@v3.4.0/version.go:165 # 0x20713b3 github.com/Masterminds/semver/v3.parseConstraint+0x3d3 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:286 # 0x207078b github.com/Masterminds/semver/v3.NewConstraint+0x32b github.com/Masterminds/semver/v3@v3.4.0/constraints.go:47 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x172df36 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x172df35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x2f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1529 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69f3b4 0x69f393 0x5be6e2 0x5bea71 0x6992a5 0x69917d 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69f3b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69f392 crypto/tls.(*clientHelloMsg).marshalMsg.func2+0x12 crypto/tls/handshake_messages.go:122 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6992a4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x3c4 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69917c crypto/tls.(*clientHelloMsg).marshalMsg+0x29c crypto/tls/handshake_messages.go:121 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0xc08f4c 0xc08e93 0x1658510 0x1656f09 0x1656ee1 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f4b github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xcb github.com/mattermost/mattermost/server/public/model/user.go:732 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x165850f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:45 # 0x1656f08 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x68 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x1656ee0 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x40 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:131 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x185165f 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185165e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x35e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:440 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x64039a 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x640399 crypto/x509.parseName+0x59 crypto/x509/parser.go:117 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 48] @ 0x11adbf1 0x18516da 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11adbf0 golang.org/x/sync/errgroup.(*Group).Go+0x50 golang.org/x/sync@v0.17.0/errgroup/errgroup.go:78 # 0x18516d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x3d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:440 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1791e09 0x1791d4d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1791e08 github.com/mattermost/squirrel.SelectBuilder.From+0x288 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1791d4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1476 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22aead4 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22aead3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17d3a99 0x16dacb2 0x1ff1a8b 0x1f7a33b 0x2433dbe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17d3a98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0xb78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2422 # 0x16dacb1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7658 # 0x1ff1a8a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6102 # 0x1f7a33a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:149 # 0x2433dbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2fd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184efb9 0x184ef93 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184efb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184ef92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b08ff 0x1791d4c 0x1791d1d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1791d4b github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1791d1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1475 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x259f8c7 0x259f82b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x259f8c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0xec6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x259f82a github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xe2a github.com/mattermost/mattermost/server/v8/channels/api4/file.go:574 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a99a9 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0xc100a5 0xc10061 0x10ce415 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e80d 0x2392543 0x483fe1 # 0xc100a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc10060 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e80c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x10c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:158 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 256] @ 0x48f312 0x48e925 0x24e2112 0x24e3b66 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x24e2111 github.com/klauspost/compress/gzhttp/writer/gzkp.(*pooledWriter).Close+0x51 github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:55 # 0x24e3b65 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x345 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:374 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1817cee 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817ced github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1772bc7 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1772bc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x24f1278 0x25ee285 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f1277 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x2d7 github.com/mattermost/mattermost/server/v8/channels/web/context.go:77 # 0x25ee284 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x47ed67 0x50e166 0x50e2ba 0x50e76e 0xb759db 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e76d reflect.AppendSlice+0x12d reflect/value.go:2664 # 0xb759da github.com/vmihailenco/msgpack/v5.growSliceValue+0xda github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb102c5 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb102c4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x324 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x240bbda 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x240bbd9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:966 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x173ea79 0x173e94f 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173ea78 github.com/mattermost/squirrel.UpdateBuilder.Set+0x618 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173e94e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x4ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2809 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x18522bc 0x185226c 0x11adcb0 0x483fe1 # 0x18522bb github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2db github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17e1cc5 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x17e1cc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:116 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 448] @ 0x2387947 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2387946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9646 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:656 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x24a7a1d 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7a1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2616 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x16b4d5f 0x16b4cfd 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4d5e bytes.(*Buffer).String+0xa3e bytes/buffer.go:71 # 0x16b4cfc github.com/mattermost/squirrel.(*updateData).ToSql+0x9dc github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x179af50 0x179ae85 0x179a97d 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179af4f github.com/lann/builder.Append+0x6cf github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179ae84 github.com/mattermost/squirrel.InsertBuilder.Values+0x604 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x179a97c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 2112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4cf3 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4cf2 github.com/mattermost/squirrel.(*updateData).ToSql+0x9d2 github.com/mattermost/squirrel@v0.5.0/update.go:137 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1777664] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1777664] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1777664] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 4767744] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [3: 4767744] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [3: 4767744] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17b0286 0x17b022c 0x17b01cd 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b0285 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x145 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17b022b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17b01cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x264920f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264920e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x68e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:327 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1248] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x10d4d11 0x10d46ca 0x10d4833 0x10e512e 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10d4d10 net/smtp.(*Client).ehlo+0x210 net/smtp/smtp.go:142 # 0x10d46c9 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x10d4832 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x10e512d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:183 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16ab7e3 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 139264] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [3: 2138112] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 576] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 3072] @ 0x7881de 0x788182 0x787cd2 0x787812 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0xbb78d8 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7881dd regexp/syntax.(*compiler).inst+0xbd regexp/syntax/compile.go:164 # 0x788181 regexp/syntax.(*compiler).alt+0x61 regexp/syntax/compile.go:210 # 0x787cd1 regexp/syntax.(*compiler).compile+0x1251 regexp/syntax/compile.go:154 # 0x787811 regexp/syntax.(*compiler).compile+0xd91 regexp/syntax/compile.go:129 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbb78d7 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:163 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25370c5 0x2537099 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25370c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x84 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2537098 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x58 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:626 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x543d27 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb0fc90 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24269ff 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fc8f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x28f github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24269fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x19e github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:568 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x543d27 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1536] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f1c5 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x944 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x6311e5 0x6324d9 0x6324af 0x23f9ed7 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x23f9ed6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x576 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:203 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x184f25c 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f25b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16ab751 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1a0a3a5 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x543d27 0xbd75b6 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbd75b5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:355 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x535689 0x535695 0xb12e6f 0xb0ef2f 0x2426530 0xb1350a 0xb13e02 0xb1348e 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535688 unicode/utf8.AppendRune+0x88 unicode/utf8/utf8.go:393 # 0x535694 strings.(*Builder).WriteRune+0x94 strings/builder.go:100 # 0xb12e6e github.com/mattermost/mattermost/server/public/shared/markdown.Unescape+0x2ae github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:675 # 0xb0ef2e github.com/mattermost/mattermost/server/public/shared/markdown.(*Autolink).Destination+0x4e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:95 # 0x242652f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages.func1+0x8f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:542 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13e01 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:100 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x6ea33e 0x6ea2ed 0x6ea417 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x54ea48 0x54e645 0x54e315 0x2059533 0x23be374 0x24280d9 0x2427572 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6ea33d bufio.NewReaderSize+0x15d bufio/bufio.go:57 # 0x6ea2ec bufio.NewReader+0x10c bufio/bufio.go:63 # 0x6ea416 compress/gzip.(*Reader).Reset+0x236 compress/gzip/gunzip.go:111 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2059532 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x23be373 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:152 # 0x24280d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5b8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:736 # 0x2427571 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x331 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:658 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x5d158a 0x6465cd 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5d1589 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xc9 crypto/x509/pkix/pkix.go:151 # 0x6465cc crypto/x509.parseCertificate+0x6ac crypto/x509/parser.go:984 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 2304] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb0fe71 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x2426dc5 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fe70 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x470 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x2426dc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x564 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:576 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x1852691 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0xc15085 0xc14fe7 0xbde0b8 0x25e4645 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc15084 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc14fe6 github.com/mattermost/mattermost/server/public/model.Etag+0x166 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xbde0b7 github.com/mattermost/mattermost/server/public/model.(*PostList).Etag+0x1d7 github.com/mattermost/mattermost/server/public/model/post_list.go:181 # 0x25e4644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xac4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:749 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32768] @ 0x8fb546 0x8fd29f 0x8fcecf 0x8fc82c 0x8fd519 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fd29e golang.org/x/net/html.(*Tokenizer).readTagAttrVal+0x15e golang.org/x/net@v0.46.0/html/token.go:979 # 0x8fcece golang.org/x/net/html.(*Tokenizer).readTag+0x8e golang.org/x/net@v0.46.0/html/token.go:882 # 0x8fc82b golang.org/x/net/html.(*Tokenizer).readStartTag+0x2b golang.org/x/net@v0.46.0/html/token.go:816 # 0x8fd518 golang.org/x/net/html.(*Tokenizer).Next+0x218 golang.org/x/net@v0.46.0/html/token.go:1083 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x17425a8 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17425a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x247 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3042 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184e83b 0x184e81a 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184e83a github.com/mattermost/squirrel.SelectBuilder.From+0x11a github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2423c6b 0x2423dcf 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2423c6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostMetadataForUser+0x14a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:258 # 0x2423dce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:268 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x12575bb 0x125c637 0x182b7ac 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x22e46c9 0x22e43e6 0x22e370e 0x22e32fe 0x2558d17 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22e46c8 github.com/mattermost/mattermost/server/v8/channels/app.diffChannelsBetweenCategories.func1+0x3c8 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:244 # 0x22e43e5 github.com/mattermost/mattermost/server/v8/channels/app.diffChannelsBetweenCategories+0xe5 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:252 # 0x22e370d github.com/mattermost/mattermost/server/v8/channels/app.(*App).muteChannelsForUpdatedCategories+0x38d github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:184 # 0x22e32fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0x43d github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:158 # 0x2558d16 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x5b6 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x2557b25 0x2557aae 0x2558c0d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x2557b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x2557aad github.com/mattermost/mattermost/server/v8/channels/api4.validateSidebarCategory+0x4d github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:260 # 0x2558c0c github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x4ac github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:343 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x270d16e 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d16d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 512] @ 0x48ed3d 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54547d 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54547c encoding/json.addrMarshalerEncoder+0x1dc encoding/json/encode.go:475 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x5be9e5 0x69c305 0x69c2cb 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c304 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2a4 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c2ca crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x26a crypto/tls/handshake_messages.go:356 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 320] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x8f131f 0x8f1313 0x8f8198 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8f131e golang.org/x/net/html.(*parser).addElement+0x177e golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8f1312 golang.org/x/net/html.inBodyIM+0x1772 golang.org/x/net@v0.46.0/html/parse.go:1039 # 0x8f8197 golang.org/x/net/html.inCellIM+0x397 golang.org/x/net@v0.46.0/html/parse.go:1794 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 7040] @ 0x69db15 0x69dae5 0x69d9f7 0x5be6e2 0x5bea71 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x69db14 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69dae4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69d9f6 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x56458a 0x7673b7 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7673b6 net/http.(*Transport).roundTrip+0x9f6 net/http/transport.go:667 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x461f4a 0x10e115c 0x10e0ff0 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e115b github.com/jaytaylor/html2text.(*textifyTraverseContext).emit+0x9b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:443 # 0x10e0fef github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x6f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:417 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 1344] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x757886 0x7579ae 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x757885 net/http.Error+0x1a5 net/http/server.go:2325 # 0x7579ad net/http.NotFound+0x2d net/http/server.go:2330 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b5725 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b5724 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 96] @ 0x5be9e5 0x69e8d4 0x69e8b3 0x5be6e2 0x5bea71 0x69a68d 0x69a530 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69e8d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e8b2 crypto/tls.(*clientHelloMsg).marshalMsg.func8+0x12 crypto/tls/handshake_messages.go:196 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a68c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x17ac vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a52f crypto/tls.(*clientHelloMsg).marshalMsg+0x164f crypto/tls/handshake_messages.go:195 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x18533e5 0x18533c3 0x18533a8 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18533e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18533c2 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x18533a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x6513bf 0x651395 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6513be crypto/x509.newPolicyGraphNode+0x201e crypto/x509/verify.go:1274 # 0x651394 crypto/x509.policiesValid+0x1ff4 crypto/x509/verify.go:1499 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 160] @ 0x122655e 0x1226517 0x12245bd 0x12262f9 0x12262cc 0x12244a5 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122655d github.com/yuin/goldmark/ast.NewTextSegment+0x21d github.com/yuin/goldmark@v1.7.13/ast/inline.go:184 # 0x1226516 github.com/yuin/goldmark/parser.(*parser).parseBlock+0x1d6 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1236 # 0x12245bc github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.7.13/parser/parser.go:880 # 0x12262f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1122 # 0x12262cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.7.13/parser/parser.go:1120 # 0x12244a4 github.com/yuin/goldmark/parser.(*parser).Parse+0x1c4 github.com/yuin/goldmark@v1.7.13/parser/parser.go:879 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x4bbc92 0x11ac92d 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bbc91 io.ReadAll+0x31 io/io.go:710 # 0x11ac92c github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2ec github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:32 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbdd15c 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x63cbe5 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x63cbe4 crypto/x509.(*CertPool).addCertFunc+0x284 crypto/x509/cert_pool.go:210 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 18432] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 122880] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 442368] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x183db96 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183db95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:637 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x26cb806 0x26dd436 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x446b89 0x459f57 0x47d685 0x48dc3d 0xaf6b2e 0xaf6b26 0xaf6b0f 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47d684 internal/sync.runtime_SemacquireMutex+0x24 runtime/sema.go:95 # 0x48dc3c internal/sync.(*Mutex).lockSlow+0x15c internal/sync/mutex.go:149 # 0xaf6b2d internal/sync.(*Mutex).Lock+0x4d internal/sync/mutex.go:70 # 0xaf6b25 sync.(*Mutex).Lock+0x45 sync/mutex.go:46 # 0xaf6b0e net/rpc.(*Client).send+0x2e net/rpc/client.go:72 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1725573 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1725572 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:885 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0xc13a09 0x22cef32 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x22cef31 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x171 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2334 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1376256] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4882432] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 450560] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 5881856] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 5881856] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [8: 1024] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5881856] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x17b0286 0x17b022c 0x17b01cd 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17b0285 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x145 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17b022b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17b01cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa71e 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184ecbd 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ecbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:207 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xaddbda 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xaddbd9 encoding/gob.(*Decoder).decodeMap+0x419 encoding/gob/decode.go:608 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 2064384] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 5685248] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 589824] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 294912] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 53018624] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 47972352] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 17145856] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 19783680] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 32047104] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 45547520] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 49348608] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 24576] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x78a90e 0x78a871 0x78a61b 0x78ea79 0x78cc1b 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0x207369f 0x455278 0x446605 0x4464ee 0x483fe1 # 0x78a90d regexp/syntax.(*parser).newRegexp+0xed regexp/syntax/parse.go:146 # 0x78a870 regexp/syntax.(*parser).collapse+0x50 regexp/syntax/parse.go:552 # 0x78a61a regexp/syntax.(*parser).alternate+0x15a regexp/syntax/parse.go:518 # 0x78ea78 regexp/syntax.(*parser).parseRightParen+0x58 regexp/syntax/parse.go:1416 # 0x78cc1a regexp/syntax.parse+0x49a regexp/syntax/parse.go:947 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x207369e github.com/Masterminds/semver/v3.init.1+0x1e github.com/Masterminds/semver/v3@v3.4.0/version.go:75 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [8: 21626880] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 8192] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadc81f 0xae05a8 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 24576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xc1788b 0x2048b50 0x2047f27 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xc1788a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 29184] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 4096] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 3072] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x770f9a 0x483fe1 # 0x770f99 net/http.(*persistConn).readLoop+0x579 net/http/transport.go:2363 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x12575bb 0x125c637 0x182b7ac 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x12578b9 0x125c637 0x182b7ac 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x173704e 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x173704d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ad github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x17c788e 0x16ddb92 0x1ff4e4f 0x22b0646 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x17c788d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x16ddb91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8348 # 0x1ff4e4e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6661 # 0x22b0645 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x18541f0 0x18542ae 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18541ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0xeaf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:45 # 0x18542ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xf6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:616 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x461d32 0x4612a5 0x46159d 0x112b00b 0x112af9d 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112b00a github.com/lib/pq.ParseURL.func1+0x9ca github.com/lib/pq@v1.10.9/url.go:46 # 0x112af9c github.com/lib/pq.ParseURL+0x95c github.com/lib/pq@v1.10.9/url.go:71 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x23a8166 0x238edfe 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23a8165 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ShouldSendPushNotification+0x5c5 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:613 # 0x238edfd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10afd github.com/mattermost/mattermost/server/v8/channels/app/notification.go:549 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x79db07 0x79cfe5 0xc151d0 0x240081e 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151cf github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:720 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 352] @ 0x2422492 0x2422486 0x24016e5 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17e1ce7 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x17e1ce6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:116 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x5bcf85 0x6408e5 0x6466f0 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6408e4 crypto/x509.parseAI+0x84 crypto/x509/parser.go:154 # 0x6466ef crypto/x509.parseCertificate+0x7cf crypto/x509/parser.go:998 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0xb0fe71 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fe70 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x470 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17ca01b 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 8064] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x22af270 0x26566ca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x22af26f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0x16f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:259 # 0x26566c9 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1428 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79e8f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f702f1 0x2392477 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79e8e github.com/vmihailenco/msgpack/v5.encodeMapValue+0x1ae github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:25 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f702f0 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:322 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 416] @ 0x186883e 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186883d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x15d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:536 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6144] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd8c5 0x2429927 0x2427445 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2429926 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:872 # 0x2427444 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x204 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:646 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17adb4e 0x16da44e 0x1ff1134 0x201f1ff 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17adb4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x201f1fe github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x9de github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:95 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x242778f 0x2427765 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x242778e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0xae github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2427764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:682 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 5376] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x83bd51 0x83bc9d 0x839b05 0x840f90 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83bd50 github.com/mattermost/logr/v2.LimitString+0x3d0 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x83bc9c github.com/mattermost/logr/v2.(*Logr).enqueue+0x31c github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x839b04 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x840f8f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0xb0df37 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0df36 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).Continuation+0x36 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:42 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5336 0x4d532a 0x4d531d 0x4d304c 0x4cf66b 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5335 os.openDirNolog.func1+0x35 os/file_unix.go:309 # 0x4d5329 os.ignoringEINTR+0x29 os/file_posix.go:251 # 0x4d531c os.openDirNolog+0x1c os/file_unix.go:308 # 0x4d304b os.openDir+0x2b os/file.go:408 # 0x4cf66a os.ReadDir+0x4a os/dir.go:119 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x182e72d 0x1829ac9 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829ac8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x12575bb 0x125c637 0x1829914 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 131072] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173682f 0x16c59bd 0x1fd9f43 0x22ce093 0x240eeb0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173682e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x16c59bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2069 # 0x1fd9f42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1729 # 0x22ce092 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2243 # 0x240eeaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1411 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x264d6db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x264d6da github.com/mattermost/mattermost/server/v8/channels/api4.getFilteredUsersStats+0xc3a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:716 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15eb 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x18306c7 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18306c6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x606 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 92160] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17a25bb 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17a25ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:80 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 144] @ 0x12578b9 0x125cf77 0x182bd74 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182bd73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:286 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 6912] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6144] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 401408] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 3584] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x16a951e 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x179c769 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x179c768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:156 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x182ec98 0x182ec37 0x182ec36 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x182ec97 github.com/mattermost/squirrel.InsertBuilder.Into+0x117 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x182ec36 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x182ec35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:46 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x24277f9 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x24277f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x118 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:691 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24251b8 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24251b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0xc97 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:423 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0xbfaa65 0xbfaa66 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaa64 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2a4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaa65 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2a5 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x810da6 0x810da4 0x847955 0x842cf9 0x84297d 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x810da5 github.com/francoispqt/gojay.(*Encoder).Write+0x85 github.com/francoispqt/gojay@v1.2.13/encode.go:194 # 0x810da3 github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x83 github.com/francoispqt/gojay@v1.2.13/encode_object.go:18 # 0x847954 github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1d4 github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [3: 48] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 13056] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x610143 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x610142 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:343 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x112ac25 0x112ab78 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112ac24 github.com/lib/pq.ParseURL.func1+0x5e4 github.com/lib/pq@v1.10.9/url.go:46 # 0x112ab77 github.com/lib/pq.ParseURL+0x537 github.com/lib/pq@v1.10.9/url.go:61 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xc0d9d2 0xc0d9d3 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d9d1 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d9d2 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x49cac5 0x49ce52 0x619c70 0x61973b 0x60e6b8 0x621587 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49ce51 syscall.Getsockname+0x71 syscall/syscall_linux.go:713 # 0x619c6f net.(*netFD).dial+0x42f net/sock_posix.go:139 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x27332f5 0x2738366 0x2737930 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x273792f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x408105 0x479ce9 0x752368 0x751ef7 0x754c57 0x7549ea 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754c56 net/http.(*response).write+0x1d6 net/http/server.go:1688 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x56458a 0x610143 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x610142 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:343 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x4614c5 0x61001a 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x610019 net.(*Resolver).lookupIPAddr+0x239 net/lookup.go:331 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 96] @ 0x1120075 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1120074 github.com/lib/pq.parsePortalRowDescribe+0xb4 github.com/lib/pq@v1.10.9/conn.go:1983 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x1837cc5 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837cc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a99a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179d125 0x179d01d 0x179d00b 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179d124 github.com/lann/builder.Append+0x244 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179d01c github.com/mattermost/squirrel.UpdateBuilder.Set+0x13c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d00a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x12a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:202 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 11520] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x748bb5 0x748bd6 0x775d1f 0x750c27 0x755918 0x483fe1 # 0x748bb4 net/textproto.NewReader+0x74 net/textproto/reader.go:38 # 0x748bd5 net/http.newTextprotoReader+0x95 net/http/request.go:1044 # 0x775d1e net/http.readRequest+0x3e net/http/request.go:1080 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [3: 144] @ 0x184f7fb 0x184f7c7 0x184f7c6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184f7fa github.com/mattermost/squirrel.newPart+0xda github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184f7c6 github.com/mattermost/squirrel.SelectBuilder.From+0xa6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184f7c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x72e36f 0x72e257 0x70fd48 0x483fe1 # 0x72e36e net/http.(*http2Transport).newClientConn+0xce net/http/h2_bundle.go:8262 # 0x72e256 net/http.(*http2Transport).NewClientConn+0x36 net/http/h2_bundle.go:8240 # 0x70fd47 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:923 0: 0 [1: 128] @ 0x5474d6 0x5470aa 0x544613 0x5443d2 0x54eb70 0xc178ff 0x2048b50 0x2047f27 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xc178fe github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xbe github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 512] @ 0x54e9ae 0x54e645 0x54e315 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 13056] @ 0x11e5513 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5512 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0xbd624c 0xbd65a1 0x25dd8e5 0x25dd8dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd624b github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0xaeb github.com/mattermost/mattermost/server/public/model/post_metadata.go:46 # 0xbd65a0 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0xe40 github.com/mattermost/mattermost/server/public/model/post.go:131 # 0x25dd8e4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x8a4 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x25dd8db github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x89b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6684672] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x12575bb 0x125c637 0x1829914 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5732f5 0x11e31ec 0x11e31d8 0x19a3350 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x11e31eb image/jpeg.(*encoder).flush+0x38b image/jpeg/writer.go:235 # 0x11e31d7 image/jpeg.Encode+0x377 image/jpeg/writer.go:639 # 0x19a334f github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x8f github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3538944] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 45056] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x16a99fe 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x175af39 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175af38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x178 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1737156 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1737155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 270336] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25921b5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25921b4 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x2f4 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:95 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x63cb18 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x63cb17 crypto/x509.(*CertPool).addCertFunc+0x1b7 crypto/x509/cert_pool.go:205 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1792] @ 0x68c1a5 0x68cd5d 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x68c1a4 crypto/tls.(*Conn).makeClientHello+0xe24 crypto/tls/handshake_client.go:178 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 1536] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a05b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a05b5 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x715 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:642 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5816320] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x7dd186 0x7dd1bd 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd185 bytes.Clone+0x765 bytes/bytes.go:1412 # 0x7dd1bc database/sql.convertAssignRows+0x79c database/sql/convert.go:266 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17c55be 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c55bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1240 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2041e9f 0x2053ac5 0x205182a 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2041e9e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).QueueSetStatusOffline+0x7e github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:384 # 0x2053ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:619 # 0x2051829 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).ProcessAsync.func1.2+0x49 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:491 0: 0 [4: 448] @ 0x1850e89 0x1850dc7 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850e88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0x1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:45 # 0x1850dc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x16a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:394 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x85a02c 0x859fc8 0x244245e 0x2462125 0xbf187e 0x483fe1 # 0x85a02b github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x859fc7 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x244245d github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0x19d github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:25 # 0x2462124 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1803 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x6311e5 0x6324d9 0x6324af 0x2629ab9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2629ab8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x158 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:587 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x681e9e 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x681e9d crypto/tls.(*Conn).unmarshalHandshakeMessage+0x15d crypto/tls/conn.go:1134 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x6cf5e7 0x6cf5d7 0x6cf57b 0x10d450a 0x10e54c5 0x483fe1 # 0x6cf5e6 bufio.NewReaderSize+0x86 bufio/bufio.go:56 # 0x6cf5d6 bufio.NewReader+0x76 bufio/bufio.go:63 # 0x6cf57a net/textproto.NewConn+0x1a net/textproto/textproto.go:67 # 0x10d4509 net/smtp.NewClient+0x49 net/smtp/smtp.go:65 # 0x10e54c4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced.func1+0x84 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:164 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x188346a 0x16fb084 0x20166ea 0x1f8048e 0x24b6a18 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1883469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlWebhookStore.GetIncoming+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/webhook_store.go:123 # 0x16fb083 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerWebhookStore).GetIncoming+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16595 # 0x20166e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerWebhookStore).GetIncoming+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13084 # 0x1f8048d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheWebhookStore.GetIncoming+0xcd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/webhook_layer.go:51 # 0x24b6a17 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func1+0x77 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:738 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x240c62f 0x240c5ee 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x240c62e github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x8e github.com/mattermost/mattermost/server/public/model/config.go:4820 # 0x240c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 2688] @ 0x26e545a 0x6c7959 0x67b376 0x69804c 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x175b745 0x175b687 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x175b744 github.com/mattermost/squirrel.SelectBuilder.From+0x984 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x204ae12 0x204adea 0x20537fe 0x2051cd7 0x483fe1 # 0x204ae11 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x51 github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x204ade9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:823 # 0x20537fd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1afd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:581 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x180772a 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1807729 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:215 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x4ab431 0x2048745 0x2047f27 0x483fe1 # 0x4ab430 time.NewTicker+0x30 time/tick.go:43 # 0x2048744 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:513 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 32] @ 0x118dc15 0x48feea 0x48ff97 0x118daee 0x118dac1 0x1193bdf 0x483fe1 # 0x118dc14 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf4 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x118daed sync.(*Map).Range+0x4d sync/hashtriemap.go:115 # 0x118dac0 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x1193bde github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x11e github.com/mattermost/mattermost/server/public/plugin/health_check.go:40 0: 0 [1: 224] @ 0x110cbf7 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x110cbf6 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.10.9/scram/scram.go:79 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x769670 0x771a94 0x7716f6 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x76966f net/http.(*Transport).tryPutIdleConn+0x6af net/http/transport.go:1138 # 0x771a93 net/http.(*persistConn).readLoop.func2+0x33 net/http/transport.go:2248 # 0x7716f5 net/http.(*persistConn).readLoop+0xcd5 net/http/transport.go:2401 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817cee 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817ced github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17371b8 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17371b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x186f84c 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f84b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1126 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3072] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3840] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x1851bc7 0x1851ba6 0x11adcb0 0x483fe1 # 0x1851bc6 github.com/mattermost/squirrel.SelectBuilder.From+0x106 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1851ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 800] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817c58 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817c57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x184dcd7 0x184dcb1 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 64] @ 0x118d5ce 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x118d5cd github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x18d github.com/mattermost/mattermost/server/public/plugin/environment.go:102 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x22a82ed 0x22a8165 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x22a82ec github.com/mattermost/mattermost/server/v8/channels/app.(*App).dbHealthCheckKey+0x4c github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x22a8164 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/app.go:129 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0xc468d0 0x250ef42 0x250e690 0x250cde5 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0xc468cf github.com/mattermost/mattermost/server/public/shared/request.(*Context).T+0x2f github.com/mattermost/mattermost/server/public/shared/request/context.go:64 # 0x250ef41 github.com/mattermost/mattermost/server/v8/channels/web.renderBrowserFirefox+0xc1 github.com/mattermost/mattermost/server/v8/channels/web/unsupported_browser.go:133 # 0x250e68f github.com/mattermost/mattermost/server/v8/channels/web.renderUnsupportedBrowser+0x5af github.com/mattermost/mattermost/server/v8/channels/web/unsupported_browser.go:79 # 0x250cde4 github.com/mattermost/mattermost/server/v8/channels/web.root+0x144 github.com/mattermost/mattermost/server/v8/channels/web/static.go:65 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x175cab9 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cab8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x658 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:527 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1536] @ 0x17bdc85 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:580 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x461d32 0x4612a5 0x46140a 0x1f6ffcf 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6ffce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:287 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x62fdf0 0x2429194 0x2424ca5 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x2429193 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x53 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:806 # 0x2424ca4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x784 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:406 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b6b4c 0x16b6a7b 0x16b6b70 0x173b1a6 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x173b1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1065 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2562 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0xb0e50d 0xb0d551 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e50c github.com/mattermost/mattermost/server/public/shared/markdown.fencedCodeStart+0x24c github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:106 # 0xb0d550 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0x170 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:139 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4a39ac 0x5bd365 0x640bfa 0x640cab 0x64649c 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4a39ab time.Time.Format+0xeb time/format.go:650 # 0x5bd364 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1UTCTime+0xe4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:534 # 0x640bf9 crypto/x509.parseTime+0xd9 crypto/x509/parser.go:174 # 0x640caa crypto/x509.parseValidity+0x2a crypto/x509/parser.go:188 # 0x64649b crypto/x509.parseCertificate+0x57b crypto/x509/parser.go:970 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 12288] @ 0x6cf74c 0x6cf70e 0x6cf6df 0x10d450a 0x10e54c5 0x483fe1 # 0x6cf74b bufio.NewWriterSize+0x1eb bufio/bufio.go:600 # 0x6cf70d bufio.NewWriter+0x1ad bufio/bufio.go:609 # 0x6cf6de net/textproto.NewConn+0x17e net/textproto/textproto.go:68 # 0x10d4509 net/smtp.NewClient+0x49 net/smtp/smtp.go:65 # 0x10e54c4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced.func1+0x84 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:164 0: 0 [1: 1280] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x16a951e 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 6553600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 6553600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [2: 3276800] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6553600] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2457600] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16b15fc 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x48f2f9 0x48e925 0x24e4a78 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x24e4a77 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:512 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x125c1c8 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c1c7 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x16b2065 0x16b1fbb 0x16b20b0 0x175b39f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b2064 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x175b39e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17c6a15 0x17c69e4 0x17c69da 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6a14 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x254 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c69e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x223 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c69d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1335 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x17be285 0x17be252 0x17be260 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17be284 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7e4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17be251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x7b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17be25f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x7bf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:611 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2688] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x16b15fc 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1196032] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 475136] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x271638e 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1f6eca8 0x204ed5a 0x2404e45 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6eca7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.InvalidateChannelByName+0x67 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:146 # 0x204ed59 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForChannel+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:201 # 0x2404e44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x6a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:560 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x240106b 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x240106a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x166a github.com/mattermost/mattermost/server/v8/channels/app/post.go:353 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1179648] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x262ac5e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x262ac5d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:689 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184ecbd 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ecbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:207 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x897945 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2bd0 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x897944 github.com/mattermost/go-i18n/i18n/language.Parse+0x544 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2bcf github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:271 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x2538547 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2538546 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x566 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:765 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b003e 0x17affc8 0x16df59a 0x1ff6ca6 0x241d97e 0x2422f3e 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b003d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x45d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17affc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x3e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:132 # 0x16df599 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8795 # 0x1ff6ca5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7012 # 0x241d97d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x2422f3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xafd github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:157 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0xc472ce 0xc472c2 0x11b1124 0x1816da5 0x1816d8e 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc472cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc472c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:160 # 0x11b1123 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x63 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x1816da4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x1816d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:112 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 524288] @ 0x8fb546 0x8fbd25 0x8fba3e 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fbd24 golang.org/x/net/html.(*Tokenizer).readScript+0x64 golang.org/x/net@v0.46.0/html/token.go:400 # 0x8fba3d golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.46.0/html/token.go:330 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 524288] @ 0x8fb546 0x8fbd25 0x8fba3e 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fbd24 golang.org/x/net/html.(*Tokenizer).readScript+0x64 golang.org/x/net@v0.46.0/html/token.go:400 # 0x8fba3d golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.46.0/html/token.go:330 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0cd99 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cd98 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x878 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x265461b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x265461a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x29a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1257 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aad15 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17b5b27 0x17b5af3 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5b26 github.com/mattermost/squirrel.newPart+0x266 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17b5af2 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0x535245 0x535350 0x53a585 0x1f7bde5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x1f7bde4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:119 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x12578b9 0x125c637 0x1829914 0x173861f 0x16c4ebd 0x1fd92bd 0x22cf1e4 0x2538385 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x173861e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetFileCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2339 # 0x16c4ebc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetFileCount+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1895 # 0x1fd92bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetFileCount+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1585 # 0x22cf1e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelFileCount+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2353 # 0x2538384 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae271 0x16ae35d 0x16a4cf7 0x16a4f9d 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16a4cf6 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x16a4f9c github.com/mattermost/squirrel.(*caseData).ToSql+0x13c github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x2053c30 0x2053d8d 0x20525db 0x2051cd7 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x2053c2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1-range6+0x2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:724 # 0x2053d8c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6c maps/iter.go:28 # 0x20525da github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 48] @ 0x543d27 0xc1f057 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1f056 github.com/mattermost/mattermost/server/public/model.SidebarCategoryType.MarshalJSON+0x36 github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:92 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x699a68 0x699938 0x699937 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x699a67 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0xb87 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x699937 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0xa57 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x699936 crypto/tls.(*clientHelloMsg).marshalMsg+0xa56 crypto/tls/handshake_messages.go:150 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 6144] @ 0x78848d 0x78843a 0x787aef 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 # 0x78848c regexp/syntax.(*compiler).inst+0x8c regexp/syntax/compile.go:164 # 0x788439 regexp/syntax.(*compiler).quest+0x39 regexp/syntax/compile.go:220 # 0x787aee regexp/syntax.(*compiler).compile+0x106e regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x461d32 0x4612a5 0x46140a 0x184fc51 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fc50 github.com/mattermost/squirrel.SelectBuilder.Join+0x530 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1408] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 448] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c1c7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1c7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:896 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b1a4b 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x24a8872 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a8871 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x71 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2702 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x794885 0x7945f4 0x79b88d 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x794884 regexp/syntax.(*Regexp).Simplify+0x6c4 regexp/syntax/simplify.go:90 # 0x7945f3 regexp/syntax.(*Regexp).Simplify+0x433 regexp/syntax/simplify.go:23 # 0x79b88c regexp.compile+0x6c regexp/regexp.go:175 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x78c82a 0x79b850 0x79b84b 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x78c829 regexp/syntax.parse+0xa9 regexp/syntax/parse.go:914 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x6af0d4 0x6af03c 0x6815b6 0x69800d 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6af0d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x133 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6af03b crypto/tls.(*finishedMsg).marshal+0x9b crypto/tls/handshake_messages.go:1684 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x69800c crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xec crypto/tls/handshake_client_tls13.go:833 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7b059 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd8c5 0x2429927 0x2427645 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2429926 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:872 # 0x2427644 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x404 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:668 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2423c6b 0x2423dcf 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2423c6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostMetadataForUser+0x14a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:258 # 0x2423dce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:268 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa695 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xbddcdd 0xbddb5f 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddcdc github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x41c github.com/mattermost/mattermost/server/public/model/post_list.go:137 # 0xbddb5e github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x29e github.com/mattermost/mattermost/server/public/model/post_list.go:153 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb1103d 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24269ff 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1103c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x49c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:420 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24269fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x19e github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:568 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15eb 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b0f34 0x16b0e53 0x184f2d0 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f2cf github.com/mattermost/squirrel.SelectBuilder.Join+0x40f github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 12672] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16b5c90 0x173a590 0x173a561 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x173a58f github.com/mattermost/squirrel.StatementBuilderType.Update+0x44f github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x173a560 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x420 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2553 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 224] @ 0x5aeaba 0x5aead0 0x27162be 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb82206 0xb7b07f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd8c5 0x2429927 0x2427645 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2429926 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:872 # 0x2427644 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x404 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:668 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 7168] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x8fdd06 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdd05 golang.org/x/net/html.(*Tokenizer).Token+0x205 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 868352] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x18502c8 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18502c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xba7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:331 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x799a05 0x7999dc 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x799a04 regexp.newQueue+0x64 regexp/onepass.go:142 # 0x7999db regexp.makeOnePass+0x3b regexp/onepass.go:300 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11adbf1 0x24a8d4c 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11adbf0 golang.org/x/sync/errgroup.(*Group).Go+0x50 golang.org/x/sync@v0.17.0/errgroup/errgroup.go:78 # 0x24a8d4b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x54b github.com/mattermost/mattermost/server/v8/channels/app/user.go:2745 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x17c501a 0x17c4ce3 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17c1952 0x16dda28 0x1ff4cd2 0x240c8b8 0x2417b2d 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1951 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2417b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2336 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x242554e 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242554d github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:446 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x24ad419 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x24ad418 github.com/mattermost/mattermost/server/v8/channels/app.(*permalinkBroadcastHook).Process+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:154 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 896] @ 0x12578b9 0x125c637 0x182b7ac 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1581056] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 10240] @ 0x79955a 0x79b459 0x79b8af 0x79c3ac 0x79c3a0 0x1b8106d 0x455278 0x446605 0x4464ee 0x483fe1 # 0x799559 regexp.onePassCopy+0x39 regexp/onepass.go:226 # 0x79b458 regexp.compileOnePass+0x198 regexp/onepass.go:499 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1b8106c github.com/microcosm-cc/bluemonday/css.init+0x62c github.com/microcosm-cc/bluemonday@v1.0.27/css/handlers.go:313 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 4864] @ 0x79955a 0x79b459 0x79b8af 0x79c3ac 0x79c3a0 0x1b844e5 0x455278 0x446605 0x4464ee 0x483fe1 # 0x799559 regexp.onePassCopy+0x39 regexp/onepass.go:226 # 0x79b458 regexp.compileOnePass+0x198 regexp/onepass.go:499 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1b844e4 github.com/microcosm-cc/bluemonday.init+0xc4 github.com/microcosm-cc/bluemonday@v1.0.27/helpers.go:55 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 1523712] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x259ff18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x259ff17 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x77 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:605 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2478fd3 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2478fd2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddUserToTeam.func1+0x72 github.com/mattermost/mattermost/server/v8/channels/app/team.go:540 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x543d27 0xbd75b6 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbd75b5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:355 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0x79d2d8 0x1245e66 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x79d2d7 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:600 # 0x1245e65 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x65 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:44 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x271638e 0x27332f5 0x2738366 0x2737a4d 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2737a4c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5732f5 0x11e31ec 0x11e31d8 0x19a3350 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x11e31eb image/jpeg.(*encoder).flush+0x38b image/jpeg/writer.go:235 # 0x11e31d7 image/jpeg.Encode+0x377 image/jpeg/writer.go:639 # 0x19a334f github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x8f github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa32a 0x16aaada 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16aa329 github.com/mattermost/squirrel.Lt.toSql+0x69 github.com/mattermost/squirrel@v0.5.0/expr.go:319 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 48] @ 0x16b0f34 0x16b0e53 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17b0393 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0392 github.com/mattermost/squirrel.SelectBuilder.From+0x252 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0xb76113 0xb760ee 0xb70d4e 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb70d4d github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x2ad github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:452 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1482752] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2652d85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652d84 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1857813 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:758 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22cbba5 0x22adf7a 0x22adf75 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22cbba4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c1b7f 0x17c1ac6 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c1b7e github.com/mattermost/squirrel.SelectBuilder.From+0x43e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x385 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:892 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1792151 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1792150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x185141a 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851419 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x119 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:406 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1248] @ 0x186883e 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x186883d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x15d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:536 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x2046ba5 0x2046b90 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2046ba4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).SetActiveRHSThreadChannelID+0x964 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:371 # 0x2046b8f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x94f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:272 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x12575bb 0x125c637 0x182b7ac 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2649885 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2649884 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264967c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264967b github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:364 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1152] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x184f98e 0x184f98f 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184f98d github.com/mattermost/squirrel.Expr+0x26d github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184f98e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:283 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184ff25 0x184fe9f 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184ff24 github.com/mattermost/squirrel.CaseBuilder.Else+0x804 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x184fe9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:307 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x545e9d 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x545e9c encoding/json.boolEncoder+0x1dc encoding/json/encode.go:519 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xb6f277 0xb6f2e9 0x48ea11 0xb78da9 0xb78d9d 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f276 github.com/vmihailenco/msgpack/v5.NewEncoder+0x36 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:88 # 0xb6f2e8 github.com/vmihailenco/msgpack/v5.init.func2+0xa8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:46 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xb78da8 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xb78d9c github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 8064] @ 0x6e7af1 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e7af0 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b1a5c 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x548a63 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x111f16b 0x111836a 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184fde5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fde4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:301 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x175cab9 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cab8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x658 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:527 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb636ae 0xb6363b 0xc13c33 0xc13c50 0x24f82a5 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb636ad github.com/google/uuid.NewRandomFromReader+0x2d github.com/google/uuid@v1.6.0/version4.go:48 # 0xb6363a github.com/google/uuid.NewRandom+0x5a github.com/google/uuid@v1.6.0/version4.go:41 # 0xc13c32 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc13c4f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2652728 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652727 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x427 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1083 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x203fbac 0x203fb97 0x2041891 0x2046e85 0x2029802 0x483fe1 # 0x203fbab github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x4b github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2041890 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0xa30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 480] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b1a4b 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x184dcf3 0x184dcd8 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184dcf2 github.com/mattermost/squirrel.SelectBuilder.From+0xf2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184dcd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x205733c 0x2057324 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x205733b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).SendMessage+0xb5b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:471 # 0x2057323 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xb43 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:105 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x171f045 0x171f954 0x17421f8 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x171f044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x7e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:260 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x17421f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x377 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1920] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x461d32 0x4612a5 0x17b8ef3 0x184fa66 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x17b8ef2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:135 # 0x184fa65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x345 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x183a7a5 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x1792151 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1792150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x1791c13 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1791c12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1463 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x23a2395 0x23a22f5 0x23a0619 0x23a5dbc 0x483fe1 # 0x23a2394 github.com/golang-jwt/jwt/v5.NewWithClaims+0x1cf4 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:49 # 0x23a22f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c54 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18538bf 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18538be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b033b 0x16b03d0 0x175b22e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b033a github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x9a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x175b22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x125cce9 0x125ccc5 0x17ad589 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x125cce8 database/sql.(*DB).Query+0x48 database/sql/sql.go:1755 # 0x125ccc4 github.com/jmoiron/sqlx.(*DB).QueryRowx+0x24 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:362 # 0x17ad588 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x508 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 65536] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x90ef08 0x90eed3 0x90eff4 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x90ef07 bufio.NewReaderSize+0x167 bufio/bufio.go:56 # 0x90eed2 bufio.NewReader+0x132 bufio/bufio.go:63 # 0x90eff3 compress/zlib.(*reader).Reset+0x253 compress/zlib/reader.go:138 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 696320] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16ac7a5 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ac7a4 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184ecda 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x184ecd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x18540c5 0x18542ae 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18540c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0xd84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:38 # 0x18542ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xf6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:616 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x79d7f1 0x79d2cb 0x1829e25 0x1710a55 0x16c07b2 0x1fd446b 0x24f1504 0x2656dad 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x1710a54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlAuditStore.Save+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/audit_store.go:44 # 0x16c07b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:791 # 0x1fd446a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:723 # 0x24f1503 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x2656dac github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xe6c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 2304] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0xbfaa65 0xbfaa66 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaa64 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2a4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaa65 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2a5 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x12575bb 0x125cf77 0x182c26f 0x182c734 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 155648] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [4: 41484288] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [4: 41484288] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [4: 41484288] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4bc0f1 0x4bb15d 0x1644bbd 0x1644b96 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232b6e3 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bc0f0 io.(*multiReader).WriteTo+0x30 io/multi.go:45 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x1644bbc io.Copy+0xfc io/io.go:388 # 0x1644b95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232b6e2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x862 github.com/mattermost/mattermost/server/v8/channels/app/file.go:811 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18502a5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18502a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:320 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x5be9e5 0x69a405 0x69a40c 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a404 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1524 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a40b crypto/tls.(*clientHelloMsg).marshalMsg+0x152b crypto/tls/handshake_messages.go:182 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x175b2e9 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b2e8 github.com/mattermost/squirrel.SelectBuilder.From+0x528 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c8de9 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c8de8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1510 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x270d16e 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270d16d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x5be9e5 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x1246465 0x122bfc3 0x48e78b 0x122bb1a 0x122baf3 0x1232de4 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1246464 github.com/mattermost/mattermost/server/v8/channels/utils.(*notificationRenderer).RegisterFuncs+0x2c4 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:83 # 0x122bfc2 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xe2 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:148 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122bb19 sync.(*Once).Do+0x79 sync/once.go:69 # 0x122baf2 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:136 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 384] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0xc08b56 0xc08f97 0x24995dd 0x24a3c3b 0x265499c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08b55 github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x215 github.com/mattermost/mattermost/server/public/model/user.go:696 # 0xc08f96 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x116 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a3c3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteUsersInChannel+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/user.go:2281 # 0x265499b github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x61b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1299 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x16b07a8 0x172dd55 0x172dd2a 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x23e07cc 0x11313be 0x1163015 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x172dd54 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172dd29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1525 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x23e07cb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetDirectChannel+0x4b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:515 # 0x11313bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetDirectChannel+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:544 # 0x1163014 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetDirectChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3354 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0xbd5d8e 0x25dd8e5 0x25dd8dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd5d8d github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x62d github.com/mattermost/mattermost/server/public/model/post.go:147 # 0x25dd8e4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x8a4 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x25dd8db github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x89b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 253952] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2506752] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2560] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x17e1ad4 0x17e1a31 0x17e1994 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17e1ad3 github.com/lann/builder.Append+0x5b3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x17e1a30 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x510 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x17e1993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 24576] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17f2e49 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17f2e48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:114 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17e1f9a 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238e674 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e1f99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:121 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238e673 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10373 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:602 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbd62a5 0xbd65a1 0x25dd8e5 0x25dd8dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd62a4 github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0xb44 github.com/mattermost/mattermost/server/public/model/post_metadata.go:46 # 0xbd65a0 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0xe40 github.com/mattermost/mattermost/server/public/model/post.go:131 # 0x25dd8e4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x8a4 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x25dd8db github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x89b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x2371e74 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371e73 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1f3 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 319488] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2777088] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184faf2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184faf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x3d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:291 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1198562 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1198561 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 672] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x2416535 0x2461bc5 0xbf187e 0x483fe1 # 0x2416534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x114 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2266 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 8] @ 0x1807b58 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1807b57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x461d32 0x4612a5 0x46159d 0x2519e15 0x25194b2 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2519e14 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x534 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:108 # 0x25194b1 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x179ca33 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x179ca32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x185892f 0x1858876 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185892e github.com/mattermost/squirrel.SelectBuilder.From+0x26e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1858875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x1b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:813 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x184ffab 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184ffaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x88a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0e85 0x16b0e53 0x185003e 0x184fff3 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185003d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x91d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184fff2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:311 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0x4d3e05 0x4d3df9 0x250cf8c 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x4d3e04 os.Open+0x44 os/file.go:370 # 0x4d3df8 os.ReadFile+0x38 os/file.go:800 # 0x250cf8b github.com/mattermost/mattermost/server/v8/channels/web.root+0x2eb github.com/mattermost/mattermost/server/v8/channels/web/static.go:84 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x16b080f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1761280] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1761280] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1761280] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xc178eb 0x2048b50 0x2047f27 0x483fe1 # 0xc178ea github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xaa github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [4: 512] @ 0x2716350 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1791e9c 0x1791e51 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1791e9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1791e50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1477 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79e8f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f702f1 0x2392477 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79e8e github.com/vmihailenco/msgpack/v5.encodeMapValue+0x1ae github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:25 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f702f0 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:322 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461d32 0x4612a5 0x4614c5 0x773fb7 0x773f14 0x768d52 0x767468 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x773fb6 net.JoinHostPort+0xf6 net/ipsock.go:242 # 0x773f13 net/http.canonicalAddr+0x53 net/http/transport.go:2948 # 0x768d51 net/http.(*Transport).connectMethodForRequest+0x51 net/http/transport.go:976 # 0x767467 net/http.(*Transport).roundTrip+0xaa7 net/http/transport.go:675 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 480] @ 0x10e5165 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e5164 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2a4 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:190 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 224] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 144] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17c5adf 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5ade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x61e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1258 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f51a 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x659 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:251 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x2716350 0x2732f5a 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e3d05 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3d04 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:657 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x16b07a8 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x17ba53a 0x17ba377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17ba539 github.com/mattermost/squirrel.InsertBuilder.Columns+0x15d9 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17ba376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb0cd99 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cd98 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x878 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 288] @ 0x62eb25 0x62e809 0x747c5f 0x11ac795 0x11ac76a 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x747c5e net/http.NewRequestWithContext+0xbe net/http/request.go:902 # 0x11ac794 net/http.NewRequest+0x154 net/http/request.go:863 # 0x11ac769 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x129 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:21 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x27330fc 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x27330fb crypto/internal/fips140/hkdf.Expand[...]+0x23b crypto/internal/fips140/hkdf/hkdf.go:44 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x609719 0x61e631 0x61e612 0x61fd91 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x609718 net.IP.String+0xd8 net/ip.go:315 # 0x61e630 net.ipEmptyString+0x50 net/ip.go:332 # 0x61e611 net.(*UDPAddr).String+0x31 net/udpsock.go:51 # 0x61fd90 net.DialUDP+0x150 net/udpsock.go:299 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 1572864] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1572864] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110dc25 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110dc24 github.com/lib/pq/scram.(*Client).saltPassword+0xc4 github.com/lib/pq@v1.10.9/scram/scram.go:220 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17be2ae 0x17be252 0x17be260 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17be2ad github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x80d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17be251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x7b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17be25f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x7bf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:611 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c8c6c 0x17c8c46 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c8c6b github.com/mattermost/squirrel.StatementBuilderType.Select+0xcb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c8c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173a7a5 0x173a6b2 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a7a4 github.com/lann/builder.Append+0x664 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a6b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x571 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1772c0c 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1772c0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:75 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb0fef5 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fef4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4f4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17788b3 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17788b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17f2886 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17f2885 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x445 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x48f312 0x48e925 0x54ecd7 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54ecd6 encoding/json.(*Encoder).Encode+0x236 encoding/json/stream.go:234 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x6bf185 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 1056] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xaea0e7 0xaea099 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaea0e6 encoding/gob.(*Encoder).newEncoderState+0xc6 encoding/gob/encode.go:82 # 0xaea098 encoding/gob.(*Encoder).encodeArray+0x78 encoding/gob/encode.go:334 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 16] @ 0x16a99d5 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x17c5186 0x17c4cfb 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse.func1+0x825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1213 # 0x17c4cfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x39a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1226 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x539cff 0x8e2a48 0x8e29fe 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a47 strings.Split+0x127 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x12575bb 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x12575bb 0x125c637 0x182b7ac 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1792605 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1792604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1530 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x461e06 0x2733093 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x17e195f 0x17e189c 0x17e1773 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17e195e github.com/lann/builder.Append+0x43e github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x17e189b github.com/mattermost/squirrel.InsertBuilder.Values+0x37b github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x17e1772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:99 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2386354 0x2386361 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2386353 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x8053 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x2386360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x8060 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:629 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 96] @ 0xc16d78 0xc16d6c 0x205229f 0x2051cd7 0x483fe1 # 0xc16d77 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x77 github.com/mattermost/mattermost/server/public/model/websocket_message.go:282 # 0xc16d6b github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).WithoutBroadcastHooks+0x6b github.com/mattermost/mattermost/server/public/model/websocket_message.go:255 # 0x205229e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x59e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:686 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 176] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16abc67 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x1643f9b 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643f9a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x1728b4a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728b49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x8c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1154 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1727965 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1068 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 393216] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1852155 0x18520c6 0x11adcb0 0x483fe1 # 0x1852154 github.com/mattermost/squirrel.SelectBuilder.From+0x174 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18520c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1f73e06 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f73e05 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0xc1541d 0xc1536f 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1541c strings.(*Builder).WriteString+0x2fc strings/builder.go:108 # 0xc1536e github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x24e github.com/mattermost/mattermost/server/public/model/utils.go:728 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x253c03a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x253c039 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x379 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x12578b9 0x125cf77 0x182c26f 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1536] @ 0xc135ec 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc135eb github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x12b github.com/mattermost/mattermost/server/public/model/utils.go:315 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x23dff6a 0x112f70a 0x115c8c5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x23dff69 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUsersInChannel+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:420 # 0x112f709 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUsersInChannel+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:355 # 0x115c8c4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUsersInChannel+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2551 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1536] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5732f5 0x11e31ec 0x11e31d8 0x19a3350 0x232da33 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x11e31eb image/jpeg.(*encoder).flush+0x38b image/jpeg/writer.go:235 # 0x11e31d7 image/jpeg.Encode+0x377 image/jpeg/writer.go:639 # 0x19a334f github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x8f github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 106496] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 229376] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x1875ede 0x1875e77 0x187e388 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1875edd github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1875e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1672 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x63cb18 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63cb17 crypto/x509.(*CertPool).addCertFunc+0x1b7 crypto/x509/cert_pool.go:205 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x2649af2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2649af1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x6b1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15fc 0x1817cee 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817ced github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x171ef4f 0x171f474 0x1741cf8 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171ef4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x6ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:254 # 0x171f473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:303 # 0x1741cf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x697 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x182c706 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 32] @ 0x16a99fe 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x2429274 0x242732f 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2429273 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:811 # 0x242732e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:633 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17c5788 0x17c5771 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c5787 github.com/mattermost/squirrel.StatementBuilderType.Select+0x2c7 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c5770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x2b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1252 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x1658569 0x1658557 0x24995cb 0x24a9c45 0x24a9b38 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1658568 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:4820 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x4d51f3 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d51f2 os.openFileNolog+0xf2 os/file_unix.go:283 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2488365 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2488364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1919 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5336 0x4d532a 0x4d531d 0x4d304c 0x4cf66b 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5335 os.openDirNolog.func1+0x35 os/file_unix.go:309 # 0x4d5329 os.ignoringEINTR+0x29 os/file_posix.go:251 # 0x4d531c os.openDirNolog+0x1c os/file_unix.go:308 # 0x4d304b os.openDir+0x2b os/file.go:408 # 0x4cf66a os.ReadDir+0x4a os/dir.go:119 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x185a6b7 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185a6b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1061 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0x2733093 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1735a6f 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1735a6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2101 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543e5f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543e5e github.com/mattermost/mattermost/server/v8/channels/api4.readMultipleChannels+0x21e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1709 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xbdb44f 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x2422492 0x2422486 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 24320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2654547 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2654546 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1251 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5376] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a05b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a05b5 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x715 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:642 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1737111 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1737110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x370 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x543d27 0x23a64b2 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x23a64b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 1777664] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2560] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18536ec 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x4d8da8 0x4d89ec 0x4d6705 0x1644b2f 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232e0c9 0x232de29 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x4d6704 os.MkdirAll+0x24 os/path.go:21 # 0x1644b2e github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232e0c8 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1+0x208 github.com/mattermost/mattermost/server/v8/channels/app/file.go:968 # 0x232de28 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x88 github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 262144] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11137bb 0x111ec4a 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111ec49 github.com/lib/pq.(*conn).processParameterStatus+0x29 github.com/lib/pq@v1.10.9/conn.go:1780 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7e84ce 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x185912c 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7e84cd database/sql.(*DB).beginDC+0xcd database/sql/sql.go:1915 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x185912b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:853 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x17dbcaf 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17dbcae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x5ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3076 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17be139 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17be138 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x698 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [2: 288] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 128] @ 0x186d9f1 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x186d9f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:943 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c1c8 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c1c7 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c9b5d 0x17c9ab2 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c9b5c github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xafc github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c9ab1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xa51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1569 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 87552] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0154 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17cb12d 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1664 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e17d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184e17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x57c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7e4ebf 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e4ebe database/sql.(*DB).conn+0x99e database/sql/sql.go:1440 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 3702784] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3702784] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 3702784] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x24a24c9 0x264c79b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x24a24c8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTotalUsersStats+0x88 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2090 # 0x264c79a github.com/mattermost/mattermost/server/v8/channels/api4.getTotalUsersStats+0xda github.com/mattermost/mattermost/server/v8/channels/api4/user.go:654 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [6: 1425408] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1540096] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1540096] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1540096] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x1853c25 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853c24 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e3fca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3fc9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:686 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x682037 0x681b78 0x68302c 0x683c4e 0x770087 0x5717e3 0x571913 0x770b92 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x68302b crypto/tls.(*Conn).handlePostHandshakeMessage+0x2b crypto/tls/conn.go:1304 # 0x683c4d crypto/tls.(*Conn).Read+0x32d crypto/tls/conn.go:1389 # 0x770086 net/http.(*persistConn).Read+0x46 net/http/transport.go:2122 # 0x5717e2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x571912 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x770b91 net/http.(*persistConn).readLoop+0x171 net/http/transport.go:2275 0: 0 [2: 480] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x52d1bb 0x52d151 0x527593 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x52d1ba fmt.(*buffer).writeString+0x11a fmt/print.go:108 # 0x52d150 fmt.(*pp).doPrintf+0xb0 fmt/print.go:1032 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x2611a8b 0x2611a5e 0x2611a40 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2611a8a net/textproto.MIMEHeader.Set+0x112a net/textproto/header.go:22 # 0x2611a5d net/http.Header.Set+0x10fd net/http/header.go:40 # 0x2611a3f github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x10df github.com/mattermost/mattermost/server/v8/channels/api4/system.go:195 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3456] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x1728d8a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728d89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1167 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0xbdcaff 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcafe github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x15e github.com/mattermost/mattermost/server/public/model/post_list.go:39 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e2ca8 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e2ca7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x587 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:161 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 13056] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e225 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e224 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3446 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185003e 0x184fff3 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185003d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x91d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184fff2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:311 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16aa695 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x48f2f9 0x48e925 0x77702e 0x754e13 0x755be5 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x754e12 net/http.(*response).finishRequest+0x52 net/http/server.go:1716 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [5: 240] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x16b15fc 0x1851ddc 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1742435 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1742434 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x182ecec 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x182eceb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x16b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 96] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 480] @ 0x83d1d5 0x839af5 0x8410d0 0x23e4fc8 0x1136542 0x11447f2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83d1d4 github.com/mattermost/logr/v2.NewLogRec+0x1b4 github.com/mattermost/logr/v2@v2.0.22/logrec.go:41 # 0x839af4 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x8410cf github.com/mattermost/logr/v2.Sugar.Warnw+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x23e4fc7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1131 # 0x1136541 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1092 # 0x11447f1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1011 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 448] @ 0x83d353 0x83c93e 0x483fe1 # 0x83d352 github.com/mattermost/logr/v2.(*LogRec).prep+0x92 github.com/mattermost/logr/v2@v2.0.22/logrec.go:59 # 0x83c93d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x177222c 0x17721d2 0x17721d1 0x16cdfd2 0x1fe37ab 0x20be090 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x177222b github.com/mattermost/squirrel.DeleteBuilder.From+0xeb github.com/mattermost/squirrel@v0.5.0/delete.go:175 # 0x17721d1 github.com/mattermost/squirrel.StatementBuilderType.Delete+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:31 # 0x17721d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDesktopTokensStore).DeleteOlderThan+0x90 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/desktop_tokens_store.go:108 # 0x16cdfd1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDesktopTokensStore).DeleteOlderThan+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4265 # 0x1fe37aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDesktopTokensStore).DeleteOlderThan+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3496 # 0x20be08f github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens.MakeWorker.func2+0xcf github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens/worker.go:24 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 512] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 8036352] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1737250 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173724f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2237 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 2842624] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x11c6d8b 0x11c6d62 0x11c6d5f 0x11c6d2e 0x19a20c5 0x232c96e 0x232b5e5 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c6d8a bufio.NewReaderSize+0xaa bufio/bufio.go:57 # 0x11c6d61 bufio.NewReader+0x81 bufio/bufio.go:63 # 0x11c6d5e image.asReader+0x7e image/format.go:55 # 0x11c6d2d image.DecodeConfig+0x4d image/format.go:102 # 0x19a20c4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:107 # 0x232c96d github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x26d github.com/mattermost/mattermost/server/v8/channels/app/file.go:884 # 0x232b5e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x764 github.com/mattermost/mattermost/server/v8/channels/app/file.go:805 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x535245 0x535350 0x53b205 0x16a9951 0x16a8be2 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53b204 strings.Repeat+0x2e4 strings/strings.go:673 # 0x16a9950 github.com/mattermost/squirrel.Placeholders+0xdb0 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x16a8be1 github.com/mattermost/squirrel.Eq.toSQL+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1871b6f 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1871b6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1331 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x49cac5 0x49ce52 0x619c70 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x10e4e57 0x10e4e2d 0x10e5a3f 0x10e5a3a 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49ce51 syscall.Getsockname+0x71 syscall/syscall_linux.go:713 # 0x619c6f net.(*netFD).dial+0x42f net/sock_posix.go:139 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x10e4e56 net.(*Dialer).Dial+0x196 net/dial.go:504 # 0x10e4e2c github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServerAdvanced+0x16c github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:143 # 0x10e5a3e github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServer+0x3e github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:153 # 0x10e5a39 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x39 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:268 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 28672] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3375104] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1851eb6 0x1851e43 0x11adcb0 0x483fe1 # 0x1851eb5 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3f5 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x61fe57 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x61fe56 net.DialUDP+0x216 net/udpsock.go:302 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aad15 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x565474 0x5f84bd 0x5f848a 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x5f84bc context.WithDeadline+0x1bc context/context.go:617 # 0x5f8489 net.(*Dialer).DialContext+0x189 net/dial.go:533 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 144] @ 0x61d0c5 0x619d0e 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x61d0c4 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x619d0d net.(*netFD).dial+0x4cd net/sock_posix.go:141 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 160] @ 0x2618e69 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2618e68 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x48 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x5c841d 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x5c841c crypto/rsa.VerifyPSS+0x7c crypto/rsa/fips.go:147 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x185a5a5 0x185a57f 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x185a5a4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185a57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1058 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x18538bf 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18538be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 4694016] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x185a5a5 0x185a57f 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x185a5a4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185a57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1058 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xbd84c8 0xbd84ad 0x17b9377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbd84c7 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0xd27 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0xbd84ac github.com/mattermost/mattermost/server/public/model.(*Post).IsValid+0xd0c github.com/mattermost/mattermost/server/public/model/post.go:521 # 0x17b9376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:162 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x76b4ad 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x76b4ac net/http.(*Transport).getConn+0x16c net/http/transport.go:1497 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 2560] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0xc0e35d 0xc0e35e 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e35c github.com/tinylib/msgp/msgp.ReadStringBytes+0xb1c github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e35d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb1d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x17416ca 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17416c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3003 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2046e85 0x2029802 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 72] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1871b6f 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x23abdfe 0x23abb3e 0x20ca3f4 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1871b6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1331 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x23abdfd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xdd github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:101 # 0x23abb3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfd github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x20ca3f3 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin.MakeInstallPluginNotifyWorker.func2+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin/worker.go:65 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 672] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x2026e8a 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x2026e89 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x549 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:240 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a3970 0x17a125b 0x17a1200 0x17a120e 0x16d796e 0x1fee11a 0x202a79a 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17a125a github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9a github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17a11ff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17a120d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLicenseStore.Get+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/license_store.go:57 # 0x16d796d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLicenseStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6713 # 0x1fee119 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLicenseStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5382 # 0x202a799 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0xd59 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:103 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173aa65 0x173a95d 0x173a94e 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173aa64 github.com/lann/builder.Append+0x924 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a95c github.com/mattermost/squirrel.UpdateBuilder.Set+0x81c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a94d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x80d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2557 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17e27ea 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e27e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b667b 0x16b6573 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x563ac5 0x76b4ad 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x76b4ac net/http.(*Transport).getConn+0x16c net/http/transport.go:1497 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x17e1ad4 0x17e1a31 0x17e1994 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17e1ad3 github.com/lann/builder.Append+0x5b3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x17e1a30 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x510 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x17e1993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x272ce38 0x272d6af 0x5c86d0 0x5c85d2 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x272ce37 crypto/internal/fips140/rsa.emsaPSSVerify+0x497 crypto/internal/fips140/rsa/pkcs1v22.go:242 # 0x272d6ae crypto/internal/fips140/rsa.verifyPSS+0x24e crypto/internal/fips140/rsa/pkcs1v22.go:359 # 0x5c86cf crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x32f crypto/internal/fips140/rsa/pkcs1v22.go:323 # 0x5c85d1 crypto/rsa.VerifyPSS+0x231 crypto/rsa/fips.go:169 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3072] @ 0xc1541d 0xc1536f 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc1541c strings.(*Builder).WriteString+0x2fc strings/builder.go:108 # 0xc1536e github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x24e github.com/mattermost/mattermost/server/public/model/utils.go:728 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x125f12f 0x1260b39 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x17bfb07 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x17bfb06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x5c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:749 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 2688] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [3: 1728] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 2688] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a3fda 0x16a3f1c 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7e8365 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17ba731 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e8364 database/sql.(*DB).begin+0x44 database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17ba730 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x17d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:222 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 576] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2880] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 320] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 576] @ 0x24e27fc 0x2508bf1 0x2629ca8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2629ca7 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x347 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:601 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc0d9d2 0xc0d9d3 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d9d1 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d9d2 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x60ffd2 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x60ffd1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x653545 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x653544 crypto/x509.checkSignature+0x1a4 crypto/x509/x509.go:992 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2031616] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x604d2d 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x604d2c net.(*netFD).connect+0x22c net/fd_unix.go:103 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x17bbe26 0x17bbddf 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17bbe25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x525 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bbdde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:323 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa32a 0x16aaada 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa329 github.com/mattermost/squirrel.Lt.toSql+0x69 github.com/mattermost/squirrel@v0.5.0/expr.go:319 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x65002d 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x65002c crypto/x509.policiesValid+0xc8c crypto/x509/verify.go:1595 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x461e06 0x4bac07 0x6740ee 0x696e94 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4bac06 io.WriteString+0x66 io/io.go:318 # 0x6740ed crypto/tls.signedMessage+0x14d crypto/tls/auth.go:92 # 0x696e93 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x513 crypto/tls/handshake_client_tls13.go:689 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 240] @ 0xb11712 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11711 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0xb71 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:372 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x173618a 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1736189 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2134 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 4224] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x2371e74 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371e73 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1f3 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2654547 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2654546 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1251 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1200] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461e06 0x2733093 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 2048] @ 0x4b2379 0x4b3937 0x4b1470 0x124b57c 0x239f170 0x239c025 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b2378 time.LoadLocationFromTZData+0xc78 time/zoneinfo_read.go:283 # 0x4b3936 time.loadLocation+0xb6 time/zoneinfo_read.go:535 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239f16f github.com/mattermost/mattermost/server/v8/channels/app.getNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:289 # 0x239c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x744 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:68 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x6106c6 0x60dc45 0x5f77c5 0x5f8708 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x6106c5 net.(*Resolver).lookupIPAddr+0x8e5 net/lookup.go:310 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [3: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0x526fde 0x527570 0x16b4925 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x526fdd fmt.newPrinter+0x1d fmt/print.go:152 # 0x52756f fmt.Sprintf+0x2f fmt/print.go:238 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x79647b 0x798592 0xb0da28 0xb0d9f7 0xb124f2 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xb0da27 regexp.(*Regexp).FindStringIndex+0xe7 regexp/regexp.go:858 # 0xb0d9f6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseEmoji+0xb6 github.com/mattermost/mattermost/server/public/shared/markdown/emoji.go:30 # 0xb124f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x151 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:596 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17c23fa 0x17c23f5 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25def2b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c23f9 github.com/mattermost/squirrel.SelectBuilder.MustSql+0x3d9 github.com/mattermost/squirrel@v0.5.0/select.go:229 # 0x17c23f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25def2a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x88a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:241 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x773154 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x773153 net/http.(*persistConn).roundTrip+0x553 net/http/transport.go:2796 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5275a6 0x16abafd 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16abafc github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x23c github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x17ba53a 0x17ba377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17ba539 github.com/mattermost/squirrel.InsertBuilder.Columns+0x15d9 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17ba376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x703bc8 0x7039ac 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703bc7 sync.OnceFunc+0x3a7 sync/oncefunc.go:31 # 0x7039ab net/http.setRequestCancel+0x18b net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x25e793d 0x25e741f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x25e793c github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x5c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:968 # 0x25e741e github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x57e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:948 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18306db 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18306da github.com/mattermost/squirrel.UpdateBuilder.Set+0x61a github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 256] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 176] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xc02037 0xc02038 0xbfb77e 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02037 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817d25 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x1817d24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 65536] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1536] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 16] @ 0x7e85bf 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x176116e 0x16ca9a7 0x1fdfa87 0x243026f 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e85be database/sql.(*DB).beginDC+0x1be database/sql/sql.go:1925 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x176116d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarChannelsByPreferences+0x8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:823 # 0x16ca9a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarChannelsByPreferences+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3308 # 0x1fdfa86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarChannelsByPreferences+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2746 # 0x243026e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x24e github.com/mattermost/mattermost/server/v8/channels/app/preference.go:62 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x17c501a 0x17c4ce3 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0xc0dfa6 0xc0dfa7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dfa5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x765 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dfa6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x766 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 624] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x17b0405 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0404 github.com/mattermost/squirrel.SelectBuilder.From+0x2c4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16b1caf 0x17c6eff 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c6efe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x62eb25 0x62e809 0x2429168 0x2424ca5 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x2429167 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x27 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:796 # 0x2424ca4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x784 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:406 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x25dd989 0x25dd94a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x25dd988 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x948 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x25dd949 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x909 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:120 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0xbb7ba5 0xbb7b96 0xbb7d25 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbb7ba4 encoding/json.NewDecoder+0x84 encoding/json/stream.go:32 # 0xbb7b95 github.com/mattermost/mattermost/server/public/model.decodeIncomingWebhookRequest+0x75 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:181 # 0xbb7d24 github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xc4 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x703c8f 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x703c8e net/http.setRequestCancel+0x46e net/http/client.go:401 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 110592] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 55296] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x5474d6 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x17dbcaf 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17dbcae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x5ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3076 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x93171e 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x2040129 0x204020e 0x2040ed3 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2040128 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x28 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:227 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb12666 0xb1271c 0xb1261b 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x2400c7c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb12665 container/list.New+0x65 container/list/list.go:62 # 0xb1271b github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb1261a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24b695b 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24b695a github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7a github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:764 0: 0 [1: 224] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 384] @ 0x2716257 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173a7a5 0x173a6b2 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a7a4 github.com/lann/builder.Append+0x664 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a6b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x571 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x563ac5 0x76b4ad 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x76b4ac net/http.(*Transport).getConn+0x16c net/http/transport.go:1497 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x270c5cd 0x27176a6 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x27176a5 crypto/internal/fips140/ecdsa.signGeneric[...]+0x445 crypto/internal/fips140/ecdsa/ecdsa.go:372 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x177292a 0x17727f2 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1772929 github.com/mattermost/squirrel.StatementBuilderType.Select+0x209 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17727f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:66 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x1817d05 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817d04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32768] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1727e69 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1727e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x7c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1091 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2688] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x461d32 0x4612a5 0x46140a 0x171dcf1 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dcf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:130 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16b15eb 0x1852691 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 480] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [4: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1957888] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x184386a 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 36864] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x51f836 0x1b79190 0x1b79191 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f835 encoding/base64.(*Encoding).EncodeToString+0xf5 encoding/base64/base64.go:209 # 0x1b7918f github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0x8f github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b79190 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x90 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:74 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17cb3ae 0x17cb37f 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17cb3ad github.com/mattermost/squirrel.StatementBuilderType.Select+0x4ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17cb37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1670 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x16b07a8 0x17bde50 0x17bde36 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17bde4f github.com/mattermost/squirrel.StatementBuilderType.Select+0x3af github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bde35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:591 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26faf9f 0x2717374 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x26faf9e crypto/internal/fips140/nistec.(*P256Point).BytesX+0x1e crypto/internal/fips140/nistec/p256_asm.go:516 # 0x2717373 crypto/internal/fips140/ecdsa.signGeneric[...]+0x113 crypto/internal/fips140/ecdsa/ecdsa.go:340 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [20: 5242880] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 11116544] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 10633216] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 11878400] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x272bcb1 0x272c1f7 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x272bcb0 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x272c1f6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17e15c5 0x17e156a 0x17e1578 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17e15c4 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17e1569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17e1577 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:96 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x12575bb 0x125c637 0x1829914 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x4125d4 0x76b558 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x76b557 net/http.(*Transport).getConn+0x217 net/http/transport.go:1504 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1727e69 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1727e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x7c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1091 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c23fa 0x17c23f5 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c23f9 github.com/mattermost/squirrel.SelectBuilder.MustSql+0x3d9 github.com/mattermost/squirrel@v0.5.0/select.go:229 # 0x17c23f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 192] @ 0xc15085 0xc14fe7 0xb8dbe8 0x253c10a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc15084 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc14fe6 github.com/mattermost/mattermost/server/public/model.Etag+0x166 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xb8dbe7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x253c109 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1091 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x264dba6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x264dba5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0x2510465 0x261a537 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2510464 github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0xa4 github.com/mattermost/mattermost/server/v8/channels/web/web.go:108 # 0x261a536 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x1716 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:758 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 4224] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x25e46e5 0x25e4656 0x25e4617 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25e46e4 net/textproto.MIMEHeader.Set+0xb64 net/textproto/header.go:22 # 0x25e4655 net/http.Header.Set+0xad5 net/http/header.go:40 # 0x25e4616 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa96 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:749 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x67c590 0x68112a 0x68275e 0x76fb46 0x5732f5 0x77258c 0x483fe1 # 0x67c58f crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:522 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68275d crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1248 # 0x76fb45 net/http.persistConnWriter.Write+0x25 net/http/transport.go:1960 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x77258b net/http.(*persistConn).writeLoop+0x1cb net/http/transport.go:2606 0: 0 [3: 864] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e9a45 0x176149d 0x16ca9a7 0x1fdfa87 0x243026f 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9a44 database/sql.(*Tx).Commit+0x24 database/sql/sql.go:2293 # 0x176149c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarChannelsByPreferences+0x3bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:846 # 0x16ca9a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarChannelsByPreferences+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3308 # 0x1fdfa86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarChannelsByPreferences+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2746 # 0x243026e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x24e github.com/mattermost/mattermost/server/v8/channels/app/preference.go:62 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x27381e5 0x2737f09 0x695ac9 0x695a4f 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x27381e4 crypto/internal/fips140/tls13.ExpandLabel[...]+0x224 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695ac8 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x4a8 crypto/internal/fips140/tls13/tls13.go:112 # 0x695a4e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42e crypto/tls/handshake_client_tls13.go:518 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x5275a6 0x16b4925 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x6cff11 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [1: 128] @ 0x608028 0x6072b9 0x11afb17 0x11b0bf8 0x11b0503 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x608027 net.interfaceTable+0x2a7 net/interface_linux.go:38 # 0x6072b8 net.Interfaces+0x18 net/interface.go:114 # 0x11afb16 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0x36 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:42 # 0x11b0bf7 github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0xb7 github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x11b0502 github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x222 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:154 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 8192] @ 0x6ea33e 0x6ea2ed 0x6ea417 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x4bad51 0x1b4cd57 0x1b4cd34 0x23bd645 0x23bd1b2 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6ea33d bufio.NewReaderSize+0x15d bufio/bufio.go:57 # 0x6ea2ec bufio.NewReader+0x10c bufio/bufio.go:63 # 0x6ea416 compress/gzip.(*Reader).Reset+0x236 compress/gzip/gunzip.go:111 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x1b4cd56 io.ReadFull+0x76 io/io.go:354 # 0x1b4cd33 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.46.0/html/charset/charset.go:110 # 0x23bd644 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:79 # 0x23bd1b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:55 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x251040f 0x2592589 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x251040e github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x4e github.com/mattermost/mattermost/server/v8/channels/web/web.go:107 # 0x2592588 github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x168 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:126 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 768] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x12575bb 0x125c637 0x1829914 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x70b96b 0x70b93e 0x70b920 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x70b96a net/textproto.MIMEHeader.Set+0xa8a net/textproto/header.go:22 # 0x70b93d net/http.Header.Set+0xa5d net/http/header.go:40 # 0x70b91f net/http.serveContent+0xa3f net/http/fs.go:391 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17419a5 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17419a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3002 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 800] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1248] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x23a2365 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a2364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1cc4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2417b2d 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2417b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2336 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 288] @ 0x5be9e5 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 288] @ 0x5be9e5 0x69e654 0x69e633 0x5be6e2 0x5bea71 0x69a8fd 0x69a79d 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69e653 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e632 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x2371e74 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371e73 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1f3 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 19072] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x185261b 0x18525f7 0x11adcb0 0x483fe1 # 0x185261a github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1fa github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xc1612b 0xc160cb 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1612a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc160ca github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1851c35 0x1851ba6 0x11adcb0 0x483fe1 # 0x1851c34 github.com/mattermost/squirrel.SelectBuilder.From+0x174 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1851ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x173a7a5 0x173a6b2 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x173a7a4 github.com/lann/builder.Append+0x664 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a6b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x571 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb70bb7 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb70bb6 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:421 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x54e9ae 0x54e645 0x54e315 0x25dd135 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x25dd134 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:78 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x24dba39 0x22e981d 0x256fedb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24dba38 github.com/mattermost/mattermost/server/v8/channels/app/slashcommands.(*RemoveProvider).GetCommand+0x98 github.com/mattermost/mattermost/server/v8/channels/app/slashcommands/command_remove.go:40 # 0x22e981c github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x65c github.com/mattermost/mattermost/server/v8/channels/app/command.go:117 # 0x256feda github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/command.go:477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0d69b 0xb15b8f 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d69a github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x9a github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:151 # 0xb15b8e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x2429274 0x242732f 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2429273 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:811 # 0x242732e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:633 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 448] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x11c9956 0x11e53e5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9955 image.NewNRGBA64+0x75 image/image.go:616 # 0x11e53e4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x535245 0x535350 0x53a585 0x569b7f 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [25: 21299200] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 49176576] @ 0x11c9945 0x11e53e5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9944 image.NewNRGBA64+0x64 image/image.go:617 # 0x11e53e4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b03ac 0x16b02db 0x16b03d0 0x175b22e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x175b22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6144] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x17c5186 0x17c4cfb 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse.func1+0x825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1213 # 0x17c4cfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x39a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1226 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb18fbd 0xc13c73 0x23a22cd 0x23a0619 0x23a5dbc 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23a22cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c2c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:168 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xbfb6f8 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb6f7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf37 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x1727c19 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x578 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1074 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16a6fbb 0x16a6eb3 0x17ac025 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a6fba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a6eb2 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x17ac024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xb64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:78 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173af65 0x173ae5d 0x173ae4e 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173af64 github.com/lann/builder.Append+0xe24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173ae5c github.com/mattermost/squirrel.UpdateBuilder.Set+0xd1c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173ae4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2560 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184fd54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fd53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x633 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x64702e 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64702d crypto/x509.parseCertificate+0x110d crypto/x509/parser.go:1049 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 524288] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x118dc15 0x48feea 0x48ff97 0x118daee 0x118dac1 0x1193bdf 0x483fe1 # 0x118dc14 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf4 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x118daed sync.(*Map).Range+0x4d sync/hashtriemap.go:115 # 0x118dac0 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x1193bde github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x11e github.com/mattermost/mattermost/server/public/plugin/health_check.go:40 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16a6fbb 0x16a6eb3 0x17adb1c 0x16da44e 0x1ff1134 0x2021f76 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a6fba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a6eb2 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x17adb1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x27b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021f75 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x4f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:238 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbd57f1 0x25dd8e5 0x25dd8dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd57f0 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x90 github.com/mattermost/mattermost/server/public/model/post.go:134 # 0x25dd8e4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x8a4 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x25dd8db github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x89b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185a6df 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185a6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1061 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b080f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17cb4cc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17cb4cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1672 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x264920f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264920e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x68e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:327 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x24f8bae 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8bad github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb0d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7998a 0xb7a6d5 0xb7a53c 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb79989 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xb7a6d4 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xb7a53b github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [4: 3584] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 5632] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x2371e74 0x2413298 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371e73 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1f3 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x2413297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1d7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1882 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x25dd989 0x25dd94a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x25dd988 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x948 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x25dd949 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x909 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:120 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18539fa 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 19456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x1791ddf 0x1791d4d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1791dde github.com/mattermost/squirrel.SelectBuilder.From+0x25e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1791d4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1476 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x5be9e5 0x5bc1ff 0x5c0778 0x5c06d8 0x5be6e2 0x5bea71 0x5bc1ff 0x5c05be 0x5c4cdc 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c0777 crypto/ecdsa.addASN1IntBytes+0x77 crypto/ecdsa/ecdsa.go:315 # 0x5c06d7 crypto/ecdsa.encodeSignature.func1+0x57 crypto/ecdsa/ecdsa.go:300 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c05bd crypto/ecdsa.encodeSignature+0xbd crypto/ecdsa/ecdsa.go:298 # 0x5c4cdb crypto/ecdsa.signFIPS[...]+0xfb crypto/ecdsa/ecdsa.go:255 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x1791e9c 0x1791e51 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1791e9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1791e50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1477 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 160] @ 0x7e79fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1852c89 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852c88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:518 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x184e76e 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x184e76d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:192 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x24a3c3b 0x265499c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a3c3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteUsersInChannel+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/user.go:2281 # 0x265499b github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x61b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1299 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7905c5 0x7900ea 0x78d194 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0x123a7f7 0x455278 0x446605 0x4464ee 0x483fe1 # 0x7905c4 regexp/syntax.appendRange+0xa4 regexp/syntax/parse.go:1906 # 0x7900e9 regexp/syntax.(*parser).parseClass+0x449 regexp/syntax/parse.go:1810 # 0x78d193 regexp/syntax.parse+0xa13 regexp/syntax/parse.go:973 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x123a7f6 github.com/yuin/goldmark/extension.init+0x196 github.com/yuin/goldmark@v1.7.13/extension/linkify.go:14 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 385024] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4ab22a 0x4ab214 0x4b3d6a 0x4b2b8a 0x4b3831 0x4b3914 0x4b1470 0x124b57c 0x239fb56 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4ab229 syscall.Open+0x29 syscall/syscall_linux.go:284 # 0x4ab213 time.open+0x13 time/sys_unix.go:28 # 0x4b3d69 time.readFile+0x69 time/zoneinfo_read.go:576 # 0x4b2b89 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4b3830 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4b3913 time.loadLocation+0x93 time/zoneinfo_read.go:533 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239fb55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x195 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:359 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b598c 0x16b58bb 0x16b59b0 0x173b17d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b598b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b58ba github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x16b59af github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x173b17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x103c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2562 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 224] @ 0x8ed126 0x8eebe5 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ed125 golang.org/x/net/html.(*parser).addText+0x185 golang.org/x/net@v0.46.0/html/parse.go:325 # 0x8eebe4 golang.org/x/net/html.inHeadIM+0x424 golang.org/x/net@v0.46.0/html/parse.go:636 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16b15fc 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [4: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x17c501a 0x17c4ce3 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1073152] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1073152] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1073152] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x243575c 0x243572a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x243575b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x27b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2435729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x249 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:47 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 65536] @ 0x6e7c2c 0x6e7bae 0x6eab46 0x6ea478 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x4bad51 0x1b4cd57 0x1b4cd34 0x23bd645 0x23bd1b2 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7c2b compress/flate.(*dictDecoder).init+0x18b compress/flate/dict_decoder.go:43 # 0x6e7bad compress/flate.NewReader+0x10d compress/flate/inflate.go:815 # 0x6eab45 compress/gzip.(*Reader).readHeader+0x365 compress/gzip/gunzip.go:238 # 0x6ea477 compress/gzip.(*Reader).Reset+0x297 compress/gzip/gunzip.go:113 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x1b4cd56 io.ReadFull+0x76 io/io.go:354 # 0x1b4cd33 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.46.0/html/charset/charset.go:110 # 0x23bd644 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:79 # 0x23bd1b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:55 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x6752c7 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6752c6 crypto/tls.(*certCache).newCert+0x106 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f070 0x182efa2 0x182ee0c 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 448] @ 0x125388e 0x24f0f33 0x25ddcff 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125388d github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x50d github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x25ddcfe github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xcbe github.com/mattermost/mattermost/server/v8/channels/api4/post.go:132 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x175b250 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b24f github.com/mattermost/squirrel.SelectBuilder.From+0x48f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25e7aae 0x25e741f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25e7aad github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x1cd github.com/mattermost/mattermost/server/v8/channels/api4/post.go:984 # 0x25e741e github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x57e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:948 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25a1745 0x25a171e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25a1744 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x264 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25a171d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x23d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:713 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x175ae85 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ae84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17f281c 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15fc 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1735cd6 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1735cd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2109 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x2052565 0x2051cd7 0x483fe1 # 0x2052564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x864 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0xb13ab0 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb13aaf github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x56f github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:62 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4ae8 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x5be9e5 0x69c2ca 0x69c147 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c2c9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x269 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69c146 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xe6 crypto/tls/handshake_messages.go:351 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 512] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [4: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x186d4b1 0x186d45d 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x186d4b0 database/sql.(*DB).Query+0x2b0 database/sql/sql.go:1755 # 0x186d45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x25c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:922 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 9472] @ 0x11e5513 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5512 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 28377088] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 28377088] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x7dd186 0x7dd1bd 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd185 bytes.Clone+0x765 bytes/bytes.go:1412 # 0x7dd1bc database/sql.convertAssignRows+0x79c database/sql/convert.go:266 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 720] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16ac7b4 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x17e19bc 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e19bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x49b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 98304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x24a7a45 0x24a7a3f 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7a44 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x64 github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x24a7a3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5e github.com/mattermost/mattermost/server/v8/channels/app/user.go:2619 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x16b07a8 0x177292a 0x17727f2 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1772929 github.com/mattermost/squirrel.StatementBuilderType.Select+0x209 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17727f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:66 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x76b56c 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x76b56b net/http.(*Transport).getConn+0x22b net/http/transport.go:1499 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16b080f 0x177292a 0x17727f2 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1772929 github.com/mattermost/squirrel.StatementBuilderType.Select+0x209 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17727f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:66 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817d25 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817d24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 48] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xaf7f66 0x114a4a5 0x114a457 0x119683f 0x24086f0 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x24086ab 0x2029802 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x114a4a4 net/rpc.(*Client).Call+0x104 net/rpc/client.go:321 # 0x114a456 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageHasBeenUpdated+0xb6 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:276 # 0x119683e github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageHasBeenUpdated+0x5e github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:113 # 0x24086ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost.func2.1+0x2f github.com/mattermost/mattermost/server/v8/channels/app/post.go:805 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x24086aa github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost.func2+0x4a github.com/mattermost/mattermost/server/v8/channels/app/post.go:804 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 64] @ 0xb18ff7 0xc13c73 0x23f8d73 0x11ad826 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23f8d72 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x632 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:87 # 0x11ad825 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:56 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x7889fb 0x7889a6 0x787fff 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0x14b32c5 0x455278 0x446605 0x4464ee 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x787ffe regexp/syntax.(*compiler).compile+0x157e regexp/syntax/compile.go:101 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x14b32c4 github.com/minio/minio-go/v7/pkg/s3utils.init+0xc4 github.com/minio/minio-go/v7@v7.0.95/pkg/s3utils/utils.go:96 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x186d3a5 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186d3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:913 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 480] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 9216] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x539cff 0xb8ae17 0xb8adf3 0x23937e6 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0xb8ae16 strings.Split+0x56 strings/strings.go:361 # 0xb8adf2 github.com/mattermost/mattermost/server/public/model.(*Channel).GetBothUsersForDM+0x32 github.com/mattermost/mattermost/server/public/model/channel.go:443 # 0x23937e5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0xe5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1029 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1152] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 160] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x673fd4 0x696e94 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x673fd3 crypto/tls.signedMessage+0x33 crypto/tls/auth.go:90 # 0x696e93 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x513 crypto/tls/handshake_client_tls13.go:689 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x7731b3 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x7731b2 net/http.(*persistConn).roundTrip+0x5b2 net/http/transport.go:2799 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6144] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0xc1f0c8 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1f0c7 github.com/mattermost/mattermost/server/public/model.SidebarCategorySorting.MarshalJSON+0x27 github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:96 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xc15085 0xc14fe7 0xb8dbe8 0x253c1b4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc15084 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc14fe6 github.com/mattermost/mattermost/server/public/model.Etag+0x166 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xb8dbe7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x253c1b3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4f3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1101 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x738538 0x73803f 0x737ba9 0x736b19 0x483fe1 # 0x738537 net/http.(*http2clientConnReadLoop).handleResponse+0x317 net/http/h2_bundle.go:10075 # 0x73803e net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:10027 # 0x737ba8 net/http.(*http2clientConnReadLoop).run+0x588 net/http/h2_bundle.go:9965 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 3072] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x539cff 0x8e2a72 0x8e29fe 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a71 strings.Split+0x151 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aadcd 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0xb11536 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11535 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x995 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:364 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x675187 0x67517d 0x421f31 0x483fe1 # 0x675186 crypto/tls.(*certCache).evict+0x46 crypto/tls/cache.go:73 # 0x67517c crypto/tls.(*certCache).active.func1+0x3c crypto/tls/cache.go:65 # 0x421f30 runtime.runfinq+0x3d0 runtime/mfinal.go:275 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1838305 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1838304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x79d3e5 0x79d8a3 0x79d2cb 0x1829e25 0x1710a55 0x16c07b2 0x1fd446b 0x24f1504 0x2661a9b 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d3e4 regexp.(*Regexp).ReplaceAllStringFunc.func1+0xc4 regexp/regexp.go:598 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x1710a54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlAuditStore.Save+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/audit_store.go:44 # 0x16c07b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:791 # 0x1fd446a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:723 # 0x24f1503 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x2661a9a github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x67a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2424 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 81920] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x683a65 0x683a66 0x770087 0x571c62 0x4bb4e3 0x7642fb 0x7641df 0x774122 0x70658a 0x4bb94d 0x4bb211 0x2428f0c 0x2428ece 0x2428d19 0x24275a5 0x2424d6d 0x242393b 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x683a64 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:591 # 0x683a65 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1385 # 0x770086 net/http.(*persistConn).Read+0x46 net/http/transport.go:2122 # 0x571c61 bufio.(*Reader).Read+0xe1 bufio/bufio.go:231 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x7642fa net/http.(*body).readLocked+0x3a net/http/transfer.go:845 # 0x7641de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x774121 net/http.(*bodyEOFSignal).Read+0x141 net/http/transport.go:2984 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb94c io.discard.ReadFrom+0x6c io/io.go:666 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2428f0b io.Copy+0x8b io/io.go:388 # 0x2428ecd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL.func1+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:775 # 0x2428d18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x898 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:791 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x6e7af1 0x6eab46 0x6ea478 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x4bad51 0x1b4cd57 0x1b4cd34 0x23bd645 0x23bd1b2 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7af0 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x6eab45 compress/gzip.(*Reader).readHeader+0x365 compress/gzip/gunzip.go:238 # 0x6ea477 compress/gzip.(*Reader).Reset+0x297 compress/gzip/gunzip.go:113 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x1b4cd56 io.ReadFull+0x76 io/io.go:354 # 0x1b4cd33 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.46.0/html/charset/charset.go:110 # 0x23bd644 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:79 # 0x23bd1b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:55 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x49b79f 0x6084bd 0x607165 0x11afbc6 0x11b0bf8 0x11b0503 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x49b79e syscall.ParseNetlinkMessage+0x13e syscall/netlink_linux.go:133 # 0x6084bc net.interfaceAddrTable+0x9c net/interface_linux.go:128 # 0x607164 net.(*Interface).Addrs+0x24 net/interface.go:92 # 0x11afbc5 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0xe5 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:48 # 0x11b0bf7 github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0xb7 github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x11b0502 github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x222 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:154 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x184e13d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1920] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 704] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1852305 0x185226c 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1852304 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x324 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x24e27fc 0x2508bf1 0x54ec8d 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x1852691 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x16b19e5 0x16b19b3 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b48e8 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b48e7 github.com/mattermost/squirrel.(*updateData).ToSql+0x5c7 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 4096] @ 0x633c7e 0x633c93 0x6c7914 0x67b376 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x633c7d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x633c92 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6c7913 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:551 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 2688] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0eeb 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x27156c6 0x2716045 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x27156c5 crypto/internal/fips140/ecdsa.pad000+0x65 crypto/internal/fips140/ecdsa/hmacdrbg.go:131 # 0x2716044 crypto/internal/fips140/ecdsa.newDRBG[...]+0x604 crypto/internal/fips140/ecdsa/hmacdrbg.go:103 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ab44d 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ab44c github.com/mattermost/squirrel.(*insertData).ToSql+0x8c github.com/mattermost/squirrel@v0.5.0/insert.go:63 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x204b0a5 0x204af93 0x20537fe 0x2051cd7 0x483fe1 # 0x204b0a4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x2e4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x204af92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x1d2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:824 # 0x20537fd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1afd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:581 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 13568] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb10405 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb10404 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x464 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:245 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x79d536 0x79cfe5 0xc151f1 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x26d6fc6 0x26dd436 0x2715dde 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26d6fc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:133 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x2715ddd crypto/internal/fips140/ecdsa.newDRBG[...]+0x39d crypto/internal/fips140/ecdsa/hmacdrbg.go:92 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0xb78dca 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6efe5 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6efe4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0x144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:169 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 5376] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0a05 0x16b09d3 0x18538bf 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18538be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c58ba 0x17c586f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c58b9 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3f9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c586e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x3ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1254 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 192] @ 0x48ed3d 0x48ec06 0x48e97c 0x24e4539 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x24e4538 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x218 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:490 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x2410534 0x2411005 0x241215c 0x25e562b 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x2410533 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseAndFetchChannelIdByNameFromInFilter+0x1b3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1551 # 0x2411004 github.com/mattermost/mattermost/server/v8/channels/app.(*App).convertChannelNamesToChannelIds+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1612 # 0x241215b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPostsForUser+0x23b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1740 # 0x25e562a github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x6aa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:818 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0x1868ca5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0x1868ca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:550 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x12578b9 0x125c637 0x182b7ac 0x1745625 0x1745496 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1745624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xbc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1745495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xa35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3229 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1746405 0x17463a2 0x174576f 0x16c17dd 0x1fd569c 0x22d61be 0x253db85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1746404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17463a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.autocompleteInTeamForSearchDirectMessages+0x921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3288 # 0x174576e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AutocompleteInTeamForSearch+0xd0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3234 # 0x16c17dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AutocompleteInTeamForSearch+0xbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1064 # 0x1fd569b github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AutocompleteInTeamForSearch+0xbb github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:931 # 0x22d61bd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteChannelsForSearch+0xbd github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3070 # 0x253db84 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteChannelsForTeamForSearch+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x179eb85 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x179eb84 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x164 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 48] @ 0x26524ec 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x26524eb github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1eb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1051 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x539fb5 0x22af369 0x22af361 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af368 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:845 # 0x22af360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:272 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x461d32 0x4612a5 0x46159d 0x112a998 0x112a93f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x112a997 github.com/lib/pq.ParseURL.func1+0x357 github.com/lib/pq@v1.10.9/url.go:46 # 0x112a93e github.com/lib/pq.ParseURL+0x2fe github.com/lib/pq@v1.10.9/url.go:55 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x11137bb 0x111ec4a 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111ec49 github.com/lib/pq.(*conn).processParameterStatus+0x29 github.com/lib/pq@v1.10.9/conn.go:1780 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 256] @ 0x619566 0x61953d 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x1f70035 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f70034 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:290 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5246c9 0x5246bd 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0xc468d0 0x250ef42 0x250e690 0x250cde5 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5246c8 errors.New+0x208 errors/errors.go:65 # 0x5246bc fmt.Errorf+0x1fc fmt/errors.go:30 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0xc468cf github.com/mattermost/mattermost/server/public/shared/request.(*Context).T+0x2f github.com/mattermost/mattermost/server/public/shared/request/context.go:64 # 0x250ef41 github.com/mattermost/mattermost/server/v8/channels/web.renderBrowserFirefox+0xc1 github.com/mattermost/mattermost/server/v8/channels/web/unsupported_browser.go:133 # 0x250e68f github.com/mattermost/mattermost/server/v8/channels/web.renderUnsupportedBrowser+0x5af github.com/mattermost/mattermost/server/v8/channels/web/unsupported_browser.go:79 # 0x250cde4 github.com/mattermost/mattermost/server/v8/channels/web.root+0x144 github.com/mattermost/mattermost/server/v8/channels/web/static.go:65 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x504fa7 0x504939 0x879ae6 0x875226 0x873a1f 0x8729d2 0x8723c5 0x870265 0x87045d 0x872245 0x8703ad 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x250d7d3 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x504fa6 reflect.Value.call+0x426 reflect/value.go:446 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0x879ae5 text/template.safeCall+0x85 text/template/funcs.go:375 # 0x875225 text/template.(*state).evalCall+0xaa5 text/template/exec.go:870 # 0x873a1e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x8729d1 text/template.(*state).evalCommand+0x1d1 text/template/exec.go:563 # 0x8723c4 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x870264 text/template.(*state).walk+0x124 text/template/exec.go:267 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x872244 text/template.(*state).walkTemplate+0x2a4 text/template/exec.go:514 # 0x8703ac text/template.(*state).walk+0x26c text/template/exec.go:285 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x250d7d2 github.com/mattermost/mattermost/server/v8/channels/web.root+0xb32 github.com/mattermost/mattermost/server/v8/channels/web/static.go:67 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x62eb25 0x62e809 0x124a831 0x250fe90 0x250ce3d 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x124a830 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x250fe8f github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x2f github.com/mattermost/mattermost/server/v8/channels/web/web.go:79 # 0x250ce3c github.com/mattermost/mattermost/server/v8/channels/web.root+0x19c github.com/mattermost/mattermost/server/v8/channels/web/static.go:76 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [6: 4224] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x6cff11 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [6: 96] @ 0x16ae8ad 0x16b7a3c 0x16ab7e3 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 5760] @ 0x675187 0x67517d 0x421f31 0x483fe1 # 0x675186 crypto/tls.(*certCache).evict+0x46 crypto/tls/cache.go:73 # 0x67517c crypto/tls.(*certCache).active.func1+0x3c crypto/tls/cache.go:65 # 0x421f30 runtime.runfinq+0x3d0 runtime/mfinal.go:275 0: 0 [5: 80] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 4144] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16b4d8e 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 320] @ 0x1f7efb8 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7efb7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x737 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x273830f 0x2737a4d 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x273830e crypto/internal/fips140/tls13.extract[...]+0x4e crypto/internal/fips140/tls13/tls13.go:44 # 0x2737a4c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x76cba7 0x76d9bc 0x76c318 0x76c155 0x483fe1 # 0x76cba6 net/http.(*persistConn).addTLS+0x266 net/http/transport.go:1699 # 0x76d9bb net/http.(*Transport).dialConn+0x99b net/http/transport.go:1790 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x61d0c5 0x619dbb 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x61d0c4 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x619dba net.(*netFD).dial+0x57a net/sock_posix.go:141 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 240] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc08f1e 0xc08e93 0x24995dd 0x24a9c45 0x24a9b38 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f1d github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0x9d github.com/mattermost/mattermost/server/public/model/user.go:731 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0e85 0x16b0e53 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x17c6c6f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6c6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa71e 0x16aaa5a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa59 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a99fe 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [2: 512] @ 0x270d16e 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d16d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 192] @ 0x5be9e5 0x69f7d9 0x69f6d8 0x5be6e2 0x5bea71 0x69f614 0x69f5f3 0x5be6e2 0x5bea71 0x6990df 0x698fb4 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69f7d8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x198 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f6d7 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x97 crypto/tls/handshake_messages.go:112 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69f613 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69f5f2 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6990de vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1fe vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x698fb3 crypto/tls.(*clientHelloMsg).marshalMsg+0xd3 crypto/tls/handshake_messages.go:109 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x78b04b 0x78af74 0x78abfb 0x78a61b 0x78d7fd 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0x1b4df59 0x455278 0x446605 0x4464ee 0x483fe1 # 0x78b04a regexp/syntax.(*parser).newRegexp+0x34a regexp/syntax/parse.go:146 # 0x78af73 regexp/syntax.(*parser).factor+0x273 regexp/syntax/parse.go:635 # 0x78abfa regexp/syntax.(*parser).collapse+0x3da regexp/syntax/parse.go:563 # 0x78a61a regexp/syntax.(*parser).alternate+0x15a regexp/syntax/parse.go:518 # 0x78d7fc regexp/syntax.parse+0x107c regexp/syntax/parse.go:1089 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1b4df58 github.com/advancedlogic/GoOse.init+0xf8 github.com/advancedlogic/GoOse@v0.0.0-20231203033844-ae6b36caf275/cleaner.go:105 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [4: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 63733760] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 63733760] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f056b 0x112510f 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x17c234f 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c234e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x32e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:928 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16aa6cd 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aa6cc github.com/mattermost/squirrel.Lt.toSql+0x40c github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b5c50 0x179c495 0x179c466 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16b5c4f github.com/mattermost/squirrel.UpdateBuilder.Table+0x10f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x179c494 github.com/mattermost/squirrel.StatementBuilderType.Update+0x1d4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x179c465 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:153 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 768] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x186fd32 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x186fd31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x111 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1176 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 9216] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1742452 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1742451 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x23abdcb 0x23abb3e 0x20ca3f4 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x23abdca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xaa github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:91 # 0x23abb3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfd github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x20ca3f3 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin.MakeInstallPluginNotifyWorker.func2+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin/worker.go:65 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x202a2f0 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x202a2ef github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x8af github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:84 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 96] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb78dca 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x22d3df2 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x22d3df1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2833 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853a5e 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab479 0x2048745 0x2047f27 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab478 time.NewTicker+0x78 time/tick.go:44 # 0x2048744 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:513 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185a7c8 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185a7c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x2e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1063 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1727e16 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727e15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1091 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f09aa 0x4f042d 0xc17970 0xc17963 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0x4f09a9 strconv.formatBits+0x209 strconv/itoa.go:193 # 0x4f042c strconv.FormatInt+0x8c strconv/itoa.go:29 # 0xc1796f strconv.Itoa+0x2f strconv/itoa.go:35 # 0xc17962 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x22 github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179c5b9 0x179c4c5 0x179c4b3 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179c5b8 github.com/lann/builder.Append+0x2f8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c4c4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x204 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c4b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x461d32 0x4612a5 0x232e9b5 0x232ab18 0x232b58c 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x232e9b4 github.com/mattermost/mattermost/server/v8/channels/app.UploadFileTask.pathPrefix+0x2b4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1015 # 0x232ab17 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).init+0x277 github.com/mattermost/mattermost/server/v8/channels/app/file.go:751 # 0x232b58b github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x70b github.com/mattermost/mattermost/server/v8/channels/app/file.go:801 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1736e85 0x1736e28 0x1736e27 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1736e84 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1736e27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1736e26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2219 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b4a8a 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4a89 github.com/mattermost/squirrel.(*updateData).ToSql+0x769 github.com/mattermost/squirrel@v0.5.0/update.go:113 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16abb7a 0x16ab6b5 0x16ac827 0x17bc6ee 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16abb79 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x2b9 github.com/mattermost/squirrel@v0.5.0/insert.go:143 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17bc6ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x6ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:401 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x185a8a5 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x185a8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x3c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1060 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x17b859a 0x17b8bb3 0x1853725 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x1853724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4096] @ 0x238b565 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4cf3f3 0x48ea11 0x4cf9d2 0x4cf59d 0x4cf6e8 0x118d46f 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cf3f2 os.init.func1+0x32 os/dir_unix.go:35 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4cf9d1 os.(*File).readdir+0x171 os/dir_unix.go:57 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x747dd3 0x124bea8 0x124be7d 0x2434369 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x747dd2 net/http.NewRequestWithContext+0x232 net/http/request.go:912 # 0x124bea7 net/http.NewRequest+0x87 net/http/request.go:863 # 0x124be7c github.com/mattermost/mattermost/server/v8/channels/utils.GetURLWithCache+0x5c github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:135 # 0x2434368 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x8a8 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:344 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 2048] @ 0xc1541d 0xc1536f 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc1541c strings.(*Builder).WriteString+0x2fc strings/builder.go:108 # 0xc1536e github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x24e github.com/mattermost/mattermost/server/public/model/utils.go:728 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1536] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17dbcaf 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17dbcae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x5ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3076 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x6cff11 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x8e02d5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2bd0 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8e02d4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x134 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2bcf github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:271 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 5632] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264967c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264967b github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:364 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17ad529 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17ad528 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 128] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x171dc08 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dc07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x2a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:127 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 320] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17f26bf 0x17f2606 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17f26be github.com/mattermost/squirrel.SelectBuilder.From+0x27e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17f2605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x12578b9 0x125cf77 0x182c26f 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0eeb 0x17c6b9c 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6b9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3db github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x74e86b 0x5735c7 0x754d0d 0x7549ea 0x20a6d6f 0x1198562 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x74e86a net/http.(*chunkWriter).Write+0x8a net/http/server.go:383 # 0x5735c6 bufio.(*Writer).Write+0xe6 bufio/bufio.go:683 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x1198561 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cd846 0x10cd83e 0x1f77c22 0x1f7bec5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7bec4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:130 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1737156 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1737155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2688] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdcac5 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x265691b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x265691a github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x9da github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x79cff2 0xc151f1 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17be310 0x17be2e1 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17be30f github.com/mattermost/squirrel.StatementBuilderType.Select+0x86f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17be2e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x840 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:612 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17bfc25 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x17bfc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:753 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 240] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c6dd4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6dd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7876d6 0x787672 0x787666 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0xbb78d8 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7876d5 regexp/syntax.(*compiler).inst+0xc55 regexp/syntax/compile.go:164 # 0x787671 regexp/syntax.(*compiler).cap+0xbf1 regexp/syntax/compile.go:179 # 0x787665 regexp/syntax.(*compiler).compile+0xbe5 regexp/syntax/compile.go:128 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbb78d7 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:163 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x173ad8f 0x173acb2 0x173aca3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173ad8e github.com/lann/builder.Append+0xc4e github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173acb1 github.com/mattermost/squirrel.UpdateBuilder.Set+0xb71 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173aca2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xb62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2559 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 3072] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x52780f 0x877805 0x87029c 0x87045d 0x86fbda 0x8a01d1 0x8a01ab 0x8e0a85 0x8e03ba 0x8e2ef5 0x239c699 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x52780e fmt.Fprint+0x6e fmt/print.go:263 # 0x877804 text/template.(*state).printValue+0x184 text/template/exec.go:1107 # 0x87029b text/template.(*state).walk+0x15b text/template/exec.go:269 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x8a01d0 text/template.(*Template).Execute+0x70 text/template/exec.go:207 # 0x8a01aa github.com/mattermost/go-i18n/i18n/translation.(*template).Execute+0x4a github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:42 # 0x8e0a84 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x364 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:396 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x239c698 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xdb8 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:81 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2048] @ 0x12575bb 0x125c637 0x182b7ac 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4d27 0x2654872 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4d26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2421 # 0x2654871 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1280 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 512] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17c68be 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c68bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x5f05e5 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5f05e4 internal/singleflight.(*Group).DoChan+0x184 internal/singleflight/singleflight.go:81 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x175b745 0x175b687 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b744 github.com/mattermost/squirrel.SelectBuilder.From+0x984 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x24860f8 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24860f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xcb7 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1727 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5f8be5 0x5f8a45 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5f8be4 net.addrList.partition+0x8e4 net/ipsock.go:123 # 0x5f8a44 net.(*Dialer).DialContext+0x744 net/dial.go:573 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [4: 2816] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [6: 1536] @ 0x58b4b3 0x5cd9fb 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eabf1 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eabf0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x16b4d5f 0x16b4cfd 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4d5e bytes.(*Buffer).String+0xa3e bytes/buffer.go:71 # 0x16b4cfc github.com/mattermost/squirrel.(*updateData).ToSql+0x9dc github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x173adb9 0x173acb2 0x173aca3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x173adb8 github.com/lann/builder.Append+0xc78 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173acb1 github.com/mattermost/squirrel.UpdateBuilder.Set+0xb71 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173aca2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xb62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2559 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x1816bc8 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1816bc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:95 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 1280] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x747dd3 0x23a6633 0x23a65fd 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x747dd2 net/http.NewRequestWithContext+0x232 net/http/request.go:912 # 0x23a6632 net/http.NewRequest+0x1d2 net/http/request.go:863 # 0x23a65fc github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x19c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b08ff 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b0eeb 0x184ddf5 0x184ddad 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 864] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 352] @ 0x539fb5 0x22af369 0x22af361 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af368 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:845 # 0x22af360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:272 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x27332f5 0x2738366 0x2737a4d 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2737a4c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x16b15fc 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17ca01b 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c9d09 0x17c9c4c 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c9d08 github.com/mattermost/squirrel.SelectBuilder.From+0xca8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c9c4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xbeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1573 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0de8b 0xc0de8c 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0de8a github.com/tinylib/msgp/msgp.ReadStringBytes+0x64a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0de8b github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x64b github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:565 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0xbddae5 0xbdda55 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddae4 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x224 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0xbdda54 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x194 github.com/mattermost/mattermost/server/public/model/post_list.go:150 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1872c19 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x498 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 160] @ 0x16ae58f 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x7759e5 0x775b86 0x70580b 0x7046f3 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7759e4 net/http.Header.Clone+0xe4 net/http/header.go:105 # 0x775b85 net/http.cloneOrMakeHeader+0x285 net/http/clone.go:116 # 0x70580a net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:759 # 0x7046f2 net/http.(*Client).do+0x232 net/http/client.go:609 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0xb13ab0 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb13aaf github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x56f github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:62 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x184f0f9 0x184f0b1 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f0f8 github.com/mattermost/squirrel.SelectBuilder.Join+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f0b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c7392 0x17c7335 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c7391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x291 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c7334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1393 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x1b77076 0x1b79163 0x23a24da 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x1b77075 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xb5 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:107 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0x17b859a 0x17b8bb3 0x17ba49f 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x17ba49e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x153e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x17c6c5a 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6c59 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x499 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x271638e 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17e163c 0x17e15de 0x17e15dd 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17e163b github.com/mattermost/squirrel.InsertBuilder.Into+0x11b github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x17e15dd github.com/mattermost/squirrel.StatementBuilderType.Insert+0xbd github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x17e15dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:97 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17c1952 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1951 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1280] @ 0x1a0a3a5 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 832] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x238d465 0x238b1ef 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x238d464 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0xf164 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x238b1ee github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xceee github.com/mattermost/mattermost/server/v8/channels/app/notification.go:834 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 96] @ 0x18588ab 0x1858877 0x1858876 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18588aa github.com/mattermost/squirrel.newPart+0x1ea github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1858876 github.com/mattermost/squirrel.SelectBuilder.From+0x1b6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1858875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x1b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:813 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x2738070 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a968e 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [18: 576] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x842c7c 0x842c49 0x84297d 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x842c7b github.com/mattermost/logr/v2.(*Logr).BorrowBuffer+0xbb github.com/mattermost/logr/v2@v2.0.22/logr.go:402 # 0x842c48 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x88 github.com/mattermost/logr/v2@v2.0.22/target.go:259 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [1: 32] @ 0x1858a7f 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1858a7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x7d6917 0x7d6fba 0x11ad830 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7d6916 bytes.NewReader+0x4d6 bytes/reader.go:159 # 0x7d6fb9 net/http/httptest.(*ResponseRecorder).Result+0xb79 net/http/httptest/recorder.go:201 # 0x11ad82f github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xef github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:59 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x25168f3 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25168f2 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0xd2 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:20 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b0eeb 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6505c5 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6505c4 crypto/x509.newPolicyGraphNode+0x1224 crypto/x509/verify.go:1278 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24999f2 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24999f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x31 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1226 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x49bd85 0x4a0e77 0x4a0e81 0x4d8dd2 0x4d8db1 0x4d8dba 0x4d8dae 0x4d89ec 0x5fecc5 0x5f5b5a 0x5f5b42 0x5f5825 0x613a47 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4a0e76 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4a0e80 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4d8dd1 syscall.Stat+0x51 syscall/syscall_linux_amd64.go:61 # 0x4d8db0 os.statNolog.func1+0x30 os/stat_unix.go:32 # 0x4d8db9 os.ignoringEINTR+0x39 os/file_posix.go:251 # 0x4d8dad os.statNolog+0x2d os/stat_unix.go:31 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x5fecc4 net.(*resolverConfig).tryUpdate+0x184 net/dnsclient_unix.go:416 # 0x5f5b59 net.getSystemDNSConfig+0x199 net/dnsclient_unix.go:369 # 0x5f5b41 net.(*conf).lookupOrder+0x181 net/conf.go:285 # 0x5f5824 net.(*conf).hostLookupOrder+0x84 net/conf.go:238 # 0x613a46 net.(*Resolver).lookupIP+0xa6 net/lookup_unix.go:64 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x12575bb 0x125c637 0x182a1ef 0x17adb4e 0x16da44e 0x1ff1134 0x201f1ff 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x17adb4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x201f1fe github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x9de github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:95 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:301 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x5d6ccd 0x5d6e13 0x5d6570 0x11affdb 0x768d82 0x767468 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5d6ccc net/netip.parseIPv4Fields+0x2ec net/netip/netip.go:185 # 0x5d6e12 net/netip.parseIPv4+0x32 net/netip/netip.go:198 # 0x5d656f net/netip.ParseAddr+0x4f net/netip/netip.go:119 # 0x11affda github.com/mattermost/mattermost/server/public/shared/httpservice.getProxyFn.func1+0x3a github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:183 # 0x768d81 net/http.(*Transport).connectMethodForRequest+0x81 net/http/transport.go:978 # 0x767467 net/http.(*Transport).roundTrip+0xaa7 net/http/transport.go:675 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x2429274 0x242732f 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2429273 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:811 # 0x242732e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:633 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xbfa85a 0xbfa85b 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa859 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa85a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 28672] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbd938d 0xbd9304 0x24009af 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbd938c maps.Copy[...]+0x14c maps/maps.go:64 # 0xbd9303 github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xc3 github.com/mattermost/mattermost/server/public/model/post.go:643 # 0x24009ae github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfae github.com/mattermost/mattermost/server/v8/channels/app/post.go:287 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa71e 0x16aaa17 0x16b7859 0x16ae35d 0x16ae4b7 0x16a595d 0x16a61bd 0x17ac0d3 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaa16 github.com/mattermost/squirrel.Lt.ToSql+0x16 github.com/mattermost/squirrel@v0.5.0/expr.go:352 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16a595c github.com/mattermost/squirrel.(*deleteData).ToSql+0x31c github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17ac0d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xc12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:81 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16b01fd 0x16ae34e 0x16ae4b7 0x16aee9a 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 384] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x17ac565 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ac564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 401408] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25921b5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25921b4 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x2f4 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:95 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x1857da9 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1857da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:761 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0311 0x16b03d0 0x17bfb07 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16b0310 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x17bfb06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x5c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:749 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [2: 128] @ 0x271638e 0x2732f5a 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 448] @ 0x7731b3 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7731b2 net/http.(*persistConn).roundTrip+0x5b2 net/http/transport.go:2799 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 96] @ 0x125cad3 0x18296ff 0x185912c 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x125cad2 github.com/jmoiron/sqlx.(*DB).Beginx+0x52 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:346 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x185912b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:853 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x18577c5 0x18576d2 0x18576b6 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18577c4 github.com/lann/builder.Append+0x204 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18576d1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x111 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18576b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:757 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x27156c6 0x27160dc 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x27156c5 crypto/internal/fips140/ecdsa.pad000+0x65 crypto/internal/fips140/ecdsa/hmacdrbg.go:131 # 0x27160db crypto/internal/fips140/ecdsa.newDRBG[...]+0x69b crypto/internal/fips140/ecdsa/hmacdrbg.go:81 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x16b0eeb 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17cb5fc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17cb5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1677 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b0e85 0x16b0e53 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17c1886 0x17c1852 0x17c1851 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1885 github.com/mattermost/squirrel.newPart+0x145 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17c1851 github.com/mattermost/squirrel.SelectBuilder.From+0x111 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1850 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:887 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x1710a55 0x16c07b2 0x1fd446b 0x24f1504 0x2656dad 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1710a54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlAuditStore.Save+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/audit_store.go:44 # 0x16c07b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:791 # 0x1fd446a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:723 # 0x24f1503 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x2656dac github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xe6c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x22d3df2 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x22d3df1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2833 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0xbbc81c 0xbdd13a 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb1299c 0xb13445 0xb13702 0xb13337 0x2426425 0x2426dc5 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1299b github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x2426dc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x564 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:576 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5474d6 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 48] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17b894f 0x17bc5da 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b894e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x36e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:89 # 0x17bc5d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:400 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x23fe3e9 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x23fe3e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:40 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc0dfa6 0xc0dfa7 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dfa5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x765 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dfa6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x766 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x461d32 0x4612a5 0x46140a 0x171de71 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171de70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x510 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:135 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x17bf3c5 0x17be5e8 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17bf3c4 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1924 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17be5e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:631 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x16b44be 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b44bd github.com/mattermost/squirrel.(*updateData).ToSql+0x19d github.com/mattermost/squirrel@v0.5.0/update.go:82 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x16b0a05 0x16b09d3 0x184fba5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1792] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 3584] @ 0x238b565 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x238b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd264 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x2716257 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 48] @ 0x16b0efc 0x185263f 0x18525f7 0x11adcb0 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185263e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 384] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b0005 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x204d793 0x20484e6 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204d792 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).logSocketErr+0x3d2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:1050 # 0x20484e5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x525 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:468 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408f2e 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b15eb 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 5280] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787ca8 0x787812 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0xc182b9 0x455278 0x446605 0x4464ee 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787ca7 regexp/syntax.(*compiler).compile+0x1227 regexp/syntax/compile.go:154 # 0x787811 regexp/syntax.(*compiler).compile+0xd91 regexp/syntax/compile.go:129 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc182b8 github.com/mattermost/mattermost/server/public/model.init+0x98 github.com/mattermost/mattermost/server/public/model/channel.go:22 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17c1952 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1951 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xbfc452 0xbfc418 0xc0e27e 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x54b539 0x54b93a 0x53e4bd 0x53df65 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x53df64 encoding/json.(*decodeState).unmarshal+0x104 encoding/json/decode.go:175 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184f405 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:253 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x2422588 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422587 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x147 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:129 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x18380c5 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x18380c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x182edaa 0x182ece1 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x182eda9 github.com/mattermost/squirrel.InsertBuilder.Columns+0x229 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16b1a5c 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0xaeb5d3 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xaeb5d2 encoding/gob.(*Encoder).encodeInterface+0x732 encoding/gob/encode.go:417 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x6146d5 0x2049e22 0x2049df6 0x20497b3 0x2047f27 0x483fe1 # 0x6146d4 net.(*conn).Close+0x54 net/net.go:220 # 0x2049e21 github.com/gorilla/websocket.(*Conn).Close+0x61 github.com/gorilla/websocket@v1.5.3/conn.go:345 # 0x2049df5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump.func1+0x35 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:519 # 0x20497b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x10b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:621 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [2: 288] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b5b85 0x1856135 0x1856106 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b5b84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x1856134 github.com/mattermost/squirrel.StatementBuilderType.Update+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1856105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:701 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x798cd2 0x798bc1 0x79a09f 0x799ccb 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x798cd1 regexp.mergeRuneSets.func2+0x2b1 regexp/onepass.go:185 # 0x798bc0 regexp.mergeRuneSets+0x1a0 regexp/onepass.go:192 # 0x79a09e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x799cca regexp.makeOnePass+0x32a regexp/onepass.go:442 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17afc25 0x16df59a 0x1ff6ca6 0x241d97e 0x2422f3e 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17afc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:122 # 0x16df599 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8795 # 0x1ff6ca5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7012 # 0x241d97d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x2422f3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xafd github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:157 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x25e793d 0x25e741f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x25e793c github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x5c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:968 # 0x25e741e github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x57e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:948 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c9d09 0x17c9c4c 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c9d08 github.com/mattermost/squirrel.SelectBuilder.From+0xca8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c9c4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xbeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1573 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 24320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x265472b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x265472a github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x3aa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x184dcd7 0x184dcb1 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x172789f 0x17277e6 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x172789e github.com/mattermost/squirrel.SelectBuilder.From+0x1fe github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17277e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1064 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 352] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x5474d6 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x203fc05 0x203fb97 0x2041891 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203fc04 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2041890 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0xa30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x1816bc8 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1816bc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:95 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x16b07a8 0x172dd55 0x172dd2a 0x18a812a 0x16c34c8 0x1fd7792 0x1f713e2 0x1f8b115 0x22cc2ac 0x22be734 0x2410705 0x2411005 0x2334efc 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x172dd54 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172dd29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1525 # 0x18a8129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByNameIncludeDeleted+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1516 # 0x16c34c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByNameIncludeDeleted+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1538 # 0x1fd7791 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByNameIncludeDeleted+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1313 # 0x1f713e1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x181 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x1f8b114 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByNameIncludeDeleted+0x54 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:395 # 0x22cc2ab github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0x8b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2027 # 0x22be733 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetGroupChannel+0x133 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:706 # 0x2410704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseAndFetchChannelIdByNameFromInFilter+0x384 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1543 # 0x2411004 github.com/mattermost/mattermost/server/v8/channels/app.(*App).convertChannelNamesToChannelIds+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1612 # 0x2334efb github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x23b github.com/mattermost/mattermost/server/v8/channels/app/file.go:1456 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25a1558 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25a1557 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x77 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae390 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [102: 91392] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1772a77 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1772a76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x645a29 0x642030 0x64436f 0x6442a8 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x645a28 crypto/x509.processExtensions.parseSANExtension.func1+0xa8 crypto/x509/parser.go:388 # 0x64202f crypto/x509.forEachSAN+0xcf crypto/x509/parser.go:366 # 0x64436e crypto/x509.parseSANExtension+0x2ee crypto/x509/parser.go:375 # 0x6442a7 crypto/x509.processExtensions+0x227 crypto/x509/parser.go:689 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x539fb5 0x24fced1 0x2687b7c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x24fced0 github.com/mattermost/mattermost/server/v8/channels/web.GetOriginClient+0x30 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:462 # 0x2687b7b github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5bb github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 61440] @ 0x461e06 0x4bac07 0x10e2165 0x10e42d5 0x10e301b 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bac06 io.WriteString+0x66 io/io.go:318 # 0x10e2164 gopkg.in/mail%2ev2.(*Message).AddAlternative.newCopier.func1+0x24 gopkg.in/mail.v2@v2.3.1/message.go:215 # 0x10e42d4 gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1f4 gopkg.in/mail.v2@v2.3.1/writeto.go:277 # 0x10e301a gopkg.in/mail%2ev2.(*messageWriter).writePart+0x23a gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1841ca5 0x16eddbd 0x2007743 0x1b7591d 0x247ace7 0x2478e05 0x247db72 0x23de6fe 0x113011e 0x115f095 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841ca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x1b7591c github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).JoinUserToTeam+0x21c github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:164 # 0x247ace6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).JoinUserToTeam+0x66 github.com/mattermost/mattermost/server/v8/channels/app/team.go:748 # 0x2478e04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddUserToTeam+0x464 github.com/mattermost/mattermost/server/v8/channels/app/team.go:576 # 0x247db71 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddTeamMember+0x51 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1038 # 0x23de6fd github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreateTeamMember+0x3d github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:216 # 0x113011d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreateTeamMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:432 # 0x115f094 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreateTeamMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2870 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0xadbf98 0xadd743 0xaddb45 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb44 encoding/gob.(*Decoder).decodeMap+0x384 encoding/gob/decode.go:606 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [9: 2880] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 528] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 1408] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 240] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 2080] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x5be9e5 0x69b50c 0x69b3af 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 5376] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x172dd05 0x172dca6 0x172dcb4 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x172dd04 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x172dca5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x172dcb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1524 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x262ac5e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x262ac5d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:689 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 401408] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbd768b 0x25ddb3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbd768a github.com/mattermost/mattermost/server/public/model.(*Post).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post.go:361 # 0x25ddb3e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xafe github.com/mattermost/mattermost/server/v8/channels/api4/post.go:129 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 270336] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbd768b 0x25ddb3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbd768a github.com/mattermost/mattermost/server/public/model.(*Post).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post.go:361 # 0x25ddb3e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xafe github.com/mattermost/mattermost/server/v8/channels/api4/post.go:129 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c8e6b 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c8e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x2ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1511 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x58b4b3 0x5c42a8 0x5c4c55 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5c42a7 crypto/ecdsa.privateKeyToFIPS[...]+0x67 crypto/ecdsa/ecdsa.go:409 # 0x5c4c54 crypto/ecdsa.signFIPS[...]+0x74 crypto/ecdsa/ecdsa.go:244 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 720] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 2560] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 24576] @ 0x11e2f97 0x11e2f5f 0x11e2ff6 0x19a3350 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e2f96 bufio.NewWriterSize+0x136 bufio/bufio.go:600 # 0x11e2f5e bufio.NewWriter+0xfe bufio/bufio.go:609 # 0x11e2ff5 image/jpeg.Encode+0x195 image/jpeg/writer.go:584 # 0x19a334f github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x8f github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 36864] @ 0x11e5513 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5512 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x272bcb1 0x272c1f7 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x272bcb0 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x272c1f6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 320] @ 0x1772c75 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1772c74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x554 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:78 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 6400] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 672] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b1a4b 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f6f566 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6f565 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:227 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 384] @ 0x24e27fc 0x2508bf1 0x24fca71 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x24fca70 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd90 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0x1868ca5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868ca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:550 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x12578b9 0x125c637 0x1829914 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 560] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264dc7c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264dc7b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x13b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 65536] @ 0x7015ba 0x48ea11 0x74f25d 0x74f251 0x20a734a 0x4bb211 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e09b 0x23f9848 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7015b9 net/http.init.func15+0x19 net/http/server.go:820 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x74f25c net/http.getCopyBuf+0x5c net/http/server.go:823 # 0x74f250 net/http.(*response).ReadFrom+0x50 net/http/server.go:587 # 0x20a7349 github.com/getsentry/sentry-go/internal/httputils.(*httpFancyWriter).ReadFrom+0xe9 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:175 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e09a net/http.ServeFile+0xfa net/http/fs.go:817 # 0x23f9847 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginPublicRequest+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:153 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2649885 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2649884 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18382ae 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18382ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 4096] @ 0x6ea33e 0x6ea2ed 0x6ea417 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x4bad51 0x1b4cd57 0x1b4cd34 0x23bd645 0x23bd1b2 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x24232a6 0x24160dd 0x25e8705 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6ea33d bufio.NewReaderSize+0x15d bufio/bufio.go:57 # 0x6ea2ec bufio.NewReader+0x10c bufio/bufio.go:63 # 0x6ea416 compress/gzip.(*Reader).Reset+0x236 compress/gzip/gunzip.go:111 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x1b4cd56 io.ReadFull+0x76 io/io.go:354 # 0x1b4cd33 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.46.0/html/charset/charset.go:110 # 0x23bd644 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:79 # 0x23bd1b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:55 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x24160dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPostReminder+0x97c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2252 # 0x25e8704 github.com/mattermost/mattermost/server/v8/channels/api4.setPostReminder+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1044 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25e8585 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25e8584 github.com/mattermost/mattermost/server/v8/channels/api4.setPostReminder+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1033 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x24a9c45 0x24a9b38 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 384] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c23fa 0x17c23f5 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c23f9 github.com/mattermost/squirrel.SelectBuilder.MustSql+0x3d9 github.com/mattermost/squirrel@v0.5.0/select.go:229 # 0x17c23f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x23a5abf 0x483fe1 # 0x23a5abe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start+0x25e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:424 0: 0 [2: 320] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xb165f4 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165f3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:69 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 12672] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408105 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x24423d2 0x2462125 0xbf187e 0x483fe1 # 0x24423d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0x111 github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:25 # 0x2462124 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1803 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25c329e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25c329d github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x3d github.com/mattermost/mattermost/server/v8/channels/api4/license.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x604d2d 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x604d2c net.(*netFD).connect+0x22c net/fd_unix.go:103 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x5275a6 0x16aae05 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x25dda2c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x25dda2b github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x9eb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:123 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69a68d 0x69a530 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a68c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x17ac vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a52f crypto/tls.(*clientHelloMsg).marshalMsg+0x164f crypto/tls/handshake_messages.go:195 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x185a8a5 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x185a8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x3c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1060 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x535245 0x535350 0x62fdf0 0x2429194 0x24272d5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x2429193 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x53 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:806 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 5376] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [6: 96] @ 0x50afcb 0x4f9c71 0x547625 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x1816ab3 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1816ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:93 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x7dd1e7 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd1e6 database/sql.convertAssignRows+0x7c6 database/sql/convert.go:266 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 240] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 5376] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0x1843ae5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1843ae4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1131 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17e163c 0x17e15de 0x17e15dd 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17e163b github.com/mattermost/squirrel.InsertBuilder.Into+0x11b github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x17e15dd github.com/mattermost/squirrel.StatementBuilderType.Insert+0xbd github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x17e15dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:97 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb18fbd 0xc13c73 0x23a22cd 0x23a51d2 0x23a5cff 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23a22cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c2c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:168 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 48] @ 0x543d27 0xc1abb7 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1abb6 github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x36 github.com/mattermost/mattermost/server/public/model/channel.go:465 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185618d 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185618c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:702 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x2401775 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2401774 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1d74 github.com/mattermost/mattermost/server/v8/channels/app/post.go:390 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17ac165 0x17ac10a 0x17ac118 0x17acfed 0x16dab6a 0x1ff192a 0x201ed25 0x23f61fb 0x23e4329 0x1135745 0x1172502 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17ac164 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xca4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17ac109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xc49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17ac117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xc57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:91 # 0x17acfec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x16dab69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7637 # 0x1ff1929 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6086 # 0x201ed24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x504 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:82 # 0x23f61fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5a github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x23e4328 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1057 # 0x1135744 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc4 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:998 # 0x1172501 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 416] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x4d4f45 0x4d527d 0x4d2fbe 0xbc2e0e 0xbc2e05 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2e0d os.Open+0x3cd os/file.go:370 # 0xbc2e04 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3c4 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x54b539 0x54b93a 0x53e4bd 0x54011a 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x540119 encoding/json.(*decodeState).object+0xb39 encoding/json/decode.go:746 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x17c190f 0x17c1851 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17c190e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1850 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:887 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125ecdf 0x1260b39 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125ecde github.com/jmoiron/sqlx.(*Row).scanAny+0x2de github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x185892f 0x1858876 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185892e github.com/mattermost/squirrel.SelectBuilder.From+0x26e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1858875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x1b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:813 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1792] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5136384] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x1817dfc 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817dfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17dbb0a 0x17dba31 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17dbb09 github.com/mattermost/squirrel.StatementBuilderType.Select+0x409 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17dba30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3066 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17277e5 0x172778d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17277e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172778c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x535245 0x535350 0x53a585 0x1f7bde5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x1f7bde4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:119 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x17c8f0d 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c8f0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x36c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1512 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0x680e93 0x68275e 0x76fb46 0x5732f5 0x77258c 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x680e92 crypto/tls.(*Conn).writeRecordLocked+0x3b2 crypto/tls/conn.go:988 # 0x68275d crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1248 # 0x76fb45 net/http.persistConnWriter.Write+0x25 net/http/transport.go:1960 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x77258b net/http.(*persistConn).writeLoop+0x1cb net/http/transport.go:2606 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 13056] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17361cf 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17361ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0xae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2134 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x16b07a8 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x505b4a 0x504939 0x879ae6 0x875226 0x873a1f 0x8729d2 0x8723c5 0x870265 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x505b49 reflect.Value.call+0xfc9 reflect/value.go:650 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0x879ae5 text/template.safeCall+0x85 text/template/funcs.go:375 # 0x875225 text/template.(*state).evalCall+0xaa5 text/template/exec.go:870 # 0x873a1e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x8729d1 text/template.(*state).evalCommand+0x1d1 text/template/exec.go:563 # 0x8723c4 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x870264 text/template.(*state).walk+0x124 text/template/exec.go:267 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x17b8715 0x17ba5d4 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:80 # 0x17ba5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40cc89 0x122ba33 0x122d314 0x122bfc3 0x48e78b 0x122bb1a 0x122baf3 0x1232de4 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x122ba32 github.com/yuin/goldmark/renderer.(*renderer).Register+0x32 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:128 # 0x122d313 github.com/yuin/goldmark/renderer/html.(*Renderer).RegisterFuncs+0x4f3 github.com/yuin/goldmark@v1.7.13/renderer/html/html.go:282 # 0x122bfc2 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xe2 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:148 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122bb19 sync.(*Once).Do+0x79 sync/once.go:69 # 0x122baf2 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:136 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x17f24d2 0x17f2478 0x17f2476 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17f24d1 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17f2477 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17f2475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:90 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2371dab 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371daa github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x12a github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:54 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69ef54 0x69ef33 0x5be6e2 0x5bea71 0x699625 0x6994fd 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69ef53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69ef32 crypto/tls.(*clientHelloMsg).marshalMsg.func4+0x12 crypto/tls/handshake_messages.go:138 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x699624 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x744 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6994fc crypto/tls.(*clientHelloMsg).marshalMsg+0x61c crypto/tls/handshake_messages.go:137 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 336] @ 0x8f6185 0x8f6177 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8f6184 golang.org/x/net/html.(*parser).addElement+0x344 golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8f6176 golang.org/x/net/html.inTableIM+0x336 golang.org/x/net@v0.46.0/html/parse.go:1456 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 80] @ 0x8a0214 0x8a0215 0x8e0a85 0x8e03ba 0x8e2ef5 0x239f0a3 0x239beec 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x8a0213 bytes.(*Buffer).String+0xb3 bytes/buffer.go:71 # 0x8a0214 github.com/mattermost/go-i18n/i18n/translation.(*template).Execute+0xb4 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:45 # 0x8e0a84 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x364 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:396 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x239f0a2 github.com/mattermost/mattermost/server/v8/channels/app.getDirectMessageNotificationEmailSubject+0x342 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:282 # 0x239beeb github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x60b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:59 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0xbdb429 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdb428 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x128 github.com/mattermost/mattermost/server/public/model/post.go:907 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x461d32 0x4612a5 0x46140a 0x1853c25 0x1853c06 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853c24 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x2386b05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2386b04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x8804 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:643 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x5c1425 0x5c4278 0x5c4c55 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5c1424 crypto/ecdsa.pointFromAffine+0x1c4 crypto/ecdsa/ecdsa.go:424 # 0x5c4277 crypto/ecdsa.privateKeyToFIPS[...]+0x37 crypto/ecdsa/ecdsa.go:405 # 0x5c4c54 crypto/ecdsa.signFIPS[...]+0x74 crypto/ecdsa/ecdsa.go:244 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x64702e 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x64702d crypto/x509.parseCertificate+0x110d crypto/x509/parser.go:1049 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 4988928] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1857925 0x185781c 0x1857803 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857924 github.com/lann/builder.Append+0x364 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x185781b github.com/mattermost/squirrel.UpdateBuilder.Set+0x25b github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857802 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x242 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:758 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x17cb367 0x17cb30d 0x17cb303 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17cb366 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x466 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17cb30c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x40c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17cb302 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1669 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x6504c5 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6504c4 crypto/x509.newPolicyGraphNode+0x1124 crypto/x509/verify.go:1274 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 144] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17e1ddf 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e1dde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:117 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x203f43d 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203f43c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x75c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b19e5 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x17e173e 0x17e1671 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17e173d github.com/mattermost/squirrel.InsertBuilder.Columns+0x21d github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17e1670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x250dfff 0x250d3a5 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250dffe github.com/mattermost/mattermost/server/v8/channels/web.getOpenGraphMetaTags+0xde github.com/mattermost/mattermost/server/v8/channels/web/static.go:181 # 0x250d3a4 github.com/mattermost/mattermost/server/v8/channels/web.root+0x704 github.com/mattermost/mattermost/server/v8/channels/web/static.go:95 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46159d 0x112acd7 0x112ac66 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112acd6 github.com/lib/pq.ParseURL.func1+0x696 github.com/lib/pq@v1.10.9/url.go:46 # 0x112ac65 github.com/lib/pq.ParseURL+0x625 github.com/lib/pq@v1.10.9/url.go:62 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x565474 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x125b823 0x182cd6b 0x182cd44 0x17f61de 0x17f1df3 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x182cd6a github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x182cd43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:363 # 0x17f61dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).saveReactionAndUpdatePost+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:370 # 0x17f1df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:53 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125405 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125404 github.com/lib/pq.binaryDecode+0xc4 github.com/lib/pq@v1.10.9/encode.go:79 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1779aff 0x1779a46 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1779afe github.com/mattermost/squirrel.SelectBuilder.From+0x1be github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1779a45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:219 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x25df3d8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x25df3d7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd37 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:239 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f833e7 0x240cb22 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f833e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:441 # 0x240cb21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x81 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x177b27c 0x177b25b 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177b27b github.com/mattermost/squirrel.SelectBuilder.From+0x15b github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x177b25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:355 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x17cb3ae 0x17cb37f 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17cb3ad github.com/mattermost/squirrel.StatementBuilderType.Select+0x4ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17cb37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1670 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 20480] @ 0x8fde79 0x8fadef 0x8fae06 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fde78 golang.org/x/net/html.NewTokenizerFragment+0x38 golang.org/x/net@v0.46.0/html/token.go:1277 # 0x8fadee golang.org/x/net/html.NewTokenizer+0x2e golang.org/x/net@v0.46.0/html/token.go:1263 # 0x8fae05 golang.org/x/net/html.ParseWithOptions+0x45 golang.org/x/net@v0.46.0/html/parse.go:2401 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 72] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16b4669 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4668 github.com/mattermost/squirrel.(*updateData).ToSql+0x348 github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2560] @ 0x12575bb 0x125c637 0x182b7ac 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x2421bdd 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bdc github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x17cb5fc 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17cb5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1677 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 480] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1872a25 0x16f42f5 0x200e902 0x22a4b98 0x2615df5 0x2615da7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1872a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x22a4b97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getAnalytics+0xb7 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:30 # 0x2615df4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAnalytics+0x1d4 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:22 # 0x2615da6 github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x186 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2649629 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2649628 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:353 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2649629 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2649628 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:353 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 96] @ 0x1f833e7 0x240c5ff 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f833e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:441 # 0x240c5fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5dfd19 0x5e26ae 0x5d3113 0x425df9 0x483fe1 # 0x5dfd18 internal/sync.(*HashTrieMap[...]).All+0x38 internal/sync/hashtriemap.go:483 # 0x5e26ad unique.addUniqueMap[...].func1+0x2d unique/handle.go:134 # 0x5d3112 unique.registerCleanup.func1+0xd2 unique/handle.go:162 # 0x425df8 runtime.unique_runtime_registerUniqueMapCleanup.func2+0x38 runtime/mgc.go:1798 0: 0 [4: 256] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x23eaac5 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23eaac4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x184 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:71 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a99d5 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x183025e 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183025d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:122 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 480] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3840] @ 0x1a0a3a5 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x26cb806 0x26dd436 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x60ce50 0x60de12 0x5f77c5 0x5f8708 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x60ce4f net.filterAddrList+0x18f net/ipsock.go:137 # 0x60de11 net.(*Resolver).internetAddrList+0x691 net/ipsock.go:308 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x188346a 0x16fb084 0x20166ea 0x1f8048e 0x24b6a18 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1883469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlWebhookStore.GetIncoming+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/webhook_store.go:123 # 0x16fb083 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerWebhookStore).GetIncoming+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16595 # 0x20166e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerWebhookStore).GetIncoming+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13084 # 0x1f8048d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheWebhookStore.GetIncoming+0xcd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/webhook_layer.go:51 # 0x24b6a17 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func1+0x77 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:738 0: 0 [5: 2560] @ 0x4e20f4 0x4e1b1d 0x54503c 0x54502e 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x54503b bytes.(*Buffer).Grow+0xfb bytes/buffer.go:168 # 0x54502d encoding/json.marshalerEncoder+0xed encoding/json/encode.go:454 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x171156d 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x171156c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:96 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 576] @ 0x5f8735 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 240] @ 0x16b0e85 0x16b0e53 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x50ee35 0xb759be 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xb759bd github.com/vmihailenco/msgpack/v5.growSliceValue+0xbd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x5f8735 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 24] @ 0x408f2e 0x40d905 0x54386d 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 832] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1735b70 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1735b6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x60f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2126 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x173704e 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x173704d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ad github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 48] @ 0x16b07a8 0x1852505 0x18524df 0x11adcb0 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1852504 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18524de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:430 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x175c5a5 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c5a4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x144 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x417535 0x41758c 0x11ec295 0x11eca4d 0x11ec9ab 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11ec294 github.com/mattermost/mattermost/server/v8.GetPackagePath+0x14 github.com/mattermost/mattermost/server/v8/path.go:14 # 0x11eca4c github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.CommonBaseSearchPaths+0xcc github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:23 # 0x11ec9aa github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x2a github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x18526b9 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x182e72d 0x182b95a 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x5f8735 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0xb0d20a 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d209 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0xce9 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:84 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x16b1634 0x16b15db 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x1837bfc 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837bfb github.com/mattermost/squirrel.InsertBuilder.Values+0x31b github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x23abdcb 0x23abb3e 0x20ca3f4 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x23abdca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xaa github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:91 # 0x23abb3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfd github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x20ca3f3 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin.MakeInstallPluginNotifyWorker.func2+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin/worker.go:65 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x695ac9 0x695a4f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695ac8 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x4a8 crypto/internal/fips140/tls13/tls13.go:112 # 0x695a4e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42e crypto/tls/handshake_client_tls13.go:518 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x1853be5 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1853be4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 4224] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 5376] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 832] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x230d754 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x230d753 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0x133 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:28 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 960] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 512] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 288] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 1440] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1857cdf 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857cde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:763 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x185898f 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x185898e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x2ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:815 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 24] @ 0x2029771 0x24016a5 0x240161b 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2029770 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:13 # 0x24016a4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Go+0x1ca4 github.com/mattermost/mattermost/server/v8/channels/app/server.go:758 # 0x240161a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1c1a github.com/mattermost/mattermost/server/v8/channels/app/post.go:374 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0xbdcac5 0xbdcbff 0x23e2b1f 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0xbdcbfe github.com/mattermost/mattermost/server/public/model.(*PostList).ForPlugin+0x1e github.com/mattermost/mattermost/server/public/model/post_list.go:50 # 0x23e2b1e github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x7e github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:815 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x703bc8 0x7039ac 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x703bc7 sync.OnceFunc+0x3a7 sync/oncefunc.go:31 # 0x7039ab net/http.setRequestCancel+0x18b net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x171ee05 0x171f474 0x1736d1b 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171ee04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:245 # 0x171f473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:303 # 0x1736d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2215 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0xc13a09 0x26043e5 0x2604ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x26043e4 github.com/mattermost/mattermost/server/v8/channels/api4.requireScheduledPostsEnabled+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:52 # 0x2604ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamScheduledPosts+0x44 github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:100 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1851e25 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a99d5 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173e6e5 0x173e5ee 0x173e5df 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173e6e4 github.com/lann/builder.Append+0x284 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173e5ed github.com/mattermost/squirrel.UpdateBuilder.Set+0x18d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173e5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2807 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7eaa8d 0x125b823 0x182cd6b 0x182cd44 0x17dc7a5 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x182cd6a github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x182cd43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:363 # 0x17dc7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3162 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x5647d5 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5647d4 context.(*cancelCtx).propagateCancel+0x74 context/context.go:469 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17bbe26 0x17bbddf 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17bbe25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x525 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bbdde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:323 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17dbcaf 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17dbcae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x5ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3076 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0e85 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17b0472 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18077b7 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18077b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:215 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x179fc47 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179fc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x306 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x1856135 0x1856106 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1856134 github.com/mattermost/squirrel.StatementBuilderType.Update+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1856105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:701 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x173a22f 0x173a1d5 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x173a22e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xee github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x173a1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2544 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xb002f5 0xb002f6 0x483fe1 # 0xb002f4 bufio.(*Scanner).Text+0x154 bufio/scan.go:115 # 0xb002f5 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x155 github.com/hashicorp/go-plugin@v1.7.0/client.go:802 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbc15cc 0x17a2885 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbc15cb github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x1cb github.com/mattermost/mattermost/server/public/model/link_metadata.go:164 # 0x17a2884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:93 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x238ec56 0x238ec61 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x238ec55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x10955 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x238ec60 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10960 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:543 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x175b745 0x175b687 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b744 github.com/mattermost/squirrel.SelectBuilder.From+0x984 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x64045c 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64045b crypto/x509.parseName+0x11b crypto/x509/parser.go:146 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 32] @ 0x50f21d 0x53fe27 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22cbba5 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22cbba4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x177b465 0x177b3f2 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x177b464 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x344 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x177b3f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:357 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1152] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [10: 1600] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17bc6ee 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17bc6ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x6ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:401 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae271 0x16ae35d 0x16a4cf7 0x16a4f9d 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16a4cf6 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x16a4f9c github.com/mattermost/squirrel.(*caseData).ToSql+0x13c github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17bbb9f 0x17bbae6 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17bbb9e github.com/mattermost/squirrel.SelectBuilder.From+0x29e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bbae5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:314 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 480] @ 0x12575bb 0x125c637 0x182b7ac 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 896] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x7905c5 0x790b8a 0x78f9ea 0x78ffe7 0x78d194 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0xc19999 0x455278 0x446605 0x4464ee 0x483fe1 # 0x7905c4 regexp/syntax.appendRange+0xa4 regexp/syntax/parse.go:1906 # 0x790b89 regexp/syntax.appendTable+0x109 regexp/syntax/parse.go:1994 # 0x78f9e9 regexp/syntax.(*parser).parseUnicodeClass+0x3a9 regexp/syntax/parse.go:1710 # 0x78ffe6 regexp/syntax.(*parser).parseClass+0x346 regexp/syntax/parse.go:1776 # 0x78d193 regexp/syntax.parse+0xa13 regexp/syntax/parse.go:973 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc19998 github.com/mattermost/mattermost/server/public/model.init+0x1778 github.com/mattermost/mattermost/server/public/model/utils.go:706 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 128] @ 0x752347 0x751ef7 0x20a7c32 0x24e3192 0x24e2c33 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3191 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3f1 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:210 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4aaf48 0x92ef5d 0x48ea11 0x93171e 0x934ec5 0x9349f2 0x51ab97 0xb083c9 0x113e52d 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x92ef5c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x51ab96 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [2: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16a6114 0x176b0ca 0x16ccd5b 0x1fe23bd 0x245a7da 0x2459df7 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a6113 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x176b0c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x1e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:128 # 0x16ccd5a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3978 # 0x1fe23bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3258 # 0x245a7d9 github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x39 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1222 # 0x2459df6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1150 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x17c501a 0x17c4ce3 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 320] @ 0x7673d9 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7673d8 net/http.(*Transport).roundTrip+0xa18 net/http/transport.go:674 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 160] @ 0x5d158a 0x646448 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5d1589 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xc9 crypto/x509/pkix/pkix.go:151 # 0x646447 crypto/x509.parseCertificate+0x527 crypto/x509/parser.go:964 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 256] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a99fe 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x53a2bd 0x539fcf 0xc1514a 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53a2bc strings.FieldsFunc+0x13c strings/strings.go:454 # 0x539fce strings.Fields+0x8e strings/strings.go:399 # 0xc15149 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:713 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15fc 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 2112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x10cf688 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x620165 0x619fd0 0x61973b 0x60e6b8 0x621587 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x620164 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x619fcf net.(*netFD).dial+0x78f net/sock_posix.go:143 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [2: 224] @ 0x56458a 0x7e96c2 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e96c1 database/sql.(*Tx).awaitDone+0x21 database/sql/sql.go:2212 0: 0 [3: 24] @ 0x408f2e 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 384] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x5732f5 0xafa293 0xaf98e5 0xaf9dca 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xafa292 net/rpc.(*gobServerCodec).WriteResponse+0x272 net/rpc/server.go:427 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [4: 64] @ 0x24f8c05 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8c04 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1725517 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1725516 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:885 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x1143545 0x11434ec 0x1196691 0x24087b7 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2407bf3 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1143544 net/rpc.(*Client).Call+0x144 net/rpc/client.go:321 # 0x11434eb github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageWillBeUpdated+0xeb github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:880 # 0x1196690 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageWillBeUpdated+0x70 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:100 # 0x24087b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost.func1+0x76 github.com/mattermost/mattermost/server/v8/channels/app/post.go:776 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2407bf2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xb72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:775 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 13824] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 80] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 448] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16b5c90 0x1856135 0x1856106 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1856134 github.com/mattermost/squirrel.StatementBuilderType.Update+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1856105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:701 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x26cc333 0x653590 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x65358f crypto/x509.checkSignature+0x1ef crypto/x509/x509.go:994 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [11: 1232] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x175b22e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x175b22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3792896] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1817dfc 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x1817dfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 3850240] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 512] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 192] @ 0x2716257 0x65d785 0x6bf1be 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x1121d75 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b0eeb 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x179cfa6 0x179cf4b 0x179cf59 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x179cfa5 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x179cf4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x179cf58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:200 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 768] @ 0x270d4d4 0x270d511 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d4d3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x270d510 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:551 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 48] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b080f 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 5632] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 432] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 5376] @ 0x67c192 0x68112a 0x68161c 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x67c191 crypto/tls.(*halfConn).encrypt+0x1b1 crypto/tls/conn.go:484 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68161b crypto/tls.(*Conn).writeHandshakeRecord+0x13b crypto/tls/conn.go:1060 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x6842c5 0x76cf2e 0x76cf29 0x483fe1 # 0x6842c4 crypto/tls.(*Conn).handshakeContext+0x164 crypto/tls/conn.go:1534 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x1852b57 0x1852b31 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1852b56 github.com/mattermost/squirrel.StatementBuilderType.Select+0x2d6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1852b30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x2b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:516 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x186d4b1 0x186d45d 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x186d4b0 database/sql.(*DB).Query+0x2b0 database/sql/sql.go:1755 # 0x186d45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x25c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:922 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x4c2ec9 0x4c2ee6 0x569b85 0x569b51 0x16440bb 0x1644083 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ec8 internal/filepathlite.(*lazybuf).string+0x828 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x16440ba path/filepath.Join+0x5a path/filepath/path.go:131 # 0x1644082 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648eb9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648eb8 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x338 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:323 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 196608] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250c762 0x7576a9 0x250c4b6 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250c761 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c4b5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 224] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 208] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x1858875 0x18587b1 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b48bf 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b48be github.com/mattermost/squirrel.(*updateData).ToSql+0x59e github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x6451c9 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6451c8 crypto/x509.processExtensions+0x1148 crypto/x509/parser.go:865 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46140a 0x4c2ee5 0x4c2ee6 0x569b85 0x569b51 0x11ec5c5 0x11ec56c 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ee4 internal/filepathlite.(*lazybuf).string+0x844 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x11ec5c4 path/filepath.Join+0x304 path/filepath/path.go:131 # 0x11ec56b github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x2ab github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:65 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x4bb4e3 0x4bb250 0x4bb036 0x11992d2 0x113e77f 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4bb035 io.CopyBuffer+0x35 io/io.go:402 # 0x11992d1 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2d1 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6912] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17c5b6c 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c5b6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1259 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 64] @ 0x2716350 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 96] @ 0x5be9e5 0x69f3b4 0x69f393 0x5be6e2 0x5bea71 0x6992a5 0x69917d 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69f3b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69f392 crypto/tls.(*clientHelloMsg).marshalMsg.func2+0x12 crypto/tls/handshake_messages.go:122 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6992a4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x3c4 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69917c crypto/tls.(*clientHelloMsg).marshalMsg+0x29c crypto/tls/handshake_messages.go:121 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x4125d4 0x113e23e 0x113e1bb 0x1196172 0x23f90e7 0x11ad826 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e23d net/rpc.(*Client).Call+0x31d net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23f90e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x9a6 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x11ad825 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:56 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648eb9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648eb8 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x338 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:323 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x114d197 0x114d17f 0x1197332 0x2046e03 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046d89 0x2029802 0x483fe1 # 0x114d196 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x114d17e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketConnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:620 # 0x1197331 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketConnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:187 # 0x2046e02 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func2.1+0x62 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:277 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046d88 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func2+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:276 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x265691b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x265691a github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x9da github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16ab632 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16ab631 github.com/mattermost/squirrel.(*insertData).ToSql+0x271 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x179c5b9 0x179c4c5 0x179c4b3 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179c5b8 github.com/lann/builder.Append+0x2f8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c4c4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x204 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c4b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x12578b9 0x125c637 0x1829914 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x4aaf08 0x92ef5d 0x48ea11 0x93171e 0x934ec5 0x9349f2 0x5732f5 0xafa293 0xaf98e5 0xaf9dca 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x92ef5c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xafa292 net/rpc.(*gobServerCodec).WriteResponse+0x272 net/rpc/server.go:427 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x183828c 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183828b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x4125d4 0x4ab431 0x204875c 0x2047f27 0x483fe1 # 0x4ab430 time.NewTicker+0x30 time/tick.go:43 # 0x204875b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:514 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 24] @ 0x461d32 0x4612a5 0x46159d 0x112adf7 0x112ad7f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112adf6 github.com/lib/pq.ParseURL.func1+0x7b6 github.com/lib/pq@v1.10.9/url.go:46 # 0x112ad7e github.com/lib/pq.ParseURL+0x73e github.com/lib/pq@v1.10.9/url.go:66 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x48f312 0x48e925 0x543d87 0x179a8e5 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x543d86 encoding/json.Marshal+0x186 encoding/json/encode.go:181 # 0x179a8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:57 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 3072] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 16] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f4982e 0x1f52f84 0x1f522fa 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f4982d github.com/mattermost/mattermost/server/v8/channels/jobs.(*DailyScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:78 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x1852595 0x1852506 0x11adcb0 0x483fe1 # 0x1852594 github.com/mattermost/squirrel.SelectBuilder.From+0x174 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1852505 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x24f9472 0x24f9445 0x24f9430 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f9471 net/textproto.MIMEHeader.Set+0x13d1 net/textproto/header.go:22 # 0x24f9444 net/http.Header.Set+0x13a4 net/http/header.go:40 # 0x24f942f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x138f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:248 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x811025 0x810ff0 0x810d50 0x847955 0x842cf9 0x84297d 0x483fe1 # 0x811024 github.com/francoispqt/gojay.(*Encoder).grow+0x64 github.com/francoispqt/gojay@v1.2.13/encode_builder.go:10 # 0x810fef github.com/francoispqt/gojay.(*Encoder).encodeObject+0x2f github.com/francoispqt/gojay@v1.2.13/encode_object.go:47 # 0x810d4f github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x2f github.com/francoispqt/gojay@v1.2.13/encode_object.go:13 # 0x847954 github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1d4 github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [1: 64] @ 0x535245 0x535350 0x53b205 0x16a9951 0x16a8be2 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53b204 strings.Repeat+0x2e4 strings/strings.go:673 # 0x16a9950 github.com/mattermost/squirrel.Placeholders+0xdb0 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x16a8be1 github.com/mattermost/squirrel.Eq.toSQL+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x179f5e9 0x179f575 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179f5e8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179f574 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x194 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:357 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 144] @ 0x16b0e85 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1736e85 0x1736e28 0x1736e27 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1736e84 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1736e27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1736e26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2219 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0xb18fbd 0xc13c73 0x24f82a5 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1850595 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1850594 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xe74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:338 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x408105 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x461d32 0x4612a5 0x46140a 0x171df57 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171df56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:138 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x175afa9 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175afa8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x935726 0x935abe 0xafa3d2 0xafac2f 0xafa758 0x113eea5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x935725 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x935abd github.com/hashicorp/yamux.(*Stream).Close+0x1dd github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0xafa3d1 net/rpc.(*gobServerCodec).Close+0x31 net/rpc/server.go:436 # 0xafac2e net/rpc.(*Server).ServeCodec+0x3ee net/rpc/server.go:483 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x1830799 0x18306a8 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830798 github.com/lann/builder.Append+0x6d8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18306a7 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5e7 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x125a215 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x20cb0a6 0x20cae86 0x20ca8ca 0x483fe1 # 0x125a214 github.com/jmoiron/sqlx.compileNamedQuery+0xc94 github.com/jmoiron/sqlx@v1.4.0/named.go:405 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20cb0a5 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).setJobSuccess+0x45 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:98 # 0x20cae85 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).DoJob+0x365 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:94 # 0x20ca8c9 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:55 0: 0 [1: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1487006 0x14806ba 0x202698e 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b70f 0x245b70a 0x245a6d7 0xbf187e 0x483fe1 # 0x1487005 github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0xea5 github.com/mattermost/mattermost/server/v8/config/client.go:291 # 0x14806b9 github.com/mattermost/mattermost/server/v8/config.GenerateClientConfig+0x39 github.com/mattermost/mattermost/server/v8/config/client.go:15 # 0x202698d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:218 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b70e github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b709 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1314 # 0x245a6d6 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1209 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x16b6654 0x16b6573 0x179cb33 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16b6653 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179cb32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 576] @ 0x776a5c 0x776a1d 0x776b34 0x7557ea 0x483fe1 # 0x776a5b bufio.NewReaderSize+0x1db bufio/bufio.go:56 # 0x776a1c bufio.NewReader+0x19c bufio/bufio.go:63 # 0x776b33 net/http.newBufioReader+0x2b3 net/http/server.go:859 # 0x7557e9 net/http.(*conn).serve+0x269 net/http/server.go:2013 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x7759e5 0x775b86 0x70580b 0x7046f3 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7759e4 net/http.Header.Clone+0xe4 net/http/header.go:105 # 0x775b85 net/http.cloneOrMakeHeader+0x285 net/http/clone.go:116 # 0x70580a net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:759 # 0x7046f2 net/http.(*Client).do+0x232 net/http/client.go:609 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x543d27 0x17b860a 0x17b85f8 0x17ba5d4 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x17b8609 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x17b85f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:91 # 0x17ba5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184e97b 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x184e97a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 16] @ 0x4d4f2f 0x4d5411 0x4d304c 0x4cf66b 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d4f2e os.newFile+0x4e os/file_unix.go:163 # 0x4d5410 os.openDirNolog+0x110 os/file_unix.go:320 # 0x4d304b os.openDir+0x2b os/file.go:408 # 0x4cf66a os.ReadDir+0x4a os/dir.go:119 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xbd5ab7 0x25dd8e5 0x25dd8dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd5ab6 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x356 github.com/mattermost/mattermost/server/public/model/post.go:141 # 0x25dd8e4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x8a4 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x25dd8db github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x89b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:116 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x118d5ce 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x118d5cd github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x18d github.com/mattermost/mattermost/server/public/plugin/environment.go:102 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1600] @ 0x766d54 0x766d1c 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x766d53 net/http.setupRewindBody+0x393 net/http/transport.go:777 # 0x766d1b net/http.(*Transport).roundTrip+0x35b net/http/transport.go:612 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0xbdd15c 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x173704e 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x173704d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ad github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1816b97 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1816b96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16b4925 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1872f86 0x1872f39 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1872f85 github.com/mattermost/squirrel.SelectBuilder.PlaceholderFormat+0x805 github.com/mattermost/squirrel@v0.5.0/select.go:177 # 0x1872f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x7b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1437 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 128] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179c718 0x179c614 0x179c5f7 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179c717 github.com/lann/builder.Append+0x457 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c613 github.com/mattermost/squirrel.UpdateBuilder.Set+0x353 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x336 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:155 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x6cf347 0x6cf157 0x2611927 0x2611916 0x26118f8 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf156 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:656 # 0x2611926 net/textproto.MIMEHeader.Set+0xfc6 net/textproto/header.go:22 # 0x2611915 net/http.Header.Set+0xfb5 net/http/header.go:40 # 0x26118f7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf97 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:192 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5275a6 0x22a82ed 0x22a8253 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x22a82ec github.com/mattermost/mattermost/server/v8/channels/app.(*App).dbHealthCheckKey+0x4c github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x22a8252 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x52 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x12578b9 0x125c637 0x182a1ef 0x176b0f2 0x16ccd5b 0x1fe23bd 0x245a7da 0x2459df7 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x176b0f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:134 # 0x16ccd5a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3978 # 0x1fe23bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3258 # 0x245a7d9 github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x39 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1222 # 0x2459df6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1150 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853610 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185360f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:561 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x17bbdd5 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17bbdd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x4d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:319 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x51f836 0x1b792a5 0x1b792cb 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f835 encoding/base64.(*Encoding).EncodeToString+0xf5 encoding/base64/base64.go:209 # 0x1b792a4 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xa4 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b792ca github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 114688] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 48] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x18687c5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18687c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:529 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 13056] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46159d 0x112acd7 0x112ac66 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x112acd6 github.com/lib/pq.ParseURL.func1+0x696 github.com/lib/pq@v1.10.9/url.go:46 # 0x112ac65 github.com/lib/pq.ParseURL+0x625 github.com/lib/pq@v1.10.9/url.go:62 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 528] @ 0x23e49bf 0x23e49b3 0x23e49b2 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23e49be github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x1be github.com/mattermost/mattermost/server/public/model/websocket_message.go:282 # 0x23e49b2 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).SetData+0x1b2 github.com/mattermost/mattermost/server/public/model/websocket_message.go:322 # 0x23e49b1 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1094 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46140a 0x2399fd9 0x2399fb6 0x238808b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2399fd8 github.com/mattermost/mattermost/server/public/model.(*User).GetDisplayNameWithPrefix+0xd8 github.com/mattermost/mattermost/server/public/model/user.go:839 # 0x2399fb5 github.com/mattermost/mattermost/server/v8/channels/app.(*PostNotification).GetChannelName+0xb5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1595 # 0x238808a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9d8a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:672 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6332f2 0x6318d1 0x6331c8 0x63312b 0x633123 0x631365 0x23f9f08 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6332f1 slices.Sorted[...]-range1+0x71 slices/iter.go:51 # 0x6318d0 net/url.Values.Encode.Keys[...].func1+0x70 maps/iter.go:28 # 0x6331c7 slices.AppendSeq[...]+0xc7 slices/iter.go:50 # 0x63312a slices.Collect[...]+0x2a slices/iter.go:58 # 0x633122 slices.Sorted[...]+0x22 slices/iter.go:64 # 0x631364 net/url.Values.Encode+0x84 net/url/url.go:1008 # 0x23f9f07 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5a7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:205 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 5760] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2388ec5 0x238887f 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2388ec4 github.com/mattermost/mattermost/server/v8/channels/app.usePostedAckHook+0xabc4 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:80 # 0x238887e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa57e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:714 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 32] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1872929 0x187283d 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1872928 github.com/mattermost/squirrel.SelectBuilder.From+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x187283c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1400 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48ed3d 0x48ec06 0x48e97c 0x93171e 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb161ed 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb161ec github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Continuation+0x6c github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:27 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179fc47 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179fc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x306 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x6311e5 0x6324d9 0x6324af 0x2652490 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x265248f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1049 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1773d36 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1773d35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x6b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:144 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x67fe3a 0x67e1ad 0x6818f1 0x6818f2 0x681979 0x696158 0x6936f6 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x67fe39 crypto/tls.(*Conn).retryReadRecord+0x79 crypto/tls/conn.go:794 # 0x67e1ac crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:753 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696157 crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x57 crypto/tls/handshake_client_tls13.go:548 # 0x6936f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x735 crypto/tls/handshake_client_tls13.go:133 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 640] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x580ff0 0x580e11 0x6bf5db 0x68bf25 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x580fef crypto/ecdh.(*x25519Curve).NewPrivateKey+0x16f crypto/ecdh/x25519.go:62 # 0x580e10 crypto/ecdh.(*x25519Curve).GenerateKey+0xb0 crypto/ecdh/x25519.go:46 # 0x6bf5da crypto/tls.generateECDHEKey+0xba crypto/tls/key_schedule.go:68 # 0x68bf24 crypto/tls.(*Conn).makeClientHello+0xba4 crypto/tls/handshake_client.go:163 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x11137bb 0x111f925 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111f924 github.com/lib/pq.(*conn).readExecuteResponse+0x184 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79f7ec 0x79d0aa 0x79d8a3 0x79cfe5 0x10e0fd5 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79f7eb regexp.(*Regexp).expand+0x56b regexp/regexp.go:968 # 0x79d0a9 regexp.(*Regexp).ReplaceAllString.func1+0x69 regexp/regexp.go:578 # 0x79d8a2 regexp.(*Regexp).replaceAll+0x3e2 regexp/regexp.go:636 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1779a0f 0x17799b4 0x17799c2 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1779a0e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xce github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17799b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17799c1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x81 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:217 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb150 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x24f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1664 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1664] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16b0e85 0x16b0e53 0x185263f 0x18525f7 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185263e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x1f81b27 0x22ccd23 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22ccd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0x62 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x12575bb 0x125c637 0x182a1ef 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x1830987 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1830986 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 224] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x640285 0x64064f 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x640284 crypto/x509.parseASN1String+0x4a4 crypto/x509/parser.go:70 # 0x64064e crypto/x509.parseName+0x30e crypto/x509/parser.go:139 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 6528] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x56555e 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x184fba5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ea845 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ea844 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1265 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x4baeb8 0x4baeac 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4baeb7 io.LimitReader+0x37 io/io.go:461 # 0x4baeab io.CopyN+0x2b io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x23f8dbe 0x11ad826 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23f8dbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x67d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:86 # 0x11ad825 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:56 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 720] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb0cf17 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cf16 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x9f6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:115 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x24fbd45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fbd44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:388 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x179d65f 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x179d65e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x77e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 512] @ 0x60ce50 0x60de12 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x60ce4f net.filterAddrList+0x18f net/ipsock.go:137 # 0x60de11 net.(*Resolver).internetAddrList+0x691 net/ipsock.go:308 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 48] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x179f5e9 0x179f575 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179f5e8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179f574 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x194 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:357 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 4480] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17e1e8c 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e1e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:118 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173eb39 0x173ea35 0x173e94f 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173eb38 github.com/lann/builder.Append+0x6d8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173ea34 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5d4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173e94e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x4ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2809 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 144] @ 0x16b19e5 0x16b19b3 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3840] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa3b4 0x16aa392 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa3b3 github.com/mattermost/squirrel.getSortedKeys+0xf3 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16aa391 github.com/mattermost/squirrel.Lt.toSql+0xd1 github.com/mattermost/squirrel@v0.5.0/expr.go:322 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x18533e5 0x18533c3 0x18533a8 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18533e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18533c2 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x18533a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x17cb4cc 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17cb4cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1672 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1737085 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1737084 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc88 0x110cc78 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc87 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:168 # 0x110cc77 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.10.9/scram/scram.go:85 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 832] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1280] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x112a66a 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x112a669 github.com/lib/pq.ParseURL+0x29 github.com/lib/pq@v1.10.9/url.go:33 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16ab965 0x16ab6b5 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ab964 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0xa4 github.com/mattermost/squirrel@v0.5.0/insert.go:124 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 896] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x12575bb 0x125c637 0x1829914 0x173682f 0x16c59bd 0x1fd9f43 0x22ce093 0x240eeb0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x173682e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x16c59bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2069 # 0x1fd9f42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1729 # 0x22ce092 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2243 # 0x240eeaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1411 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x175b936 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:437 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x270e339 0x270e2f6 0x270e2fa 0x270f53e 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270f53d crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0x9dd crypto/internal/fips140/bigmod/nat.go:844 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 432] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x12575bb 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x27381e5 0x2737f09 0x695ac9 0x695a4f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x27381e4 crypto/internal/fips140/tls13.ExpandLabel[...]+0x224 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695ac8 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x4a8 crypto/internal/fips140/tls13/tls13.go:112 # 0x695a4e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42e crypto/tls/handshake_client_tls13.go:518 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 4608] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x1837ad1 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837ad0 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1f0 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 72] @ 0x1728d2a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728d29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aa32a 0x16aaa5a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa329 github.com/mattermost/squirrel.Lt.toSql+0x69 github.com/mattermost/squirrel@v0.5.0/expr.go:319 # 0x16aaa59 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 320] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x48f312 0x48e925 0x54ecd7 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54ecd6 encoding/json.(*Encoder).Encode+0x236 encoding/json/stream.go:234 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x935726 0x935abe 0x11992fb 0x113e77f 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x935725 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x935abd github.com/hashicorp/yamux.(*Stream).Close+0x1dd github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x11992fa github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2fa github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [6: 384] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x604d2d 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x604d2c net.(*netFD).connect+0x22c net/fd_unix.go:103 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1f7efb8 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7efb7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x737 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x184fa95 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fa94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x374 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x204ae26 0x204adea 0x20537fe 0x2051cd7 0x483fe1 # 0x204ae25 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x65 github.com/mattermost/mattermost/server/public/model/websocket_message.go:269 # 0x204ade9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:823 # 0x20537fd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1afd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:581 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16b1585 0x16b15db 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x17e553e 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17e553d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:56 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b093f 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x1a0a506 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:147 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24] @ 0x408105 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x175b425 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:426 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x63cb18 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63cb17 crypto/x509.(*CertPool).addCertFunc+0x1b7 crypto/x509/cert_pool.go:205 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x5275a6 0x16b1c59 0x17c6eff 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b1c58 github.com/mattermost/squirrel.SelectBuilder.Limit+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c6efe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x16aadcd 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x757886 0x7579ae 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x757885 net/http.Error+0x1a5 net/http/server.go:2325 # 0x7579ad net/http.NotFound+0x2d net/http/server.go:2330 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x7577a5 0x75774b 0x75774a 0x7579ae 0x7576a9 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x7577a4 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x75774a net/http.Header.Set+0x6a net/http/header.go:40 # 0x757749 net/http.Error+0x69 net/http/server.go:2323 # 0x7579ad net/http.NotFound+0x2d net/http/server.go:2330 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [6: 1056] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x16a968e 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x1851e25 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7e97c8 0x7eaa2b 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x7e97c7 database/sql.(*Tx).grabConn+0xc7 database/sql/sql.go:2262 # 0x7eaa2a database/sql.(*Tx).ExecContext+0x4a database/sql/sql.go:2512 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x83bd51 0x83bc9d 0x839b05 0x8410d0 0x23e4fc8 0x1136542 0x11447f2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83bd50 github.com/mattermost/logr/v2.LimitString+0x3d0 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x83bc9c github.com/mattermost/logr/v2.(*Logr).enqueue+0x31c github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x839b04 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x8410cf github.com/mattermost/logr/v2.Sugar.Warnw+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x23e4fc7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1131 # 0x1136541 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1092 # 0x11447f1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1011 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x709152 0x22ad450 0x22ad45b 0x24f95ef 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x22ad44f net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x22ad45a github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 896] @ 0x48f312 0x48e925 0xaeb7b2 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xaeb7b1 encoding/gob.(*Encoder).encodeInterface+0x911 encoding/gob/encode.go:426 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17d3a99 0x16dacb2 0x1ff1a8b 0x1f7a33b 0x2433dbe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17d3a98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0xb78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2422 # 0x16dacb1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7658 # 0x1ff1a8a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6102 # 0x1f7a33a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:149 # 0x2433dbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2fd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x179abda 0x179aaa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x179abd9 github.com/mattermost/squirrel.InsertBuilder.Columns+0x359 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x179aaa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1830799 0x18306a8 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1830798 github.com/lann/builder.Append+0x6d8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18306a7 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5e7 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x244d4ba 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x244d4b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x199 github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:53 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 9472] @ 0x543d27 0x2026d9a 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b70f 0x245b70a 0x245a6d7 0xbf187e 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2026d99 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x459 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:237 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b70e github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b709 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1314 # 0x245a6d6 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1209 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x16b0918 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 192] @ 0x182ecec 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x182eceb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x16b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 480] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x16b0918 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e8d4 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e8d3 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [3: 192] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x1837a35 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837a34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c1c8 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c1c7 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x651486 0x651395 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x651485 crypto/x509.newPolicyGraphNode+0x20e5 crypto/x509/verify.go:1277 # 0x651394 crypto/x509.policiesValid+0x1ff4 crypto/x509/verify.go:1499 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 24320] @ 0x682037 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x1830549 0x183047c 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1830548 github.com/lann/builder.Append+0x488 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183047b github.com/mattermost/squirrel.UpdateBuilder.Set+0x3bb github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x110cc65 0x110cc55 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc64 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:168 # 0x110cc54 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:84 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17dd656 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x17dd655 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b1a4b 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x184efb9 0x184ef93 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184efb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184ef92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x18379b2 0x1837997 0x1837996 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x18379b1 github.com/mattermost/squirrel.InsertBuilder.Into+0xd1 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1837996 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1837995 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17f2865 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f2864 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17b5baf 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b5bae github.com/mattermost/squirrel.SelectBuilder.From+0x2ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 832] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0xb165ba 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165b9 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:67 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18504cd 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18504cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xdac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:340 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 128] @ 0x461d32 0x4612a5 0x46140a 0x171de25 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171de24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x4c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:134 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:301 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1152] @ 0x48edbc 0x48ec06 0x48e97c 0x762867 0x76285b 0x762366 0x7473cd 0x772534 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x762866 net/http.getCopyBuf+0x66 net/http/server.go:823 # 0x76285a net/http.(*transferWriter).doBodyCopy+0x5a net/http/transfer.go:414 # 0x762365 net/http.(*transferWriter).writeBody+0x365 net/http/transfer.go:372 # 0x7473cc net/http.(*Request).write+0xacc net/http/request.go:762 # 0x772533 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2593 0: 0 [2: 448] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 393216] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16b0825 0x16b07b9 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x175b6bc 0x175b688 0x175b687 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b6bb github.com/mattermost/squirrel.newPart+0x8fb github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x175b687 github.com/mattermost/squirrel.SelectBuilder.From+0x8c7 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x2715abc 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2715abb crypto/internal/fips140/ecdsa.newDRBG[...]+0x7b crypto/internal/fips140/ecdsa/hmacdrbg.go:56 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 72] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 311296] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0xaeaf88 0xaeaf54 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeaf87 encoding/gob.(*Encoder).newEncoderState+0xe7 encoding/gob/encode.go:82 # 0xaeaf53 encoding/gob.(*Encoder).encodeInterface+0xb3 encoding/gob/encode.go:392 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0xc02138 0xc02139 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02137 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02138 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3584] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [5: 800] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f5b0 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:262 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1280] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x12578b9 0x125c637 0x182a1ef 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 128] @ 0x48ed3d 0x48ec06 0x48e97c 0x54425e 0x543c53 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x543c52 encoding/json.Marshal+0x52 encoding/json/encode.go:172 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 288] @ 0x4ba945 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba944 path.Join+0x184 path/path.go:172 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x12600fc 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x12600fb github.com/jmoiron/sqlx.scanAll+0x81b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:978 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b04f5 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b04f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650bfa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650bf9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2bf9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f82587 0x259ed23 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f82586 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.FileInfo+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:425 # 0x259ed22 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x322 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x4125d4 0x4aaf08 0x703c6a 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x703c69 net/http.setRequestCancel+0x449 net/http/client.go:398 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 24320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x265f65e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x265f65d github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 8192] @ 0x1a0a3f0 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 6912] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x186f917 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x112a805 0x112a722 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112a804 strings.NewReplacer+0x1c4 strings/replace.go:36 # 0x112a721 github.com/lib/pq.ParseURL+0xe1 github.com/lib/pq@v1.10.9/url.go:43 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24326e5 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24326e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:214 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbf6af3 0xbf6a65 0xbf6b23 0x2047b05 0x2046acf 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbf6af2 maps.Copy[...]+0x152 maps/maps.go:64 # 0xbf6a64 github.com/mattermost/mattermost/server/public/model.CopyStringMap+0xc4 github.com/mattermost/mattermost/server/public/model/utils.go:452 # 0xbf6b22 github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x182 github.com/mattermost/mattermost/server/public/model/session.go:96 # 0x2047b04 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).SetSession+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:400 # 0x2046ace github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x88e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:264 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 401408] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x265f828 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x265f827 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2237 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 270336] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x265f828 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x265f827 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2237 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x64468f 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64468e crypto/x509.processExtensions+0x60e crypto/x509/parser.go:805 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x64f3ec 0x64f3e0 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64f3eb crypto/x509.newPolicyGraph+0x4b crypto/x509/verify.go:1297 # 0x64f3df crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1419 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 2048] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x270e339 0x270e2f6 0x270e2fa 0x270f53e 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270f53d crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0x9dd crypto/internal/fips140/bigmod/nat.go:844 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 18944] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x67fe3a 0x67e1ad 0x6818f1 0x6818f2 0x681979 0x696158 0x6936f6 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x67fe39 crypto/tls.(*Conn).retryReadRecord+0x79 crypto/tls/conn.go:794 # 0x67e1ac crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:753 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696157 crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x57 crypto/tls/handshake_client_tls13.go:548 # 0x6936f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x735 crypto/tls/handshake_client_tls13.go:133 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7c9db 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x12575bb 0x125c637 0x182a1ef 0x1773590 0x16cecf2 0x1fe46cb 0x230db75 0x2591b18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x177358f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Upsert+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:109 # 0x16cecf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Upsert+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4496 # 0x1fe46ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Upsert+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3672 # 0x230db74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpsertDraft+0x2d4 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:78 # 0x2591b17 github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x4f7 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:55 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x60ffd2 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x60ffd1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c5788 0x17c5771 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c5787 github.com/mattermost/squirrel.StatementBuilderType.Select+0x2c7 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c5770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x2b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1252 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x545e9d 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x545e9c encoding/json.boolEncoder+0x1dc encoding/json/encode.go:519 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x7952ad 0x79629f 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7952ac regexp.(*bitState).reset+0x4c regexp/backtrack.go:84 # 0x79629e regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46159d 0x24f88f7 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f88f6 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x856 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:215 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x6240cc 0x6240f1 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x6240cb net.newUnixConn+0x2b net/unixsock.go:195 # 0x6240f0 net.(*UnixListener).accept+0x50 net/unixsock_posix.go:176 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [2: 32] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x110e26e 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x110e26d github.com/lib/pq/scram.(*Client).serverSignature+0x1cd github.com/lib/pq@v1.10.9/scram/scram.go:261 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 512] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x83e467 0x83d69c 0x83c93e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x83e466 github.com/mattermost/logr/v2.calcCaller+0x166 github.com/mattermost/logr/v2@v2.0.22/logrec.go:179 # 0x83d69b github.com/mattermost/logr/v2.(*LogRec).prep+0x3db github.com/mattermost/logr/v2@v2.0.22/logrec.go:86 # 0x83c93d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [4: 262144] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6fa5bd 0x6fa56b 0x6f91d1 0x736608 0x7358f1 0x735a86 0x7355ec 0x7330a9 0x7325c5 0x731e96 0x483fe1 # 0x6fa5bc vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x9c vendor/golang.org/x/net/http2/hpack/tables.go:58 # 0x6fa56a vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x6f91d0 vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x2d0 vendor/golang.org/x/net/http2/hpack/encode.go:68 # 0x736607 net/http.(*http2ClientConn).writeHeader+0x147 net/http/h2_bundle.go:9751 # 0x7358f0 net/http.(*http2ClientConn).encodeHeaders.func3+0x70 net/http/h2_bundle.go:9685 # 0x735a85 net/http.(*http2ClientConn).encodeHeaders.func1+0xa5 net/http/h2_bundle.go:9571 # 0x7355eb net/http.(*http2ClientConn).encodeHeaders+0x58b net/http/h2_bundle.go:9678 # 0x7330a8 net/http.(*http2clientStream).encodeAndWriteHeaders+0x2e8 net/http/h2_bundle.go:9092 # 0x7325c4 net/http.(*http2clientStream).writeRequest+0x6e4 net/http/h2_bundle.go:8988 # 0x731e95 net/http.(*http2clientStream).doRequest+0x55 net/http/h2_bundle.go:8901 0: 0 [9: 288] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650f54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650f53 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f53 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x2468c08 0x246c1e8 0xbf187e 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x2468c07 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getSharedChannelsService+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/shared_channel.go:22 # 0x246c1e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x47 github.com/mattermost/mattermost/server/v8/channels/app/status.go:74 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x16b0825 0x16b07b9 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [14: 9856] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0eeb 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2816] @ 0x1a0a506 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:147 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aa32a 0x16aaada 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aa329 github.com/mattermost/squirrel.Lt.toSql+0x69 github.com/mattermost/squirrel@v0.5.0/expr.go:319 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x184ddcc 0x184ddad 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184ddcb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1cb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110e135 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110e134 github.com/lib/pq/scram.(*Client).serverSignature+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:255 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1872bee 0x1872bff 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1872bed github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x46d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1872bfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 96] @ 0x5be9e5 0x69de54 0x69de33 0x5be6e2 0x5bea71 0x69b03d 0x69aedd 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69de53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69de32 crypto/tls.(*clientHelloMsg).marshalMsg.func12+0x12 crypto/tls/handshake_messages.go:258 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b03c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x215c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69aedc crypto/tls.(*clientHelloMsg).marshalMsg+0x1ffc crypto/tls/handshake_messages.go:257 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [7: 784] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a99a9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479bb3 0x50ee65 0xb759be 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xb759bd github.com/vmihailenco/msgpack/v5.growSliceValue+0xbd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6311e5 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x5c6a0a 0x1f498f7 0x1f495c8 0x1f529d9 0x1f525bb 0x483fe1 # 0x5c6a09 crypto/rand.Int+0x69 crypto/rand/util.go:71 # 0x1f498f6 github.com/mattermost/mattermost/server/v8/channels/jobs.getRandomDelay+0x76 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:84 # 0x1f495c7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).NextScheduleTime+0x47 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:38 # 0x1f529d8 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x2b8 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:154 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 1344] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x4d59ad 0x4d2105 0x4d20f3 0x11ec3de 0x11ec3e1 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d59ac os.readlink+0xec os/file_unix.go:460 # 0x4d2104 os.Readlink+0x24 os/file.go:430 # 0x4d20f2 os.executable+0x12 os/executable_procfs.go:23 # 0x11ec3dd os.Executable+0x11d os/executable.go:19 # 0x11ec3e0 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x120 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:44 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1792] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c727b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c727a github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xda github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x540f4d 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [7: 896] @ 0x203f43d 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203f43c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x75c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1280] @ 0x461d32 0x4612a5 0x4614c5 0x1711557 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1711556 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:93 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x186f865 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x186f864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 80] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 9472] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17f2791 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f2790 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x172dd55 0x172dd2a 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x172dd54 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172dd29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1525 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16ae8ad 0x16b7a3c 0x16ab7e3 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 288] @ 0x5275a6 0x24f8c70 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x24f8c6f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xbcf github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x535245 0x535350 0x53a585 0x569b7f 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 4608] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x242554e 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242554d github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:446 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 768] @ 0x461e06 0x24fca52 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fca51 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd71 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0x1868d13 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0x1868d12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:556 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 832] @ 0x4d8da8 0x4d89ec 0x5fecc5 0x5f5b5a 0x5f5b42 0x5f5825 0x613a47 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x5fecc4 net.(*resolverConfig).tryUpdate+0x184 net/dnsclient_unix.go:416 # 0x5f5b59 net.getSystemDNSConfig+0x199 net/dnsclient_unix.go:369 # 0x5f5b41 net.(*conf).lookupOrder+0x181 net/conf.go:285 # 0x5f5824 net.(*conf).hostLookupOrder+0x84 net/conf.go:238 # 0x613a46 net.(*Resolver).lookupIP+0xa6 net/lookup_unix.go:64 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 96] @ 0xad507a 0x48ea11 0xaeb5d3 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xad5079 encoding/gob.init.func1+0x19 encoding/gob/encode.go:44 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xaeb5d2 encoding/gob.(*Encoder).encodeInterface+0x732 encoding/gob/encode.go:417 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 768] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 26112] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16ac7a5 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16ac7a4 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b08ff 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x446b89 0x458d66 0xb08dd4 0x483fe1 # 0xb08dd3 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x93 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:187 0: 0 [2: 224] @ 0x2051678 0x483fe1 # 0x2051677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).ProcessAsync.func1+0x77 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:488 0: 0 [1: 16384] @ 0x543d27 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184ddf5 0x184ddad 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17f2627 0x17f2606 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f2626 github.com/mattermost/squirrel.SelectBuilder.From+0x1e6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17f2605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f82587 0x2412bb7 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f82586 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.FileInfo+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:425 # 0x2412bb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x76 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0xc08f1e 0xc08e93 0x24995dd 0x24a8ffd 0x24a8fca 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f1d github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0x9d github.com/mattermost/mattermost/server/public/model/user.go:731 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a8ffc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x7fc github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a8fc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x7c9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2778 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 10752] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [4: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x118dc15 0x48feea 0x48ff97 0x118daee 0x118dac1 0x22a33cb 0x22a40ea 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x118dc14 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf4 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x118daed sync.(*Map).Range+0x4d sync/hashtriemap.go:115 # 0x118dac0 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x22a33ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).isAIPluginBridgeAvailable+0x6a github.com/mattermost/mattermost/server/v8/channels/app/agents.go:42 # 0x22a40e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x49 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:79 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xb728a9 0xb7279e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb728a8 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0xa8 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:117 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17ad52e 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17ad52d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x12575bb 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x270ec4b 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0xb09ca5 0xb09c53 0x119ac6b 0x119ab38 0x119242e 0x1193d7e 0x1193c3b 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0xb09ca4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb09c52 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:172 # 0x119ac6a github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xaa github.com/mattermost/mattermost/server/public/plugin/supervisor.go:228 # 0x119ab37 github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:204 # 0x119242d github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xad github.com/mattermost/mattermost/server/public/plugin/environment.go:641 # 0x1193d7d github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x1193c3a github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x17a github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 240] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179cb74 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179cb73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x16b0825 0x16b07b9 0x184faf2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184faf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x3d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:291 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50f21d 0x53ec1d 0x53eef7 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53eef6 encoding/json.(*decodeState).array+0x56 encoding/json/decode.go:504 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x243588a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2435889 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:79 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x79a65f 0x799f7b 0x799ccb 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79a65e regexp.makeOnePass.func1+0x89e regexp/onepass.go:381 # 0x799f7a regexp.makeOnePass.func1+0x1ba regexp/onepass.go:317 # 0x799cca regexp.makeOnePass+0x32a regexp/onepass.go:442 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17cb02d 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb02c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1657 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0xb0fd13 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x25fe386 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x25fe385 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:90 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x48ed3d 0x48ec06 0x48e97c 0x776d46 0x75133f 0x755918 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x776d45 net/http.newBufioWriterSize+0x65 net/http/server.go:888 # 0x75133e net/http.(*conn).readRequest+0x93e net/http/server.go:1115 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 1024] @ 0x24e27fc 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x9317a5 0x935434 0x9346bd 0x571d17 0x4bad51 0xada451 0xada422 0xae3d13 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x935433 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x213 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x9346bc github.com/hashicorp/yamux.(*Stream).Read+0x5bc github.com/hashicorp/yamux@v0.1.2/stream.go:132 # 0x571d16 bufio.(*Reader).Read+0x196 bufio/bufio.go:245 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0xada450 io.ReadFull+0x50 io/io.go:354 # 0xada421 encoding/gob.decodeUintReader+0x21 encoding/gob/decode.go:116 # 0xae3d12 encoding/gob.(*Decoder).recvMessage+0x32 encoding/gob/decoder.go:84 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x12578b9 0x125c637 0x1829914 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x183db9b 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183db9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:641 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x543d27 0x25fe4db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25fe4da github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 4608] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc65 0x110cc55 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc64 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:168 # 0x110cc54 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:84 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2007040] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x264920f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x264920e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x68e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:327 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 524288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x5bc1ff 0x5c0778 0x5c06bf 0x5be6e2 0x5bea71 0x5bc1ff 0x5c05be 0x5c4cdc 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c0777 crypto/ecdsa.addASN1IntBytes+0x77 crypto/ecdsa/ecdsa.go:315 # 0x5c06be crypto/ecdsa.encodeSignature.func1+0x3e crypto/ecdsa/ecdsa.go:299 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c05bd crypto/ecdsa.encodeSignature+0xbd crypto/ecdsa/ecdsa.go:298 # 0x5c4cdb crypto/ecdsa.signFIPS[...]+0xfb crypto/ecdsa/ecdsa.go:255 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 2596864] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2596864] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 663552] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2637824] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 991232] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e76e 0xb759db 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e76d reflect.AppendSlice+0x12d reflect/value.go:2664 # 0xb759da github.com/vmihailenco/msgpack/v5.growSliceValue+0xda github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240f5ec 0x25e38a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240f5eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePost+0xcb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1459 # 0x25e38a4 github.com/mattermost/mattermost/server/v8/channels/api4.deletePost+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:616 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 4608] @ 0x12578b9 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x54e3fa 0x23a6a6b 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x23a6a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x60a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 65536] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 2654208] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 3456] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 704] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0x526fde 0x527570 0x24f8c70 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x526fdd fmt.newPrinter+0x1d fmt/print.go:152 # 0x52756f fmt.Sprintf+0x2f fmt/print.go:238 # 0x24f8c6f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xbcf github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x179f9f6 0x179f99b 0x179f9a9 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x179f9f5 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x179f99a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x5a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x179f9a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:374 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 288] @ 0x5437e7 0x5437d0 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b15eb 0x184f25c 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f25b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 720] @ 0x16b07a8 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e336 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:160 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1280] @ 0x1a0a405 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 2080] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x12575bb 0x125c637 0x1829914 0x1833d09 0x243413b 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1833d08 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDbVersion+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:401 # 0x243413a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x67a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:337 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x16a3970 0x1851c5f 0x1851ba6 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1851c5e github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1851ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18502eb 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18502ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xbca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:331 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184f445 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f444 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:254 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a9465 0x16a9bb8 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x184fc7d 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc7c github.com/mattermost/squirrel.SelectBuilder.Join+0x55c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0x1644b57 0x1643e73 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x1644b56 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x96 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:160 # 0x1643e72 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 384] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x935434 0x930add 0xb08987 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x935433 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x213 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x930adc github.com/hashicorp/yamux.(*Session).AcceptStream+0x7c github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb08986 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:142 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 512] @ 0xaeb429 0xaeb281 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeb428 encoding/gob.(*encBuffer).WriteString+0x588 encoding/gob/encode.go:60 # 0xaeb280 encoding/gob.(*Encoder).encodeInterface+0x3e0 encoding/gob/encode.go:409 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [6: 192] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 672] @ 0x110cbf7 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x110cbf6 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.10.9/scram/scram.go:79 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184f073 0x184efba 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184f072 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184efb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15eb 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x16a99fe 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184ddf5 0x184ddad 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x203fc05 0x203fb97 0x2042ba5 0x20424d0 0x483fe1 # 0x203fc04 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2042ba4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x324 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:443 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 160] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 128] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 5376] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184e998 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184e997 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x277 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:199 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c1997 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1996 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x18535ed 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18535ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:561 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1760] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0xb78dca 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f79d48 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f79d47 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:113 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16b4448 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4447 github.com/mattermost/squirrel.(*updateData).ToSql+0x127 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1869bb5 0x18696ff 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1869bb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x114 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:648 # 0x18696fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:616 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x5275a6 0x16aa6cd 0x16aaa5a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aa6cc github.com/mattermost/squirrel.Lt.toSql+0x40c github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa59 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 160] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184f468 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x5a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:254 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1440] @ 0x17b8d78 0x184fa66 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x17b8d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:120 # 0x184fa65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x345 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x49bd85 0x49edcc 0x49edd4 0x4d573f 0x4d572b 0x4d572a 0x4d571d 0x1643eea 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49edcb syscall.BytePtrFromString+0x2b syscall/syscall.go:68 # 0x49edd3 syscall.unlinkat+0x33 syscall/zsyscall_linux_amd64.go:162 # 0x4d573e syscall.Unlink+0x3e syscall/syscall_linux.go:333 # 0x4d572a os.Remove.func1+0x2a os/file_unix.go:381 # 0x4d5729 os.ignoringEINTR+0x29 os/file_posix.go:251 # 0x4d571c os.Remove+0x1c os/file_unix.go:380 # 0x1643ee9 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x169 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 832] @ 0x1f7f3c6 0x24b695b 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24b695a github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7a github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:764 0: 0 [4: 64] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0154 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112a805 0x112a722 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x112a804 strings.NewReplacer+0x1c4 strings/replace.go:36 # 0x112a721 github.com/lib/pq.ParseURL+0xe1 github.com/lib/pq@v1.10.9/url.go:43 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b0825 0x16b07b9 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x264920f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x264920e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x68e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:327 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17c6aff 0x17c6a6e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6afe github.com/mattermost/squirrel.SelectBuilder.From+0x33e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c6a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x4b3ee5 0x4b2b8a 0x4b3831 0x4b3914 0x4b1470 0x124b57c 0x239f170 0x239c025 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b3ee4 time.readFile+0x1e4 time/zoneinfo_read.go:589 # 0x4b2b89 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4b3830 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4b3913 time.loadLocation+0x93 time/zoneinfo_read.go:533 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239f16f github.com/mattermost/mattermost/server/v8/channels/app.getNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:289 # 0x239c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x744 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:68 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1816a30 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1816a2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:92 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1837d65 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837d64 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x484 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 1008] @ 0x794b36 0x794af3 0x7945f4 0x79b88d 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x794b35 regexp/syntax.simplify1+0x975 regexp/syntax/simplify.go:148 # 0x794af2 regexp/syntax.(*Regexp).Simplify+0x932 regexp/syntax/simplify.go:100 # 0x7945f3 regexp/syntax.(*Regexp).Simplify+0x433 regexp/syntax/simplify.go:23 # 0x79b88c regexp.compile+0x6c regexp/regexp.go:175 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182bda5 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182bda4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:287 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xb0fd13 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x50f21d 0xafb2c5 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2c4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:560 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x183db9b 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183db9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:641 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 3584] @ 0x26e545a 0x6c7959 0x67b376 0x69751e 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 240] @ 0x1222c74 0x1223188 0x1232a8d 0x1232be5 0x1245f12 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x1222c73 github.com/yuin/goldmark/parser.(*withBlockParsers).SetParserOption+0x53 github.com/yuin/goldmark@v1.7.13/parser/parser.go:650 # 0x1223187 github.com/yuin/goldmark/parser.NewParser+0xc7 github.com/yuin/goldmark@v1.7.13/parser/parser.go:732 # 0x1232a8c github.com/yuin/goldmark.DefaultParser+0x32c github.com/yuin/goldmark@v1.7.13/markdown.go:16 # 0x1232be4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.7.13/markdown.go:102 # 0x1245f11 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x111 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:53 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1869652 0x18695e9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1869651 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x131 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18695e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0xc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:611 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17423d1 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17423d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3035 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 1024] @ 0x270ec4b 0x2710a97 0x2710a84 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710a96 crypto/internal/fips140/bigmod.(*Nat).montgomeryRepresentation+0x156 crypto/internal/fips140/bigmod/nat.go:755 # 0x2710a83 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x143 crypto/internal/fips140/bigmod/nat.go:1048 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 144] @ 0x1220bfe 0x1220bf2 0x12259d1 0x1225c07 0x1224425 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x1220bfd github.com/yuin/goldmark/ast.NewParagraph+0xfd github.com/yuin/goldmark@v1.7.13/ast/block.go:171 # 0x1220bf1 github.com/yuin/goldmark/parser.(*paragraphParser).Open+0xf1 github.com/yuin/goldmark@v1.7.13/parser/paragraph.go:30 # 0x12259d0 github.com/yuin/goldmark/parser.(*parser).openBlocks+0x890 github.com/yuin/goldmark@v1.7.13/parser/parser.go:969 # 0x1225c06 github.com/yuin/goldmark/parser.(*parser).parseBlocks+0x106 github.com/yuin/goldmark@v1.7.13/parser/parser.go:1057 # 0x1224424 github.com/yuin/goldmark/parser.(*parser).Parse+0x144 github.com/yuin/goldmark@v1.7.13/parser/parser.go:876 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [6: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x6311e5 0x6324d9 0x6324af 0x266e17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e17c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3444 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 96] @ 0x16b0918 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 416] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 576] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 160] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x6234d9 0x605afb 0x6240b6 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x6234d8 net.sockaddrToUnix+0x38 net/unixsock_posix.go:54 # 0x605afa net.(*netFD).accept+0x25a net/fd_unix.go:189 # 0x6240b5 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [5: 80] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [8: 896] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x266b272 0x266b245 0x266b227 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x266b271 net/textproto.MIMEHeader.Set+0x151 net/textproto/header.go:22 # 0x266b244 net/http.Header.Set+0x124 net/http/header.go:40 # 0x266b226 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x27332f5 0x2738366 0x2737930 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x273792f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 240] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x270d17f 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d17e crypto/internal/fips140/bigmod.NewNat+0x3e crypto/internal/fips140/bigmod/nat.go:73 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 192] @ 0x203f43d 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203f43c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x75c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b1a5c 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x16b0e85 0x16b0e53 0x17c6b9c 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6b9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3db github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x48ed3d 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54508f 0x548e03 0x544613 0x5443d2 0x543cbe 0x179a8e5 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54508e encoding/json.marshalerEncoder+0x14e encoding/json/encode.go:456 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x179a8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:57 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x52f3fd 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x52f3fc fmt.newScanState+0x3c fmt/scan.go:384 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x563a9b 0x563a7d 0x7e84ce 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17dd5f9 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7e84cd database/sql.(*DB).beginDC+0xcd database/sql/sql.go:1915 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17dd5f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3214 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 11520] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x461d32 0x4620a7 0x1115e58 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115e57 github.com/lib/pq.parseOpts+0x197 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x1837aa7 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837aa6 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1c6 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 2160] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 8448] @ 0x111c77b 0x111c72d 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111c77a github.com/lib/pq.(*writeBuf).bytes+0x45a github.com/lib/pq@v1.10.9/buf.go:77 # 0x111c72c github.com/lib/pq.(*stmt).exec+0x40c github.com/lib/pq@v1.10.9/conn.go:1453 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2560] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x4125d4 0x4aaf08 0x1f51c53 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x1f51c52 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x292 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:71 0: 0 [6: 98304] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54771b 0x544613 0x5443d2 0x54eb70 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54771a encoding/json.mapEncoder.encode+0x49a encoding/json/encode.go:782 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 1920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3970 0x1830159 0x18300fe 0x183010c 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1830158 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x98 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18300fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x183010b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:116 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1600] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17bea8f 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bea8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xfee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:651 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17f2e49 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17f2e48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:114 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 384] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 72] @ 0x16b0f34 0x16b0e53 0x1735872 0x1735827 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1735871 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x311 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x1735826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2072 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2423c6b 0x2423dcf 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2423c6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostMetadataForUser+0x14a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:258 # 0x2423dce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:268 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f272d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f272c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x1658569 0x1658557 0x16584fe 0x1657179 0x1657145 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1658568 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:4820 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x16584fd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x1657178 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x1657144 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:146 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x186988a 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1869889 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:629 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x16b0efc 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 17280] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdcac5 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 640] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 960] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b0a05 0x16b09d3 0x184fa95 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fa94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x374 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 448] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 96] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 3456] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17c6eff 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c6efe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 43776] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x1120075 0x111785d 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1120074 github.com/lib/pq.parsePortalRowDescribe+0xb4 github.com/lib/pq@v1.10.9/conn.go:1983 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 480] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x203fc9e 0x203fc67 0x2041891 0x2046e85 0x2029802 0x483fe1 # 0x203fc9d github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x13d github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x203fc66 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x106 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:211 # 0x2041890 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0xa30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 832] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x10e1b76 0x10e6ed6 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e1b75 gopkg.in/mail%2ev2.NewMessage+0x35 gopkg.in/mail.v2@v2.3.1/message.go:35 # 0x10e6ed5 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1075 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:345 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 16] @ 0x1252ec8 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x1252ec7 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xa7 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x185892f 0x1858876 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185892e github.com/mattermost/squirrel.SelectBuilder.From+0x26e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1858875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x1b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:813 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x175cab9 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cab8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x658 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:527 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x680e93 0x68161c 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x680e92 crypto/tls.(*Conn).writeRecordLocked+0x3b2 crypto/tls/conn.go:988 # 0x68161b crypto/tls.(*Conn).writeHandshakeRecord+0x13b crypto/tls/conn.go:1060 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x539cff 0x8e2a48 0x8e29fe 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a47 strings.Split+0x127 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e3c89 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3c88 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:648 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x17c6ed9 0x17c6e66 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c6ed8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x718 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c6e65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x539fb5 0x22af369 0x22af361 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af368 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:845 # 0x22af360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:272 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40e3fc 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x5be9e5 0x69c305 0x69c2cb 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c304 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2a4 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c2ca crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x26a crypto/tls/handshake_messages.go:356 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1280] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x5275a6 0x16b4925 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x270ec4b 0x270eaff 0x2710c3a 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x270eafe crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x17e crypto/internal/fips140/bigmod/nat.go:768 # 0x2710c39 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x2f9 crypto/internal/fips140/bigmod/nat.go:1056 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x5be9e5 0x69b03d 0x69aedd 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69b03c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x215c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69aedc crypto/tls.(*clientHelloMsg).marshalMsg+0x1ffc crypto/tls/handshake_messages.go:257 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 2048] @ 0x4b2379 0x4b3937 0x4b1470 0x124b57c 0x239f545 0x239be98 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b2378 time.LoadLocationFromTZData+0xc78 time/zoneinfo_read.go:283 # 0x4b3936 time.loadLocation+0xb6 time/zoneinfo_read.go:535 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239f544 github.com/mattermost/mattermost/server/v8/channels/app.getGroupMessageNotificationEmailSubject+0x64 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:304 # 0x239be97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x5b7 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:62 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x184f5b0 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:262 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 208] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb7067a 0xb732d8 0xb7248a 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f70265 0x2392477 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb732d7 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x177 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:260 # 0xb72489 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f70264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:311 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x1f6ffcf 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6ffce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:287 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x8f15e5 0x8f1650 0x8f8198 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8f15e4 golang.org/x/net/html.(*parser).addElement+0x1a44 golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8f164f golang.org/x/net/html.inBodyIM+0x1aaf golang.org/x/net@v0.46.0/html/parse.go:936 # 0x8f8197 golang.org/x/net/html.inCellIM+0x397 golang.org/x/net@v0.46.0/html/parse.go:1794 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x184f7c5 0x184f7a1 0x184f786 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184f7c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184f7a0 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x184f785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c2479 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c2478 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:935 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x172de7d 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x172de7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x23c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1527 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17c2165 0x17c212f 0x17c205e 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c2164 github.com/mattermost/squirrel.newPart+0x144 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17c212e github.com/mattermost/squirrel.SelectBuilder.From+0x10e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c205d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:928 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 288] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x6406bf 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6406be crypto/x509.parseName+0x37e crypto/x509/parser.go:143 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 960] @ 0x5f8735 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x207c85a 0x208de34 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x207c859 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0xd9 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:465 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 192] @ 0x24f115c 0x265607b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f115b github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1bb github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x265607a github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1424 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x1728b9e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728b9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x91d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1156 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x11233a5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11233a4 github.com/lib/pq.NewConnector+0x644 github.com/lib/pq@v1.10.9/connector.go:119 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x79619e 0x7961b7 0x798592 0x79d64b 0x79d2cb 0x1829e25 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x79619d regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7961b6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x79d64a regexp.(*Regexp).replaceAll+0x18a regexp/regexp.go:619 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x93171e 0x93136a 0x93136b 0x9315a5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x931369 github.com/hashicorp/yamux.(*Session).waitForSend+0x149 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x93136a github.com/hashicorp/yamux.(*Session).Ping+0x14a github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1838305 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1838304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0e85 0x16b0e53 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 64] @ 0x175cab9 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cab8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x658 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:527 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184e97b 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184e97a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1280] @ 0x1a0a4c5 0x1a0a52c 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a4c4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x164 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a52b github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1cb github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:152 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x1115157 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115156 bufio.NewReaderSize+0x3d6 bufio/bufio.go:56 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x1113865 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1113864 github.com/lib/pq.Open+0x64 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 811008] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdf4eb 0x25e5d0a 0x25e4f45 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdf4ea github.com/mattermost/mattermost/server/public/model.(*PostSearchResults).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_search_results.go:34 # 0x25e5d09 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0xd89 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:844 # 0x25e4f44 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInAllTeams+0x24 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:771 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdf4eb 0x25e5d0a 0x25e4f45 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdf4ea github.com/mattermost/mattermost/server/public/model.(*PostSearchResults).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_search_results.go:34 # 0x25e5d09 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0xd89 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:844 # 0x25e4f44 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInAllTeams+0x24 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:771 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0xbdca93 0xbdca4b 0x2423d2a 0x25e57b1 0x25e4f45 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdca92 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xf2 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdca4a github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xaa github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e57b0 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x830 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:833 # 0x25e4f44 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInAllTeams+0x24 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:771 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e5765 0x25e4f45 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4f44 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInAllTeams+0x24 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:771 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x479c9a 0x479caf 0x54373c 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54373b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1074 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x2422492 0x2422486 0x2423287 0x242796c 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x242796b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x28b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:704 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x17f2791 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f2790 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x4125d4 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x184dd07 0x184dcd9 0x184dcd8 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184dd06 github.com/mattermost/squirrel.newPart+0x106 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184dcd8 github.com/mattermost/squirrel.SelectBuilder.From+0xd8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184dcd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x5275a6 0x16a9a36 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 19584] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 240] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506f1d 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506f1c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1e5c github.com/mattermost/mattermost/server/v8/channels/web/params.go:213 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16b1e6f 0x18696a5 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1e6e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x18696a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:612 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17b5a06 0x17b59ac 0x17b594d 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b5a05 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x145 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17b59ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17b594c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:46 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112ac25 0x112ab78 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x112ac24 github.com/lib/pq.ParseURL.func1+0x5e4 github.com/lib/pq@v1.10.9/url.go:46 # 0x112ab77 github.com/lib/pq.ParseURL+0x537 github.com/lib/pq@v1.10.9/url.go:61 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x266e1d0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e1cf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x32f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3445 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 2880] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0x1868d13 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868d12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:556 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x16b19e5 0x16b19b3 0x186f97b 0x186f918 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x17283fb 0x17283c7 0x17283c6 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17283fa github.com/mattermost/squirrel.newPart+0x17a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17283c6 github.com/mattermost/squirrel.SelectBuilder.From+0x146 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17283c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1119 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x179d4c7 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x179d4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:208 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16b0005 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16b0efc 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 512] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 2112] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x17254ce 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17254cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:884 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc88 0x110cc78 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc87 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:168 # 0x110cc77 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.10.9/scram/scram.go:85 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 2880] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c190f 0x17c1851 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c190e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1850 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:887 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0xc02138 0xc02139 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02137 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02138 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x17b03a7 0x17b0373 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b03a6 github.com/mattermost/squirrel.newPart+0x266 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17b0372 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x185274d 0x18526d7 0x11adcb0 0x483fe1 # 0x185274c github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x32c github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 3456] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c6d6d 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6d6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408f2e 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x12575bb 0x125c637 0x1829914 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3970 0x1851b67 0x1851ae6 0x1851ae4 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1851b66 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1851ae5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1851ae3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:453 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46159d 0x112acd7 0x112ac66 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112acd6 github.com/lib/pq.ParseURL.func1+0x696 github.com/lib/pq@v1.10.9/url.go:46 # 0x112ac65 github.com/lib/pq.ParseURL+0x625 github.com/lib/pq@v1.10.9/url.go:62 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0xb0c569 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c568 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x48 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:51 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 19584] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b0e85 0x16b0e53 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b15fc 0x1852251 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184ddf5 0x184ddad 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b08ff 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x179fb28 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x179fb27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 448] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x619566 0x61953d 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x112a7c9 0x112a722 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x112a7c8 strings.NewReplacer+0x188 strings/replace.go:36 # 0x112a721 github.com/lib/pq.ParseURL+0xe1 github.com/lib/pq@v1.10.9/url.go:43 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1408] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x18526b9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x16aad15 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 480] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x4125d4 0x2046610 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204660f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x3cf github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:230 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x175b265 0x175b230 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b264 github.com/mattermost/squirrel.newPart+0x4a4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x175b22f github.com/mattermost/squirrel.SelectBuilder.From+0x46f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1344] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x26cb806 0x26dd3d4 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4320] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 2880] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 320] @ 0x64d4ad 0x64dbc6 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64d4ac crypto/x509.alreadyInChain+0xac crypto/x509/verify.go:919 # 0x64dbc5 crypto/x509.(*Certificate).buildChains.func1+0xc5 crypto/x509/verify.go:965 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 144] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0x1643fa5 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x1643fa4 os.Open+0x64 os/file.go:370 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 4210688] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x2716257 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x4baeb8 0x4baeac 0x7544b5 0x74ea69 0x754e25 0x755be5 0x483fe1 # 0x4baeb7 io.LimitReader+0x37 io/io.go:461 # 0x4baeab io.CopyN+0x2b io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74ea68 net/http.(*chunkWriter).close+0x28 net/http/server.go:408 # 0x754e24 net/http.(*response).finishRequest+0x64 net/http/server.go:1717 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [2: 2304] @ 0x10e4205 0x10e41eb 0x10e30dc 0x10e28d5 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e4204 encoding/base64.NewEncoder+0x124 encoding/base64/base64.go:285 # 0x10e41ea gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x10a gopkg.in/mail.v2@v2.3.1/writeto.go:270 # 0x10e30db gopkg.in/mail%2ev2.(*messageWriter).addFiles+0x7b gopkg.in/mail.v2@v2.3.1/writeto.go:148 # 0x10e28d4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x274 gopkg.in/mail.v2@v2.3.1/writeto.go:48 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf185 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [7: 1792] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x16aa66c 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa66b github.com/mattermost/squirrel.Lt.toSql+0x3ab github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 768] @ 0x270d4d4 0x270d511 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d4d3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x270d510 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:551 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x1857da9 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1857da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:761 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x76d130 0x76c318 0x76c155 0x483fe1 # 0x76d12f net/http.(*Transport).dialConn+0x10f net/http/transport.go:1740 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [7: 336] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 256] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b080f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af3f3 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af3f2 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x5f2 github.com/mattermost/squirrel@v0.5.0/select.go:133 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 8] @ 0x24f81ff 0x24f81be 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f81fe github.com/mattermost/mattermost/server/v8/channels/app.New+0x15e github.com/mattermost/mattermost/server/v8/channels/app/app.go:31 # 0x24f81bd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x11d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:149 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x63c77f 0x64d9c7 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63c77e crypto/x509.(*CertPool).findPotentialParents+0x4de crypto/x509/cert_pool.go:165 # 0x64d9c6 crypto/x509.(*Certificate).buildChains+0x166 crypto/x509/verify.go:1018 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1456] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x12578b9 0x125c637 0x1829914 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0x1737025 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1737024 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 29184] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x50afcb 0x4f9c71 0x547625 0x5470aa 0x544613 0x5443d2 0x54eb70 0xc178ff 0x2048b50 0x2047f27 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xc178fe github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xbe github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184de4d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184de4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x24c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 480] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x79d7f1 0x79d2cb 0x182cc05 0x17f61de 0x17f1df3 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x182cc04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:352 # 0x17f61dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).saveReactionAndUpdatePost+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:370 # 0x17f1df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:53 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x83bd51 0x83bc9d 0x839b05 0x840f90 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83bd50 github.com/mattermost/logr/v2.LimitString+0x3d0 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x83bc9c github.com/mattermost/logr/v2.(*Logr).enqueue+0x31c github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x839b04 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x840f8f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0xadd965 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd964 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 896] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [17: 544] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x18525bf 0x1852506 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18525be github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1852505 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1872fbb 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x202a2f0 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x202a2ef github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x8af github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:84 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x17ad98e 0x17ad954 0x17ad953 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17ad98d github.com/mattermost/squirrel.DeleteBuilder.From+0xed github.com/mattermost/squirrel@v0.5.0/delete.go:175 # 0x17ad953 github.com/mattermost/squirrel.StatementBuilderType.Delete+0xb3 github.com/mattermost/squirrel@v0.5.0/statement.go:31 # 0x17ad952 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:234 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x543848 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 240] @ 0x23a729e 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23a729d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x13d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:556 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17358d4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17358d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1779c5c 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779c5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 434176] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4915200] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0x1b7922a 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x1b79229 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:81 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 80] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 160] @ 0x12595c8 0x12594d8 0x125a972 0x125b7e5 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12595c7 github.com/jmoiron/sqlx.compileNamedQuery+0x47 github.com/jmoiron/sqlx@v1.4.0/named.go:332 # 0x12594d7 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x125a971 github.com/jmoiron/sqlx.bindNamedMapper+0x171 github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 4864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853995 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853994 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x654 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 196608] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2228224] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x4aaf08 0x703c6a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x703c69 net/http.setRequestCancel+0x449 net/http/client.go:398 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817b85 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 72] @ 0xb0d789 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d788 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17c9853 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c9852 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1564 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x79647b 0x798592 0x7a0085 0x2073f31 0x2073ebd 0x20713b4 0x207078c 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0084 regexp.(*Regexp).FindStringSubmatch+0x84 regexp/regexp.go:1040 # 0x2073f30 github.com/Masterminds/semver/v3.coerceNewVersion+0x30 github.com/Masterminds/semver/v3@v3.4.0/version.go:237 # 0x2073ebc github.com/Masterminds/semver/v3.NewVersion+0x31c github.com/Masterminds/semver/v3@v3.4.0/version.go:165 # 0x20713b3 github.com/Masterminds/semver/v3.parseConstraint+0x3d3 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:286 # 0x207078b github.com/Masterminds/semver/v3.NewConstraint+0x32b github.com/Masterminds/semver/v3@v3.4.0/constraints.go:47 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2048] @ 0x543d27 0x25fe4db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25fe4da github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x6d00fc 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [2: 64] @ 0x185389b 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185389a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x55a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x17c5757 0x17c56f4 0x17c56da 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17c5756 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x296 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c56f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c56d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1251 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x535245 0x535350 0x5af86e 0x646f98 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x5af86d encoding/asn1.ObjectIdentifier.String+0x4d encoding/asn1/asn1.go:233 # 0x646f97 crypto/x509.parseCertificate+0x1077 crypto/x509/parser.go:1044 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 224] @ 0x2387d5f 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2387d5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9a5e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:663 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x239979f 0x239977f 0x23940bf 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x239979e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatusFromCache+0xbe github.com/mattermost/mattermost/server/v8/channels/app/status.go:58 # 0x239977e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x9e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1526 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 24] @ 0x16b0918 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x62f253 0x62f2a1 0x62ee4f 0x62e809 0x112a66a 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x62f252 net/url.UserPassword+0x292 net/url/url.go:400 # 0x62f2a0 net/url.parseAuthority+0x2e0 net/url/url.go:618 # 0x62ee4e net/url.parse+0x3ee net/url/url.go:568 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x112a669 github.com/lib/pq.ParseURL+0x29 github.com/lib/pq@v1.10.9/url.go:33 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c1b7f 0x17c1ac6 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c1b7e github.com/mattermost/squirrel.SelectBuilder.From+0x43e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x385 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:892 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x16b1585 0x16b15db 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x2618eb9 0x2618e3e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2618eb8 encoding/json.NewDecoder+0x98 encoding/json/stream.go:32 # 0x2618e3d github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x1d github.com/mattermost/mattermost/server/v8/channels/api4/system.go:673 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x7039be 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7039bd net/http.setRequestCancel+0x19d net/http/client.go:376 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a99a9 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 114688] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 160] @ 0xbc1b28 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1b27 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x167 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x4089a5 0x4088bd 0x41ca10 0x47a145 0x65006b 0x650058 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0x65006a maps.Clone[...]+0xcca maps/maps.go:55 # 0x650057 crypto/x509.policiesValid+0xcb7 crypto/x509/verify.go:1598 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 192] @ 0x16b4d5f 0x16b4cfd 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4d5e bytes.(*Buffer).String+0xa3e bytes/buffer.go:71 # 0x16b4cfc github.com/mattermost/squirrel.(*updateData).ToSql+0x9dc github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x182c734 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1857c59 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857c58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x698 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:762 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 5120] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0x1737025 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1737024 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 8448] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1791d4c 0x1791d1d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1791d4b github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1791d1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1475 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x12578b9 0x125c637 0x182a1ef 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 256] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x4f09aa 0x4f042d 0x24fb6f7 0x24fb6b2 0x24faf64 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f09a9 strconv.formatBits+0x209 strconv/itoa.go:193 # 0x4f042c strconv.FormatInt+0x8c strconv/itoa.go:29 # 0x24fb6f6 strconv.Itoa+0x636 strconv/itoa.go:35 # 0x24fb6b1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x5f1 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:169 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x539cff 0x64e255 0x64e25b 0x64eca5 0x64ec83 0x64cada 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x64e254 strings.Split+0xb4 strings/strings.go:361 # 0x64e25a crypto/x509.validHostname+0xba crypto/x509/verify.go:1051 # 0x64eca4 crypto/x509.validHostnamePattern+0x2c4 crypto/x509/verify.go:1032 # 0x64ec82 crypto/x509.(*Certificate).VerifyHostname+0x2a2 crypto/x509/verify.go:1188 # 0x64cad9 crypto/x509.(*Certificate).Verify+0x1b9 crypto/x509/verify.go:828 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 208] @ 0x461e06 0x1b77097 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b77096 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xd6 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:108 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [8: 128] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b080f 0x17bde50 0x17bde36 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17bde4f github.com/mattermost/squirrel.StatementBuilderType.Select+0x3af github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bde35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:591 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853995 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853994 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x654 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x12578b9 0x125c637 0x1829914 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x273332e 0x2738366 0x2737930 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x273332d crypto/internal/fips140/hkdf.Extract[...]+0x10d crypto/internal/fips140/hkdf/hkdf.go:23 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x273792f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 880] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x175cc85 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x824 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [13: 1456] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 640] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16b07a8 0x1858875 0x18587b1 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x27332f5 0x2738366 0x2739435 0x695879 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2739434 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x695878 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x258 crypto/tls/handshake_client_tls13.go:511 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40e486 0xb136e6 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb136e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1a5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:52 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 64] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x4cfde8 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfde7 os.(*File).readdir+0x587 os/dir_unix.go:141 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 32] @ 0x173a73a 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a739 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5f9 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b667b 0x16b6573 0x18561f1 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18561f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x1b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:702 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x58b4b3 0x5cd9fb 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 2400] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x408105 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 8064] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1536] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x16ab44d 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ab44c github.com/mattermost/squirrel.(*insertData).ToSql+0x8c github.com/mattermost/squirrel@v0.5.0/insert.go:63 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16ab751 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 3840] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x259f8c7 0x259f82b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x259f8c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0xec6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x259f82a github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xe2a github.com/mattermost/mattermost/server/v8/channels/api4/file.go:574 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 4096] @ 0x543d27 0x238b4f9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x238b4f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd1f8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:853 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x173a505 0x173a4d0 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a504 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x3c4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x173a4cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x38f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2552 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1792] @ 0x238338d 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238338c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x508c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:443 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x5aeaba 0x5aead0 0x271626f 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 896] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x5aeaba 0x5aead0 0x27162be 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 160] @ 0x563bbb 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x563bba context.withCancel+0x3a context/context.go:277 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 128] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae271 0x16ae35d 0x16a4cf7 0x16a4f9d 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16a4cf6 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x16a4f9c github.com/mattermost/squirrel.(*caseData).ToSql+0x13c github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x12595e6 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x1778432 0x16d1087 0x1faa4b8 0x1fe702d 0x232bf8a 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12595e5 github.com/jmoiron/sqlx.compileNamedQuery+0x65 github.com/jmoiron/sqlx@v1.4.0/named.go:333 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1778431 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Save+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:129 # 0x16d1086 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5096 # 0x1faa4b7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:100 # 0x1fe702c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4150 # 0x232bf89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1109 github.com/mattermost/mattermost/server/v8/channels/app/file.go:845 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 3162112] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x4c2ec9 0x4c2ee6 0x569b85 0x569b51 0x1643f9b 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ec8 internal/filepathlite.(*lazybuf).string+0x828 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643f9a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x2412b02 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x2412b01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration.func1+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1777 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x2412b02 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x2412b01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration.func1+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1777 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x113dd8d 0x455278 0x446605 0x4464ee 0x483fe1 # 0x113dd8c github.com/mattermost/mattermost/server/public/plugin.init.1+0x2c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:356 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ea845 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ea844 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1265 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x6311e5 0x6324d9 0x6324af 0x266e27d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e27c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3447 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17dbcaf 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17dbcae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x5ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3076 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x17c1d57 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1d56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x56458a 0x7673b7 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7673b6 net/http.(*Transport).roundTrip+0x9f6 net/http/transport.go:667 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x1223a72 0x12248f4 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1223a71 github.com/yuin/goldmark/parser.(*parser).addInlineParser+0x311 github.com/yuin/goldmark@v1.7.13/parser/parser.go:792 # 0x12248f3 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x313 github.com/yuin/goldmark@v1.7.13/parser/parser.go:854 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 128] @ 0x9317a5 0x934ec5 0x9349f2 0x4bb297 0x4bb036 0x11992d2 0x113e77f 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4bb035 io.CopyBuffer+0x35 io/io.go:402 # 0x11992d1 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2d1 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [5: 560] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x259f2ef 0x259f79f 0x259f294 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x259f2ee github.com/mattermost/mattermost/server/public/model.(*FileInfo).Auditable+0x8ee github.com/mattermost/mattermost/server/public/model/file_info.go:63 # 0x259f79e github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0xd9e github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x259f293 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x893 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:571 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 448] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x249a098 0x249a080 0x249ae45 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x249a097 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x3b7 github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x249a07f github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x39f github.com/mattermost/mattermost/server/v8/channels/app/user.go:1283 # 0x249ae44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xac4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1417 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x48edbc 0x48ec06 0x48e97c 0x526fde 0x527570 0x24f8c70 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x526fdd fmt.newPrinter+0x1d fmt/print.go:152 # 0x52756f fmt.Sprintf+0x2f fmt/print.go:238 # 0x24f8c6f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xbcf github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 12288] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7d6fb2 0x7d6fba 0x11ad830 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7d6fb1 io.NopCloser+0xb71 io/io.go:684 # 0x7d6fb9 net/http/httptest.(*ResponseRecorder).Result+0xb79 net/http/httptest/recorder.go:201 # 0x11ad82f github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xef github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:59 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1536] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 4608] @ 0x6752c7 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6752c6 crypto/tls.(*certCache).newCert+0x106 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 32] @ 0x49cac5 0x49d6b2 0x605227 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49d6b1 syscall.Getpeername+0x71 syscall/syscall_unix.go:309 # 0x605226 net.(*netFD).connect+0x726 net/fd_unix.go:161 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1872985 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1403 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x680138 0x67dbfe 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x680137 crypto/tls.(*Conn).readFromUntil+0x97 crypto/tls/conn.go:831 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1853b38 0x1853ab4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1853b37 github.com/mattermost/squirrel.CaseBuilder.Else+0x7f7 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1853ab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x773 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:580 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [4: 1792] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eaa2b 0x182c929 0x182c28e 0x182c734 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eaa2a database/sql.(*Tx).ExecContext+0x4a database/sql/sql.go:2512 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 416] @ 0x1f7f3c6 0x23fff10 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x64f55f 0x64f3e0 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64f55e crypto/x509.newPolicyGraph+0x1be crypto/x509/verify.go:1305 # 0x64f3df crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1419 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [3: 2304] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 144] @ 0x12575bb 0x125cf77 0x182c26f 0x182c734 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 5376] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x25dd09b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25dd09a github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x5a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:77 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x259b80c 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x259b80b github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x8ab github.com/mattermost/mattermost/server/v8/channels/api4/file.go:319 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 880] @ 0x76b56c 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x76b56b net/http.(*Transport).getConn+0x22b net/http/transport.go:1499 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x49cac5 0x49d6b2 0x619e50 0x61973b 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49d6b1 syscall.Getpeername+0x71 syscall/syscall_unix.go:309 # 0x619e4f net.(*netFD).dial+0x60f net/sock_posix.go:142 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfb3e5 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x266136f 0x2661332 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xc24 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x266136e github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x52e github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x2661331 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2373 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 3072] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0xb0f11c 0xb12598 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0xb0f11b github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:163 # 0xb12597 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f7 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb0d20a 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d209 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0xce9 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:84 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x543d27 0x23a64b2 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x23a64b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 2112] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [5: 80] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa71e 0x16aaada 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa71d github.com/mattermost/squirrel.Lt.toSql+0x45d github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 160] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x251040f 0x261a537 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x251040e github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x4e github.com/mattermost/mattermost/server/v8/channels/web/web.go:107 # 0x261a536 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x1716 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:758 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x4125d4 0x76d178 0x76c318 0x76c155 0x483fe1 # 0x76d177 net/http.(*Transport).dialConn+0x157 net/http/transport.go:1743 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 960] @ 0x125a215 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125a214 github.com/jmoiron/sqlx.compileNamedQuery+0xc94 github.com/jmoiron/sqlx@v1.4.0/named.go:405 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110e135 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110e134 github.com/lib/pq/scram.(*Client).serverSignature+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:255 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b0e85 0x16b0e53 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x185a567 0x185a50d 0x185a50b 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185a566 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x86 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x185a50c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x185a50a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1057 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x12575bb 0x125c637 0x182b7ac 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x5275a6 0x16b4925 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x1120091 0x111785d 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1120090 github.com/lib/pq.parsePortalRowDescribe+0xd0 github.com/lib/pq@v1.10.9/conn.go:1984 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x2687890 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x268788f github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x2cf github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x185048f 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x185048e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xd6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:340 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x185266d 0x11adcb0 0x483fe1 # 0x185266c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x24c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 384] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17f27a5 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f27a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 288] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x24a24c9 0x264c79b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x24a24c8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTotalUsersStats+0x88 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2090 # 0x264c79a github.com/mattermost/mattermost/server/v8/channels/api4.getTotalUsersStats+0xda github.com/mattermost/mattermost/server/v8/channels/api4/user.go:654 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb72931 0xb7279e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72930 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x130 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:126 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x20466fe 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20466fd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x4bd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:255 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x749445 0x749953 0x749d7b 0x261102c 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x749444 net/http.(*Request).ParseForm+0xe4 net/http/request.go:1334 # 0x749952 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x749d7a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x261102b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6cb github.com/mattermost/mattermost/server/v8/channels/api4/system.go:160 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 576] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x183db37 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183db36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x456 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:637 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3072] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 81920] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 896] @ 0x12575bb 0x125c637 0x1829914 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x20404d1 0x2649005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20404d0 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x2649004 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x484 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:325 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x25353ac 0x2535317 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25353ab github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x5ab github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2535316 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:485 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b667b 0x16b6573 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 256] @ 0x171f045 0x171f954 0x1742778 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171f044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x7e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:260 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x1742777 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x461d32 0x4612a5 0x46140a 0x184fbe5 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fbe4 github.com/mattermost/squirrel.SelectBuilder.Join+0x4c4 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1115765 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1115764 github.com/lib/pq.dial+0x324 github.com/lib/pq@v1.10.9/conn.go:418 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0xbfc4ba 0xbfc477 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1817c67 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x186 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1280] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1760] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cd846 0x10cd83e 0x1f77c22 0x1f7bec5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7bec4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:130 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x461e06 0x2733093 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x185a5a5 0x185a57f 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x185a5a4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185a57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1058 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x2732f25 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x4d8ccc 0x4d3f7f 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d8ccb os.(*File).Stat+0x2b os/stat_unix.go:19 # 0x4d3f7e os.readFileContents+0x1e os/file.go:810 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x1b9d057 0x239fdf5 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x1b9d056 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).NewEmailTemplateData+0x176 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:770 # 0x239fdf4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x434 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:371 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [18: 9216] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x79d2d8 0x182cc05 0x17dc4af 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d2d7 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:600 # 0x182cc04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:352 # 0x17dc4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0xdae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3137 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184f3bc 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f3bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:253 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x67383a 0x48ea11 0x680e93 0x68161c 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x673839 crypto/tls.init.func1+0x19 crypto/tls/conn.go:968 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x680e92 crypto/tls.(*Conn).writeRecordLocked+0x3b2 crypto/tls/conn.go:988 # 0x68161b crypto/tls.(*Conn).writeHandshakeRecord+0x13b crypto/tls/conn.go:1060 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [10: 1120] @ 0x48037c 0x4aaf48 0x1f51c53 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x1f51c52 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x292 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:71 0: 0 [1: 48] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23f90e7 0x11ad826 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23f90e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x9a6 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x11ad825 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:56 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 8192] @ 0x1a0a3f0 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 524288] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x25df5e5 0x25df558 0x25df53a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25df5e4 net/textproto.MIMEHeader.Set+0xf44 net/textproto/header.go:22 # 0x25df557 net/http.Header.Set+0xeb7 net/http/header.go:40 # 0x25df539 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe99 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0f154 0xb12598 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0f153 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:165 # 0xb12597 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f7 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4032] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 655360] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x2423c6b 0x2423dcf 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2423c6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostMetadataForUser+0x14a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:258 # 0x2423dce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:268 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 59136] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238e674 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238e673 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10373 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:602 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0x186d9b7 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d9b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:940 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 256] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 512] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x23940d7 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2048] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 4096] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x265f65e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x265f65d github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xbfaaeb 0xbfaaec 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaaea github.com/tinylib/msgp/msgp.ReadStringBytes+0x32a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaaeb github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x32b github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184f55d 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:262 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 3520] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x243588a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2435889 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:79 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16abb7a 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16abb79 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x2b9 github.com/mattermost/squirrel@v0.5.0/insert.go:143 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x243588a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2435889 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:79 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x173e505 0x173e4d0 0x173e4de 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173e504 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x173e4cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x173e4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2805 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x17b86c5 0x17ba5d4 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b86c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x17ba5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24f10b3 0x25dd228 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f10b2 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x25dd227 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:86 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x24e27fc 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 327680] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2816] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x184faf2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184faf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x3d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:291 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 9152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e1d0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e1cf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x32f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3445 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f81b27 0x22cbba5 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22cbba4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 160] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 192] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c8de9 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c8de8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1510 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x2738070 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x204f317 0x204f2cf 0x2040585 0x25dda2c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204f316 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).UpdateActivity+0x96 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:459 # 0x204f2ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateWebConnUserActivity+0x4e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:252 # 0x2040584 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:281 # 0x25dda2b github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x9eb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:123 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 640] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1772be9 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1772be8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:75 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2560] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x26cb806 0x26dd436 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x183db9b 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183db9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:641 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16b15fc 0x17c6dd4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6dd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x8fdcc5 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdcc4 golang.org/x/net/html.(*Tokenizer).Token+0x1c4 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 336] @ 0x8ed126 0x8f65f4 0x8f77c5 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ed125 golang.org/x/net/html.(*parser).addText+0x185 golang.org/x/net@v0.46.0/html/parse.go:325 # 0x8f65f3 golang.org/x/net/html.inTableIM+0x7b3 golang.org/x/net@v0.46.0/html/parse.go:1434 # 0x8f77c4 golang.org/x/net/html.inTableBodyIM+0x404 golang.org/x/net@v0.46.0/html/parse.go:1685 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 224] @ 0x8ec945 0x8ec938 0x8ee9e5 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ec944 golang.org/x/net/html.(*parser).addElement+0x24 golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8ec937 golang.org/x/net/html.(*parser).parseGenericRawTextElement+0x17 golang.org/x/net@v0.46.0/html/parse.go:193 # 0x8ee9e4 golang.org/x/net/html.inHeadIM+0x224 golang.org/x/net@v0.46.0/html/parse.go:667 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 48] @ 0x6311e5 0x6324d9 0x6324af 0x266e1d0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e1cf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x32f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3445 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x173a4bf 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173a4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 7168] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f27c8 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f27c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 262144] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x264dba6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x264dba5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x125ecdf 0x1260b39 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125ecde github.com/jmoiron/sqlx.(*Row).scanAny+0x2de github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x548725 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x548724 encoding/json.arrayEncoder.encode+0x104 encoding/json/encode.go:868 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17dd5ba 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x17dd5b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3212 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 208] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 1024] @ 0x70117a 0x48ea11 0x710dc5 0x7114da 0x7113cb 0x71acf6 0x739efb 0x737af2 0x736b19 0x483fe1 # 0x701179 net/http.init.func1+0x19 net/http/h2_bundle.go:1212 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x710dc4 net/http.http2getDataBufferChunk+0x104 net/http/h2_bundle.go:1222 # 0x7114d9 net/http.(*http2dataBuffer).lastChunkOrAlloc+0x59 net/http/h2_bundle.go:1333 # 0x7113ca net/http.(*http2dataBuffer).Write+0x8a net/http/h2_bundle.go:1316 # 0x71acf5 net/http.(*http2pipe).Write+0x175 net/http/h2_bundle.go:4020 # 0x739efa net/http.(*http2clientConnReadLoop).processData+0x21a net/http/h2_bundle.go:10400 # 0x737af1 net/http.(*http2clientConnReadLoop).run+0x4d1 net/http/h2_bundle.go:9967 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 2304] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x6dd2b2 0x10e2d1a 0x10e2bfb 0x10e281d 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6dd2b1 mime/multipart.(*Writer).CreatePart+0xf1 mime/multipart/writer.go:108 # 0x10e2d19 gopkg.in/mail%2ev2.(*messageWriter).createPart+0x319 gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x10e2bfa gopkg.in/mail%2ev2.(*messageWriter).openMultipart+0x1fa gopkg.in/mail.v2@v2.3.1/writeto.go:92 # 0x10e281c gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1bc gopkg.in/mail.v2@v2.3.1/writeto.go:39 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x17c1a39 0x17c1a07 0x17c1a15 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1a38 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x2f8 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c1a06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c1a14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:890 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 256] @ 0x270d16e 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d16d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 576] @ 0x24f115c 0x266f16b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f115b github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1bb github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x266f16a github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3489 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x17bdc85 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:580 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179af50 0x179ae85 0x179a97d 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179af4f github.com/lann/builder.Append+0x6cf github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179ae84 github.com/mattermost/squirrel.InsertBuilder.Values+0x604 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x179a97c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x16b1a94 0x16b19b3 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b1a93 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 112] @ 0x4125d4 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x6f8e08 0x72ec27 0x72e257 0x70fd48 0x483fe1 # 0x6f8e07 vendor/golang.org/x/net/http2/hpack.NewEncoder+0x27 vendor/golang.org/x/net/http2/hpack/encode.go:36 # 0x72ec26 net/http.(*http2Transport).newClientConn+0x986 net/http/h2_bundle.go:8297 # 0x72e256 net/http.(*http2Transport).NewClientConn+0x36 net/http/h2_bundle.go:8240 # 0x70fd47 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:923 0: 0 [2: 8192] @ 0x7952ad 0x79629f 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x7952ac regexp.(*bitState).reset+0x4c regexp/backtrack.go:84 # 0x79629e regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x1829fa8 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829fa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErrWithResult+0x207 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:482 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15eb 0x184e13d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x182ec6e 0x182ec37 0x182ec36 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x182ec6d github.com/mattermost/squirrel.InsertBuilder.Into+0xed github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x182ec36 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x182ec35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:46 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 288] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 176] @ 0x23fb125 0x23fb0f1 0x23fb0c0 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fb124 net/textproto.MIMEHeader.Set+0x17c4 net/textproto/header.go:22 # 0x23fb0f0 net/http.Header.Set+0x1790 net/http/header.go:40 # 0x23fb0bf github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x175f github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:269 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x5654cb 0x5fd209 0x5fd1d1 0x5fe606 0x601ae5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5fd208 context.WithDeadline+0x2e8 context/context.go:617 # 0x5fd1d0 net.(*Resolver).exchange+0x2b0 net/dnsclient_unix.go:182 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x6311e5 0x6324d9 0x6324af 0x25deaea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25deae9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:206 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179d5d2 0x179d4d0 0x179d4be 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179d5d1 github.com/lann/builder.Append+0x6f1 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179d4cf github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ef github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d4bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x5dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:208 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x16a3970 0x16a3bc5 0x16b6b4c 0x16b6a7b 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 672] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x16a99a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xb103a5 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb103a4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x404 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:245 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17cb21b 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb21a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x31a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1667 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x76e78b 0x76c318 0x76c155 0x483fe1 # 0x76e78a net/http.(*Transport).dialConn+0x176a net/http/transport.go:1945 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 32] @ 0x5246c9 0x5246bd 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e14ab 0x24f197f 0x24f18f7 0x24fc5e5 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5246c8 errors.New+0x208 errors/errors.go:65 # 0x5246bc fmt.Errorf+0x1fc fmt/errors.go:30 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e14aa github.com/mattermost/mattermost/server/public/shared/i18n.init.func2+0xea github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:61 # 0x24f197e github.com/mattermost/mattermost/server/public/model.(*AppError).SystemMessage+0xbe github.com/mattermost/mattermost/server/public/model/utils.go:300 # 0x24f18f6 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x36 github.com/mattermost/mattermost/server/v8/channels/web/context.go:109 # 0x24fc5e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x904 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:410 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1852777 0x18526d7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852776 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x356 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x446b89 0x458d66 0x6101b9 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x6101b8 net.(*Resolver).lookupIPAddr+0x3d8 net/lookup.go:342 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184fd54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fd53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x633 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 4992] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af3f3 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af3f2 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x5f2 github.com/mattermost/squirrel@v0.5.0/select.go:133 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 576] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 768] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbdd15c 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x203f6e9 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203f6e8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0xa08 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:182 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1536] @ 0x48edbc 0x48ec06 0x48e8d4 0x77702e 0x7550db 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e8d3 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x7550da net/http.(*conn).finalFlush+0x7a net/http/server.go:1792 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [1: 16] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1760] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0x4ebcde 0x4ebd1d 0x2506cfe 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x2506cfd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1c3d github.com/mattermost/mattermost/server/v8/channels/web/params.go:204 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 192] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 384] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x179d30d 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x179d30c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x42c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:204 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x7db3ed 0x7dc125 0x7dc6ed 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7db3ec database/sql/driver.defaultConverter.ConvertValue+0x4ac database/sql/driver/types.go:292 # 0x7dc124 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7dc6ec database/sql.driverArgsConnLocked+0x56c database/sql/convert.go:179 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1536] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e17d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184e17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x57c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b08ff 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18501e8 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18501e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xac7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:323 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x175cc85 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x824 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3584] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184dfde 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184dfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x3dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x4aaf08 0x1f51c53 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x1f51c52 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x292 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:71 0: 0 [2: 32] @ 0x539cff 0x8e29f4 0x8e298b 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e29f3 strings.Split+0xd3 strings/strings.go:361 # 0x8e298a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:263 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e2ca8 0x2508bf1 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x259fd39 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e2ca7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x587 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:161 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x259fd38 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x1338 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x171d9c9 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171d9c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:118 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x17c55be 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c55bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1240 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3072] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f1c5 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x944 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1727df3 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x752 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1091 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x184fba5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x1643da6 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1643da5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x25 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:78 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x563a9b 0x563a7d 0x6841cb 0x76cf2e 0x76cf29 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x6841ca crypto/tls.(*Conn).handshakeContext+0x6a crypto/tls/conn.go:1519 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x4bc229 0x4bc110 0x4bb15d 0x1644bbd 0x1644b96 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232b6e3 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4bc228 io.(*multiReader).writeToWithBuffer+0xe8 io/multi.go:54 # 0x4bc10f io.(*multiReader).WriteTo+0x4f io/multi.go:45 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x1644bbc io.Copy+0xfc io/io.go:388 # 0x1644b95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232b6e2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x862 github.com/mattermost/mattermost/server/v8/channels/app/file.go:811 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 33554432] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 50331648] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x16a5070 0x16a5071 0x16a508a 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a506f bytes.(*Buffer).String+0x20f bytes/buffer.go:71 # 0x16a5070 github.com/mattermost/squirrel.(*sqlizerBuffer).ToSql+0x210 github.com/mattermost/squirrel@v0.5.0/case.go:42 # 0x16a5089 github.com/mattermost/squirrel.(*caseData).ToSql+0x229 github.com/mattermost/squirrel@v0.5.0/case.go:91 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 5120] @ 0x24e27fc 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16b4d8e 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x49bd85 0x49ec37 0x49ec41 0x4d595c 0x4d596a 0x4d593b 0x4d5903 0x4d2105 0x4d20f3 0x11ec3de 0x11ec3e1 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49ec36 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x49ec40 syscall.readlinkat+0x40 syscall/zsyscall_linux_amd64.go:120 # 0x4d595b syscall.Readlink+0x9b syscall/syscall_linux.go:315 # 0x4d5969 os.readlink.func1+0xa9 os/file_unix.go:450 # 0x4d593a os.ignoringEINTR2[...]+0x7a os/file_posix.go:261 # 0x4d5902 os.readlink+0x42 os/file_unix.go:449 # 0x4d2104 os.Readlink+0x24 os/file.go:430 # 0x4d20f2 os.executable+0x12 os/executable_procfs.go:23 # 0x11ec3dd os.Executable+0x11d os/executable.go:19 # 0x11ec3e0 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x120 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:44 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24f9153 0x24f9126 0x24f9111 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f9152 net/textproto.MIMEHeader.Set+0x10b2 net/textproto/header.go:22 # 0x24f9125 net/http.Header.Set+0x1085 net/http/header.go:40 # 0x24f9110 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1070 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:235 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17b5a06 0x17b59ac 0x17b594d 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b5a05 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x145 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17b59ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17b594c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:46 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53a585 0x112b0cd 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x112b0cc github.com/lib/pq.ParseURL+0xa8c github.com/lib/pq@v1.10.9/url.go:75 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x4ba5e7 0x4ba5cf 0x709f45 0x70d4a2 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba5e6 path.(*lazybuf).append+0x686 path/path.go:39 # 0x4ba5ce path.Clean+0x66e path/path.go:127 # 0x709f44 net/http.Dir.Open+0x44 net/http/fs.go:73 # 0x70d4a1 net/http.serveFile+0xc1 net/http/fs.go:685 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17c1cd0 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1ccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x58f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:896 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [2: 32] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e13d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 240] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0154 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x183ecb5 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x539cff 0x64e892 0x64e86b 0x64eced 0x64cada 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x64e891 strings.Split+0x271 strings/strings.go:361 # 0x64e86a crypto/x509.matchHostnames+0x24a crypto/x509/verify.go:1103 # 0x64ecec crypto/x509.(*Certificate).VerifyHostname+0x30c crypto/x509/verify.go:1189 # 0x64cad9 crypto/x509.(*Certificate).Verify+0x1b9 crypto/x509/verify.go:828 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 12672] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x64fba5 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64fba4 crypto/x509.policiesValid+0x804 crypto/x509/verify.go:1490 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [7: 112] @ 0x54b539 0x54b93a 0x53e4bd 0x53df65 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x53df64 encoding/json.(*decodeState).unmarshal+0x104 encoding/json/decode.go:175 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x182ec98 0x182ec37 0x182ec36 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x182ec97 github.com/mattermost/squirrel.InsertBuilder.Into+0x117 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x182ec36 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x182ec35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:46 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c1c2a 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1c29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a532e 0x1853ab3 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a532d github.com/mattermost/squirrel.CaseBuilder.When+0x10d github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x18589f5 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x18589f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:816 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dbd2d 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dbd2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3082 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x23864a5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x23864a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x81a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:634 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x182c734 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1114112] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b48e8 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b48e7 github.com/mattermost/squirrel.(*updateData).ToSql+0x5c7 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2688] @ 0x26e545a 0x6c7959 0x67b376 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [2: 640] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [8: 1536] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x58b4b3 0x5cd9fb 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x789865 0x789673 0x789b25 0x78d351 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0xbb78d8 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x789864 regexp/syntax.(*parser).maybeConcat+0xc4 regexp/syntax/parse.go:351 # 0x789672 regexp/syntax.(*parser).push+0x252 regexp/syntax/parse.go:321 # 0x789b24 regexp/syntax.(*parser).literal+0x124 regexp/syntax/parse.go:375 # 0x78d350 regexp/syntax.parse+0xbd0 regexp/syntax/parse.go:930 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbb78d7 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:163 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16ab7e3 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x173a2b2 0x173a291 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a2b1 github.com/mattermost/squirrel.SelectBuilder.From+0x171 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x173a290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2546 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186fefd 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fefc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1179 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2448] @ 0xb002f5 0xb002f6 0x483fe1 # 0xb002f4 bufio.(*Scanner).Text+0x154 bufio/scan.go:115 # 0xb002f5 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x155 github.com/hashicorp/go-plugin@v1.7.0/client.go:802 0: 0 [2: 1792] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2649629 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2649628 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:353 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e41ae 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e41ad github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x62d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:700 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0x2510448 0x25103db 0x261a537 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2510447 github.com/mattermost/mattermost/server/public/model.MapToJSON+0x87 github.com/mattermost/mattermost/server/public/model/utils.go:458 # 0x25103da github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:108 # 0x261a536 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x1716 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:758 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [3: 432] @ 0x171f57a 0x1736d1b 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171f579 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:309 # 0x1736d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2215 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b0a6b 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16af67d 0x16af696 0x16b01fd 0x16ae34e 0x16ae4b7 0x16aee9a 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x238f294 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238f293 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10f93 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:271 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x6db667 0x6db600 0x259944d 0x259d051 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6db666 bufio.NewReaderSize+0xc6 bufio/bufio.go:57 # 0x6db5ff mime/multipart.NewReader+0x5f mime/multipart/multipart.go:122 # 0x259944c github.com/mattermost/mattermost/server/v8/channels/api4.multipartReader+0x6c github.com/mattermost/mattermost/server/v8/channels/api4/file.go:71 # 0x259d050 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x20f0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:219 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x16b0918 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x65d817 0x271626f 0x65d785 0x6bf1be 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7e4ebf 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x7e4ebe database/sql.(*DB).conn+0x99e database/sql/sql.go:1440 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x1872aaf 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1872aae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x32e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1872929 0x187283d 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1872928 github.com/mattermost/squirrel.SelectBuilder.From+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x187283c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1400 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x270c5cd 0x2731e0f 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2731e0e crypto/internal/fips140/rsa.encrypt+0x10e crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111f925 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111f924 github.com/lib/pq.(*conn).readExecuteResponse+0x184 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x239c2a7 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x239c2a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x9c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:74 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x25dd346 0x25dd2d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25dd345 github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x305 github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x25dd2d1 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:88 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69c337 0x69c306 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c336 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x2d6 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69c305 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x2a5 crypto/tls/handshake_messages.go:361 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114a028 0x1149fdd 0x1196775 0x24026ac 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2402665 0x2029802 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114a027 net/rpc.(*Client).Call+0xe7 net/rpc/client.go:321 # 0x1149fdc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageHasBeenPosted+0x9c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:241 # 0x1196774 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageHasBeenPosted+0x54 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:107 # 0x24026ab github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func5.1+0x2b github.com/mattermost/mattermost/server/v8/channels/app/post.go:376 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2402664 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func5+0x44 github.com/mattermost/mattermost/server/v8/channels/app/post.go:375 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x461d32 0x4612a5 0x46159d 0x112b00b 0x112af9d 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x112b00a github.com/lib/pq.ParseURL.func1+0x9ca github.com/lib/pq@v1.10.9/url.go:46 # 0x112af9c github.com/lib/pq.ParseURL+0x95c github.com/lib/pq@v1.10.9/url.go:71 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 704] @ 0xbdc345 0xbdc338 0x2402733 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2400c11 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdc344 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdc337 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1050 # 0x2402732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func4+0x52 github.com/mattermost/mattermost/server/v8/channels/app/post.go:301 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2400c10 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1210 github.com/mattermost/mattermost/server/v8/channels/app/post.go:300 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17284cb 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17284ca github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x24a github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b4669 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16b4668 github.com/mattermost/squirrel.(*updateData).ToSql+0x348 github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x535245 0x535350 0x53a585 0x16ab632 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16ab631 github.com/mattermost/squirrel.(*insertData).ToSql+0x271 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x7e8b85 0x48e78b 0x7e8ac5 0x7e8a9f 0x7e90f5 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e8b84 database/sql.(*Conn).grabConn.func1+0x24 database/sql/sql.go:2005 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x7e8ac4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x7e8a9e database/sql.(*Conn).grabConn+0x1e database/sql/sql.go:2004 # 0x7e90f4 database/sql.(*Conn).Raw+0x34 database/sql/sql.go:2077 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x179d3e7 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179d3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x506 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:204 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 1024] @ 0x633c7e 0x633c93 0x6c7914 0x67b376 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x633c7d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x633c92 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6c7913 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:551 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 48] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 98304] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4803 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4802 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x4e2 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:523 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 832] @ 0x26d6fc6 0x26dd436 0x271579a 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26d6fc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:133 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x2715799 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x79 crypto/internal/fips140/ecdsa/hmacdrbg.go:152 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x65d817 0x27162be 0x65d785 0x6bf1be 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x185341b 0x18533e7 0x18533e6 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185341a github.com/mattermost/squirrel.newPart+0xda github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x18533e6 github.com/mattermost/squirrel.SelectBuilder.From+0xa6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18533e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c6b29 0x17c6a6e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c6b28 github.com/mattermost/squirrel.SelectBuilder.From+0x368 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c6a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 155648] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 319488] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2688] @ 0x11e9c77 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9c76 image/png.(*encoder).writeImage+0x436 image/png/writer.go:353 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [3: 192] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2719744] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 576] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 864] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2088960] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 5931008] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x259b80c 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x259b80b github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x8ab github.com/mattermost/mattermost/server/v8/channels/api4/file.go:319 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x5275a6 0x16b4925 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 4864] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5275a6 0x16abafd 0x16ab6b5 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16abafc github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x23c github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 64] @ 0x16abc67 0x16ab6b5 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2080] @ 0x4d8f08 0x4d8a4c 0x569d25 0x568918 0x568919 0x11ec3f0 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d8f07 os.lstatNolog+0x27 os/stat_unix.go:43 # 0x4d8a4b os.Lstat+0x2b os/stat.go:26 # 0x569d24 path/filepath.walkSymlinks+0x164 path/filepath/symlink.go:85 # 0x568917 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x568918 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x11ec3ef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:45 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x604d17 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x604d16 net.(*netFD).connect+0x216 net/fd_unix.go:102 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0x709152 0x23f9c78 0x23f9c81 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9c77 net/http.(*Request).Cookie+0x317 net/http/request.go:452 # 0x23f9c80 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x320 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:181 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x175b716 0x175b687 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b715 github.com/mattermost/squirrel.SelectBuilder.From+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x581392 0x5803e7 0x695714 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x581391 crypto/ecdh.(*x25519Curve).ecdh+0x31 crypto/ecdh/x25519.go:83 # 0x5803e6 crypto/ecdh.(*PrivateKey).ECDH+0x86 crypto/ecdh/ecdh.go:123 # 0x695713 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0xf3 crypto/tls/handshake_client_tls13.go:490 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x1f52bee 0x1f525bb 0x483fe1 # 0x1f52bed github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x4cd github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:155 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [4: 192] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x185178f 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185178e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x48e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:471 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 56] @ 0xbfb57a 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb579 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xdb9 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5632] @ 0x22ceb95 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22ceb94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2312 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c8d8a 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c8d89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x1e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1510 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17f39ed 0x16e3f7a 0x1ffc0ba 0x243566a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17f39ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetUniqueCountForPost+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:157 # 0x16e3f79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10076 # 0x1ffc0b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7988 # 0x2435669 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x189 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:37 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 48] @ 0xadf966 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 16] @ 0x182e72d 0x182b95a 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x173a779 0x173a6b2 0x173a6b1 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a778 github.com/lann/builder.Append+0x638 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a6b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x571 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a6b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2555 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 163840] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [13: 208] @ 0x11c9138 0x11ea902 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11c9137 image.(*NRGBA64).At+0x37 image/image.go:495 # 0x11ea901 image/png.(*encoder).writeImage+0x10c1 image/png/writer.go:498 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 2097152] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2097152] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 4194304] @ 0x11c9945 0x11e53e5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9944 image.NewNRGBA64+0x64 image/image.go:617 # 0x11e53e4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1727a99 0x1727a33 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1727a98 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3f8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1727a32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1071 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16b4d8e 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 512] @ 0x79d7f1 0x79d2cb 0x1829e25 0x17bc1a5 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x17bc1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:361 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x50f21d 0xafb2c5 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2c4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:560 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 336] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 384] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4ae8 0x16b57dd 0x182c706 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1852d0d 0x1852c97 0x16f10c4 0x200b076 0x2392298 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1852d0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:520 # 0x16f10c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13895 # 0x200b075 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10930 # 0x2392297 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func5+0x77 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:100 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 1440] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 144] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 256] @ 0x7e4ebf 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e4ebe database/sql.(*DB).conn+0x99e database/sql/sql.go:1440 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x461e06 0x1b77097 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b77096 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xd6 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:108 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1858792 0x1858738 0x185872e 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1858791 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xd1 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1858737 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x185872d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:804 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 3072] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 672] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x182ee77 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x182ee76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x2f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 352] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x653545 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x653544 crypto/x509.checkSignature+0x1a4 crypto/x509/x509.go:992 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 352] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x266e0b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e0b7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x217 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3433 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16b202c 0x16b20b0 0x175b39f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b202b github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x175b39e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1851ddc 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x184de25 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184de24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:132 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17419a5 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17419a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3002 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184f9b5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:283 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 960] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1872bee 0x1872bff 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1872bed github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x46d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1872bfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2048] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 704] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 800] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x543d27 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x1791c13 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1791c12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1463 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x461d32 0x4612a5 0x46140a 0x1853c25 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853c24 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c1b7f 0x17c1ac6 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c1b7e github.com/mattermost/squirrel.SelectBuilder.From+0x43e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x385 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:892 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x179cfa6 0x179cf4b 0x179cf59 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x179cfa5 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x179cf4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x179cf58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:200 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x26cc333 0x6bf1e5 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x6bf1e4 crypto/tls.(*cipherSuiteTLS13).finishedHash+0x124 crypto/tls/key_schedule.go:39 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 352] @ 0x24075fd 0x2407616 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x24075fc github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x57c github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2407615 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x595 github.com/mattermost/mattermost/server/v8/channels/app/post.go:739 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbd92fe 0x23fff54 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbd92fd github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xbd github.com/mattermost/mattermost/server/public/model/post.go:642 # 0x23fff53 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x553 github.com/mattermost/mattermost/server/v8/channels/app/post.go:231 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 48] @ 0x16a3970 0x1728345 0x17282e6 0x17282f4 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1728344 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17282e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17282f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1117 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x184f11b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x4a31e5 0x52a09f 0x52a998 0x52d41e 0x527593 0x1f52b4d 0x1f525bb 0x483fe1 # 0x4a31e4 time.Time.String+0x184 time/format.go:570 # 0x52a09e fmt.(*pp).handleMethods+0x31e fmt/print.go:673 # 0x52a997 fmt.(*pp).printArg+0x437 fmt/print.go:756 # 0x52d41d fmt.(*pp).doPrintf+0x37d fmt/print.go:1074 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1f52b4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x42c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:155 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 80] @ 0x12575bb 0x125c637 0x1829914 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 128] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x23fed50 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x23fed4f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x8f github.com/mattermost/mattermost/server/v8/channels/app/post.go:98 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x23a2395 0x23a22f5 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a2394 github.com/golang-jwt/jwt/v5.NewWithClaims+0x1cf4 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:49 # 0x23a22f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c54 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 176] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [0: 0] @ 0x1f33c6e 0x1f3442f 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f33c6d runtime/pprof.printStackRecord+0x30d runtime/pprof/pprof.go:562 # 0x1f3442e runtime/pprof.writeHeapInternal+0x4ae runtime/pprof/pprof.go:685 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x535245 0x535350 0x53a585 0x16b4987 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16b4986 github.com/mattermost/squirrel.(*updateData).ToSql+0x666 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x251040f 0x25f0566 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x251040e github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x4e github.com/mattermost/mattermost/server/v8/channels/web/web.go:107 # 0x25f0565 github.com/mattermost/mattermost/server/v8/channels/api4.deleteReaction+0x305 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xc020b8 0xc020b9 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xc020b7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc020b8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 256] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4608] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1024] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 5376] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x1852730 0x18526d7 0x11adcb0 0x483fe1 # 0x185272f github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x30f github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17cb3ae 0x17cb37f 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17cb3ad github.com/mattermost/squirrel.StatementBuilderType.Select+0x4ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17cb37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1670 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x185013e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x185013d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:322 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 11520] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 20480] @ 0x6cf605 0x6cf5d7 0x6cf57b 0x10d4ec5 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6cf604 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x6cf5d6 bufio.NewReader+0x76 bufio/bufio.go:63 # 0x6cf57a net/textproto.NewConn+0x1a net/textproto/textproto.go:67 # 0x10d4ec4 net/smtp.(*Client).StartTLS+0x164 net/smtp/smtp.go:163 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 480] @ 0x79cff2 0x10df6ab 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0x10df6aa github.com/jaytaylor/html2text.FromHTMLNode+0x12a github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:81 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x23a467a 0x238ef05 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x23a4679 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x238ef04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10c04 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x271638e 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x18563e5 0x18562e4 0x18562cf 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18563e4 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18562e3 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2a3 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18562ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:704 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x17357ff 0x1735746 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17357fe github.com/mattermost/squirrel.SelectBuilder.From+0x29e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1735745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2071 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 9216] @ 0x64702e 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64702d crypto/x509.parseCertificate+0x110d crypto/x509/parser.go:1049 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x2732f25 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x22d79ec 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22d79eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x18b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3238 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x270ec4b 0x2710c18 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710c17 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x2d7 crypto/internal/fips140/bigmod/nat.go:1053 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 2240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x62159d 0x6215be 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x62159c net.newUDPConn+0xbc net/udpsock.go:281 # 0x6215bd net.(*sysDialer).dialUDP+0xdd net/udpsock_posix.go:216 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x207c85a 0x208de34 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x207c859 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0xd9 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:465 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4316 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4315 encoding/gob.(*Decoder).Decode+0x135 encoding/gob/decoder.go:197 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [2: 4608] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1851ddc 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b6b4c 0x16b6a7b 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x17370d6 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17370d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x335 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x1857da9 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1857da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:761 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0xc08f4c 0xc08e93 0x1658510 0x1657179 0x1657145 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f4b github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xcb github.com/mattermost/mattermost/server/public/model/user.go:732 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x165850f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:45 # 0x1657178 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x1657144 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:146 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x24277f9 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x24277f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x118 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:691 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x539fb5 0x22af618 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af617 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:302 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x253c73e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x253c73d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x54362a 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543629 encoding/json.(*decodeState).arrayInterface+0xa9 encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x185159c 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185159b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:416 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 480] @ 0x2716257 0x27332f5 0x2738366 0x2737930 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x273792f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 192] @ 0x5be9e5 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 48] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x479c9a 0x479caf 0xbdd070 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd06f github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x2f github.com/mattermost/mattermost/server/public/model/post_list.go:81 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x175c51d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:496 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x674135 0x696e94 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x674134 crypto/tls.signedMessage+0x194 crypto/tls/auth.go:94 # 0x696e93 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x513 crypto/tls/handshake_client_tls13.go:689 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 704] @ 0x79d2d8 0x1829e25 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d2d7 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:600 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb0fc90 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fc8f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x28f github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb0fbd0 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fbcf github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x1cf github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:222 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x461f4a 0xb0b9fd 0xb0b725 0xb11ea5 0xb124dd 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0b9fc github.com/mattermost/mattermost/server/public/shared/markdown.trimTrailingCharactersFromLink+0x5c github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:174 # 0xb0b724 github.com/mattermost/mattermost/server/public/shared/markdown.parseURLAutolink+0x244 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:104 # 0xb11ea4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0xe4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:509 # 0xb124dc github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x13c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17cfdbd 0x17cfd53 0x17d8870 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17cfdbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x111c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17cfd52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).search+0x10b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2155 # 0x17d886f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SearchPostsForUser.func1+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2822 0: 0 [1: 2688] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17cfdbd 0x17cfd53 0x17d8870 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17cfdbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x111c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17cfd52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).search+0x10b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2155 # 0x17d886f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SearchPostsForUser.func1+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2822 0: 0 [1: 65536] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1048576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1056768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 892928] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 892928] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 19072] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 229376] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 229376] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 385024] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 385024] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 20480] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177f876 0x177f812 0x16d123a 0x1fab63a 0x1fe71fa 0x233519d 0x25a31ec 0x25a2eba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177f875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177f811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:669 # 0x16d1239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5117 # 0x1fab639 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x659 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x1fe71f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4166 # 0x233519c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/app/file.go:1472 # 0x25a31eb github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:882 # 0x25a2eb9 github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:834 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x6317c5 0x6314ad 0x23f9f08 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6317c4 strings.(*Builder).WriteString+0x4e4 strings/builder.go:108 # 0x6314ac net/url.Values.Encode+0x1cc net/url/url.go:1017 # 0x23f9f07 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5a7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:205 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x1858725 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x1858724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:803 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [5: 80] @ 0x54b539 0x54b93a 0x53e4bd 0x54011a 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x540119 encoding/json.(*decodeState).object+0xb39 encoding/json/decode.go:746 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1779c65 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x11e2f97 0x11e2f5f 0x11e2ff6 0x19a3350 0x232da33 0x483fe1 # 0x11e2f96 bufio.NewWriterSize+0x136 bufio/bufio.go:600 # 0x11e2f5e bufio.NewWriter+0xfe bufio/bufio.go:609 # 0x11e2ff5 image/jpeg.Encode+0x195 image/jpeg/writer.go:584 # 0x19a334f github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x8f github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 3473408] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 448] @ 0x543d27 0x1b79265 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x1b79264 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x64 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:86 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x185a725 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185a724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1062 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x17ba53a 0x17ba377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17ba539 github.com/mattermost/squirrel.InsertBuilder.Columns+0x15d9 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17ba376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x17bef0d 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17bef0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x146c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:676 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x25df3d8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x25df3d7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd37 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:239 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 2080] @ 0x20466fe 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20466fd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x4bd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:255 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x172847f 0x17283c6 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x172847e github.com/mattermost/squirrel.SelectBuilder.From+0x1fe github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17283c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1119 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x543d27 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x2499d72 0x249ae45 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x2499d71 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1269 # 0x249ae44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xac4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1417 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x74e86b 0x5732f5 0x5735ad 0x754d0d 0x7549ea 0x20a6d6f 0x1a0c7ef 0x1a0c12e 0x1a087d8 0x1a09474 0x1a918ac 0x1a9189f 0x24e20df 0x24e3b66 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e86a net/http.(*chunkWriter).Write+0x8a net/http/server.go:383 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x1a0c7ee github.com/klauspost/compress/flate.(*huffmanBitWriter).writeTokens+0x40e github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:919 # 0x1a0c12d github.com/klauspost/compress/flate.(*huffmanBitWriter).writeBlockDynamic+0x86d github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:768 # 0x1a087d7 github.com/klauspost/compress/flate.(*compressor).storeFast+0x277 github.com/klauspost/compress@v1.18.0/flate/deflate.go:767 # 0x1a09473 github.com/klauspost/compress/flate.(*compressor).close+0x33 github.com/klauspost/compress@v1.18.0/flate/deflate.go:891 # 0x1a918ab github.com/klauspost/compress/flate.(*Writer).Close+0xcb github.com/klauspost/compress@v1.18.0/flate/deflate.go:991 # 0x1a9189e github.com/klauspost/compress/gzip.(*Writer).Close+0xbe github.com/klauspost/compress@v1.18.0/gzip/gzip.go:281 # 0x24e20de github.com/klauspost/compress/gzhttp/writer/gzkp.(*pooledWriter).Close+0x1e github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:54 # 0x24e3b65 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x345 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:374 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x1741f55 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1741f54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 6912] @ 0x4b3ee5 0x4b2b8a 0x4b3831 0x4b3914 0x4b1470 0x124b57c 0x239fb56 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x4b3ee4 time.readFile+0x1e4 time/zoneinfo_read.go:589 # 0x4b2b89 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4b3830 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4b3913 time.loadLocation+0x93 time/zoneinfo_read.go:533 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239fb55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x195 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:359 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17c1c2a 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1c29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x177b226 0x177b1cb 0x177b1d9 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x177b225 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x105 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x177b1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x177b1d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:353 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1817c58 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817c57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f197 0x182f0ef 0x182f0ee 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f196 github.com/lann/builder.Append+0x616 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182f0ee github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x56e github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x182f0ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:50 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x6317c5 0x6314ad 0x23f9f08 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6317c4 strings.(*Builder).WriteString+0x4e4 strings/builder.go:108 # 0x6314ac net/url.Values.Encode+0x1cc net/url/url.go:1017 # 0x23f9f07 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5a7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:205 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x4ba53b 0x4ba53c 0x4ba94a 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba53a path.(*lazybuf).string+0x5da path/path.go:50 # 0x4ba53b path.Clean+0x5db path/path.go:137 # 0x4ba949 path.Join+0x189 path/path.go:172 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x26cc333 0x26dd052 0x27330fc 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x27330fb crypto/internal/fips140/hkdf.Expand[...]+0x23b crypto/internal/fips140/hkdf/hkdf.go:44 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 256] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184f934 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x5be9e5 0x69c337 0x69c306 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c336 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x2d6 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69c305 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x2a5 crypto/tls/handshake_messages.go:361 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 3840] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x897945 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x897944 github.com/mattermost/go-i18n/i18n/language.Parse+0x544 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 1664] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 448] @ 0x12578b9 0x125c637 0x182b7ac 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 32] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18077b7 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18077b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:215 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b499a 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4999 github.com/mattermost/squirrel.(*updateData).ToSql+0x679 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x177b38d 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177b38c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x26c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x16b1585 0x16b15db 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 1680] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x175c66d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c66c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:502 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x17ba53a 0x17ba377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x17ba539 github.com/mattermost/squirrel.InsertBuilder.Columns+0x15d9 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17ba376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x17b8bcc 0x1853725 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x1853724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x543d27 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x173edfd 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x173edfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2811 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xc1788b 0x2048b50 0x2047f27 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xc1788a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 96] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x22d715d 0x22d70f7 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22d715c github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x41c github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x22d70f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3201 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x609719 0x61b891 0x61b872 0x6150cf 0xb650d7 0xb68ab5 0x204817d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x609718 net.IP.String+0xd8 net/ip.go:315 # 0x61b890 net.ipEmptyString+0x50 net/ip.go:332 # 0x61b871 net.(*TCPAddr).String+0x31 net/tcpsock.go:48 # 0x6150ce net.(*OpError).Error+0x6e net/net.go:505 # 0xb650d6 github.com/gorilla/websocket.hideTempErr+0x76 github.com/gorilla/websocket@v1.5.3/conn.go:191 # 0xb68ab4 github.com/gorilla/websocket.(*Conn).NextReader+0x174 github.com/gorilla/websocket@v1.5.3/conn.go:1011 # 0x204817c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:466 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1816a75 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1816a74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:92 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 320] @ 0x7a00bd 0x2073f31 0x2073ebd 0x20713b4 0x207078c 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7a00bc regexp.(*Regexp).FindStringSubmatch+0xbc regexp/regexp.go:1044 # 0x2073f30 github.com/Masterminds/semver/v3.coerceNewVersion+0x30 github.com/Masterminds/semver/v3@v3.4.0/version.go:237 # 0x2073ebc github.com/Masterminds/semver/v3.NewVersion+0x31c github.com/Masterminds/semver/v3@v3.4.0/version.go:165 # 0x20713b3 github.com/Masterminds/semver/v3.parseConstraint+0x3d3 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:286 # 0x207078b github.com/Masterminds/semver/v3.NewConstraint+0x32b github.com/Masterminds/semver/v3@v3.4.0/constraints.go:47 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111d4a5 0x111d1cf 0x23ed142 0x118c265 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x23ed141 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsClose+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:307 # 0x118c264 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsClose+0x24 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:344 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 480] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0xb12666 0xb1271c 0xb1261b 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb12665 container/list.New+0x65 container/list/list.go:62 # 0xb1271b github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb1261a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x4aaf08 0x92ef5d 0x48ea11 0x93171e 0x935726 0x935abe 0x11992fb 0x113e77f 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x92ef5c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x935725 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x935abd github.com/hashicorp/yamux.(*Stream).Close+0x1dd github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x11992fa github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2fa github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x24244ad 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24244ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x44c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:305 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 880] @ 0xb002f5 0xb002f6 0x483fe1 # 0xb002f4 bufio.(*Scanner).Text+0x154 bufio/scan.go:115 # 0xb002f5 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x155 github.com/hashicorp/go-plugin@v1.7.0/client.go:802 0: 0 [3: 144] @ 0x23336ec 0x2412cd8 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23336eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreviewForInfos+0x8b github.com/mattermost/mattermost/server/v8/channels/app/file.go:1262 # 0x2412cd7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x197 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x270e339 0x270e2f6 0x270e2fa 0x270e93a 0x270d39c 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270e939 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:741 # 0x270d39b crypto/internal/fips140/bigmod.rr+0x25b crypto/internal/fips140/bigmod/nat.go:511 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1152] @ 0x49bad5 0x607f9f 0x6072b9 0x11afb17 0x11b0bf8 0x11b0503 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x49bad4 syscall.ParseNetlinkRouteAttr+0x1f4 syscall/netlink_linux.go:176 # 0x607f9e net.interfaceTable+0x21e net/interface_linux.go:34 # 0x6072b8 net.Interfaces+0x18 net/interface.go:114 # 0x11afb16 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0x36 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:42 # 0x11b0bf7 github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0xb7 github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x11b0502 github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x222 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:154 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 32] @ 0x16b5c50 0x1830197 0x1830171 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b5c4f github.com/mattermost/squirrel.UpdateBuilder.Table+0x10f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1830196 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:117 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x50f21d 0x53ec1d 0x5413d0 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x5413cf encoding/json.(*decodeState).literalStore+0x1af encoding/json/decode.go:859 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5437e7 0x5437d0 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x24ab4b4 0x24ab44a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24ab4b3 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x573 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x24ab449 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x509 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3970 0x1736e85 0x1736e28 0x1736e27 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1736e84 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1736e27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1736e26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2219 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb161ed 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb161ec github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Continuation+0x6c github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:27 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x7999eb 0x7999dc 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7999ea regexp.newQueue+0x4a regexp/onepass.go:141 # 0x7999db regexp.makeOnePass+0x3b regexp/onepass.go:300 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184defc 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x539cff 0x64e85d 0x64e843 0x64eced 0x64cada 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x64e85c strings.Split+0x23c strings/strings.go:361 # 0x64e842 crypto/x509.matchHostnames+0x222 crypto/x509/verify.go:1102 # 0x64ecec crypto/x509.(*Certificate).VerifyHostname+0x30c crypto/x509/verify.go:1189 # 0x64cad9 crypto/x509.(*Certificate).Verify+0x1b9 crypto/x509/verify.go:828 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x4125d4 0x76cb17 0x76d9bc 0x76c318 0x76c155 0x483fe1 # 0x76cb16 net/http.(*persistConn).addTLS+0x1d6 net/http/transport.go:1692 # 0x76d9bb net/http.(*Transport).dialConn+0x99b net/http/transport.go:1790 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [4: 64] @ 0x16b0eeb 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x543d27 0x1b7922a 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x1b79229 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:81 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [11: 1408] @ 0x619566 0x61953d 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [6: 3072] @ 0x633c7e 0x633c93 0x6c7914 0x67b376 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x633c7d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x633c92 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6c7913 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:551 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 384] @ 0x2716257 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 192] @ 0x69cae5 0x69cab5 0x69c9c1 0x5be6e2 0x5bea71 0x69c2ca 0x69c147 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69cae4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69cab4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x114 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69c9c0 crypto/tls.(*clientHelloMsg).marshalMsg.func18.1+0x20 crypto/tls/handshake_messages.go:353 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69c2c9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x269 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69c146 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xe6 crypto/tls/handshake_messages.go:351 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c788e 0x16ddb92 0x1ff4e4f 0x22b0646 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c788d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x16ddb91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8348 # 0x1ff4e4e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6661 # 0x22b0645 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 224] @ 0x64702e 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64702d crypto/x509.parseCertificate+0x110d crypto/x509/parser.go:1049 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a24c5 0x16a3955 0x16a3bc5 0x16a53cd 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a53cc github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2388712 0x23886aa 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2388711 github.com/mattermost/mattermost/server/v8/channels/app.useAddMentionsHook+0xa411 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:50 # 0x23886a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa3a9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:697 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 864] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x461d32 0x4612a5 0x4614c5 0x1b792ed 0x1b79126 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x1b792ec github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [6: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 172032] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17e1714 0x17e1671 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e1713 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1f3 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17e1670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17c9f95 0x17c917c 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c9f94 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xf34 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c917b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1578 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb1428b 0xb1348e 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1428a github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x64a github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:111 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17ad3b8 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17ad3b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:213 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 1344] @ 0x5aeaba 0x5aead0 0x271626f 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [10: 14080] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x12578b9 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x173a590 0x173a561 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x173a58f github.com/mattermost/squirrel.StatementBuilderType.Update+0x44f github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x173a560 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x420 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2553 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [10: 2080] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24a7a3b 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7a3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2617 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x651545 0x651395 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x651544 crypto/x509.(*policyGraph).insert+0x21a4 crypto/x509/verify.go:1310 # 0x651394 crypto/x509.policiesValid+0x1ff4 crypto/x509/verify.go:1499 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c1cd0 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1ccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x58f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:896 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x125362e 0x24f0f33 0x24f0cd5 0x266faa2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125362d github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x2ad github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:41 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x24f0cd4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x266faa1 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x9c1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3515 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 7744] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x681df6 0x681b78 0x68d1db 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x681df5 crypto/tls.(*Conn).unmarshalHandshakeMessage+0xb5 crypto/tls/conn.go:1125 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x68d1da crypto/tls.(*Conn).clientHandshake+0x4fa crypto/tls/handshake_client.go:340 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 144] @ 0x461f4a 0x10e115c 0x10e0ff0 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e115b github.com/jaytaylor/html2text.(*textifyTraverseContext).emit+0x9b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:443 # 0x10e0fef github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x6f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:417 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17be0df 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17be0de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x63e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:595 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x4089a5 0x4088bd 0x41ca10 0x47a145 0xc17075 0xc17058 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0xc17074 maps.Clone[...]+0x34 maps/maps.go:55 # 0xc17057 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:295 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 216] @ 0xb0d789 0xb0ccf7 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d788 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb0ccf6 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7d6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x24e27fc 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4cf3 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4cf2 github.com/mattermost/squirrel.(*updateData).ToSql+0x9d2 github.com/mattermost/squirrel@v0.5.0/update.go:137 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 4480] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x79d536 0x79cfe5 0xc151f1 0x240081e 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853995 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853994 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x654 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17cb21b 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb21a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x31a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1667 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c1ac5 0x17c1a96 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c1ac4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x384 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:891 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x175ba7d 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ba7c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcbc github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17be3fb 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17be3fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x95a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:614 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b6b4c 0x16b6a7b 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 192] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x17358ac 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17358ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x34b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2074 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f73d72 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f73d71 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xb1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:37 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x54e3fa 0x23a6a6b 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x23a6a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x60a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0x599b65 0x599add 0x5bc8ec 0x5bc8e7 0x5bc765 0x646148 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x599b64 math/big.nat.make+0xa4 math/big/nat.go:66 # 0x599adc math/big.nat.setBytes+0x1c math/big/nat.go:1332 # 0x5bc8eb math/big.(*Int).SetBytes+0xcb math/big/int.go:512 # 0x5bc8e6 vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xc6 vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5bc764 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x404 vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x646147 crypto/x509.parseCertificate+0x227 crypto/x509/parser.go:923 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17cb469 0x17cb3af 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17cb468 github.com/mattermost/squirrel.SelectBuilder.From+0x568 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17cb3ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1671 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17359b4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17359b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x2029771 0x24306aa 0x243060f 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2029770 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:13 # 0x24306a9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Go+0x689 github.com/mattermost/mattermost/server/v8/channels/app/server.go:758 # 0x243060e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x5ee github.com/mattermost/mattermost/server/v8/channels/app/preference.go:79 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 896] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb72918 0xb7279e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72917 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x117 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:122 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [15: 6240] @ 0x23a50e5 0x23a5cff 0x483fe1 # 0x23a50e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:339 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173a687 0x173a592 0x173a591 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173a686 github.com/lann/builder.Append+0x546 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173a591 github.com/mattermost/squirrel.UpdateBuilder.Set+0x451 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173a590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x450 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2554 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173682f 0x16c59bd 0x1fd9f43 0x22ce093 0x240eeb0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173682e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x16c59bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2069 # 0x1fd9f42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1729 # 0x22ce092 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2243 # 0x240eeaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1411 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a99fe 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x16b07a8 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5ff4e5 0x6002db 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x5ff4e4 net.(*dnsConfig).nameList+0x104 net/dnsclient_unix.go:517 # 0x6002da net.(*Resolver).goLookupIPCNAMEOrder+0x39a net/dnsclient_unix.go:677 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x176b0f2 0x16ccd5b 0x1fe23bd 0x245a7da 0x2459df7 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x176b0f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:134 # 0x16ccd5a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3978 # 0x1fe23bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3258 # 0x245a7d9 github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x39 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1222 # 0x2459df6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1150 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x18696c9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18696c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:612 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 811008] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x264920f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x264920e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x68e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:327 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cd846 0x10cd83e 0x1f77c22 0x1f7bec5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7bec4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:130 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x179f645 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x179f644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:363 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [5: 240] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x1837c65 0x1837ba4 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837c64 github.com/lann/builder.Append+0x384 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837ba3 github.com/mattermost/squirrel.InsertBuilder.Values+0x2c3 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x1121d75 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x51ab97 0xb083c9 0x113e93d 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x51ab96 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16ab7e3 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x4bab3a 0x48ea11 0x4bb908 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74ea69 0x754e25 0x755be5 0x483fe1 # 0x4bab39 io.init.func1+0x19 io/io.go:657 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4bb907 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74ea68 net/http.(*chunkWriter).close+0x28 net/http/server.go:408 # 0x754e24 net/http.(*response).finishRequest+0x64 net/http/server.go:1717 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [14: 336] @ 0x933486 0x932a14 0x9328d8 0x483fe1 # 0x933485 github.com/hashicorp/yamux.(*Session).handlePing+0x105 github.com/hashicorp/yamux@v0.1.2/session.go:637 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [4: 64] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x16b0918 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x5811f7 0x581226 0x6956f0 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5811f6 bytes.Clone+0x76 bytes/bytes.go:1412 # 0x581225 crypto/ecdh.(*x25519Curve).NewPublicKey+0xa5 crypto/ecdh/x25519.go:78 # 0x6956ef crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0xcf crypto/tls/handshake_client_tls13.go:485 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 160] @ 0x16aac85 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [22: 25344] @ 0x25050f1 0x24f8628 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25050f0 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x30 github.com/mattermost/mattermost/server/v8/channels/web/params.go:128 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x1117705 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x1117704 github.com/lib/pq.(*conn).simpleQuery+0x304 github.com/lib/pq@v1.10.9/conn.go:728 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1830fce 0x1830f73 0x1830f81 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1830fcd github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1830f72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1830f80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:163 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x17b5b27 0x17b5af3 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5b26 github.com/mattermost/squirrel.newPart+0x266 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17b5af2 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 24] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1280] @ 0x12578b9 0x125c637 0x182b7ac 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 480] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [6: 96] @ 0x16b0005 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 128] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1536] @ 0x48edbc 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54547d 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54547c encoding/json.addrMarshalerEncoder+0x1dc encoding/json/encode.go:475 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 768] @ 0x5275a6 0xbc1b88 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xbc1b87 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x1c7 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x6cf347 0x6cf172 0x6ccfa8 0x22ad628 0x22ad60f 0x24f95ef 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x6ccfa7 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x22ad627 net/http.Header.Get+0x267 net/http/header.go:50 # 0x22ad60e github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x24e github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:478 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 480] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x754df2 0x755be5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754df1 net/http.(*response).finishRequest+0x31 net/http/server.go:1712 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2816] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 32] @ 0xc10547 0xc1050d 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xc10546 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1c6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc1050c github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x18c github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:836 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [5: 1920] @ 0x8fdd06 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdd05 golang.org/x/net/html.(*Tokenizer).Token+0x205 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x2732f25 0x2738225 0x6befee 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2732f24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:27 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0x461d32 0x4612a5 0x46140a 0x569d12 0x568918 0x568919 0x11ec3f0 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x569d11 path/filepath.walkSymlinks+0x151 path/filepath/symlink.go:81 # 0x568917 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x568918 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x11ec3ef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:45 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x250e6bf 0x250cde5 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250e6be github.com/mattermost/mattermost/server/v8/channels/web.renderUnsupportedBrowser+0x5de github.com/mattermost/mattermost/server/v8/channels/web/unsupported_browser.go:79 # 0x250cde4 github.com/mattermost/mattermost/server/v8/channels/web.root+0x144 github.com/mattermost/mattermost/server/v8/channels/web/static.go:65 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 14592] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1536] @ 0x48edbc 0x48ec06 0x48e97c 0x54425e 0x543c53 0x2611f85 0x2611f86 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x543c52 encoding/json.Marshal+0x52 encoding/json/encode.go:172 # 0x2611f84 github.com/mattermost/mattermost/server/public/model.ToJSON+0x1624 github.com/mattermost/mattermost/server/public/model/utils.go:574 # 0x2611f85 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1625 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1852305 0x185226c 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852304 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x324 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [17: 2176] @ 0x48f312 0x48e925 0x24e4a78 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x24e4a77 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:512 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 576] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184f165 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x184f164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 1920] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 40] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 224] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x1f81b27 0x22ceb46 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22ceb45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x65 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 288] @ 0x16aee3c 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x479c9a 0x479caf 0x242f585 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242f584 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:29 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x17c6a3e 0x17c69e4 0x17c69da 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17c6a3d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x27d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c69e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x223 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c69d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1335 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 24] @ 0x1816a19 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1816a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:88 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 2112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x4d4f2f 0x4d527d 0x4d2fbe 0x1644b57 0x1643e73 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4d4f2e os.newFile+0x4e os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x1644b56 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x96 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:160 # 0x1643e72 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x6234d9 0x605ba5 0x6240b6 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x6234d8 net.sockaddrToUnix+0x38 net/unixsock_posix.go:54 # 0x605ba4 net.(*netFD).accept+0x304 net/fd_unix.go:189 # 0x6240b5 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [3: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 7744] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1858a3a 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1858a39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:816 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 624] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1856530 0x1856435 0x1856423 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x185652f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1856434 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3f4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1856422 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x3e2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:705 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853a5e 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 4320] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xc4359f 0xc43214 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc4359e github.com/gorilla/mux.extractVars+0x4fe github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0xc43213 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x173 github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6311e5 0x6324d9 0x6324af 0x2687bbf 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2687bbe github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5fe github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17c6c5a 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6c59 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x499 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x5f049a 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f0499 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x173881f 0x16c5527 0x1fd99ad 0x1f6ef86 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173881e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2359 # 0x16c5526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2000 # 0x1fd99ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1665 # 0x1f6ef85 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:166 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x24e43f4 0x24e4397 0x24e4365 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24e43f3 net/textproto.MIMEHeader.Add+0xd3 net/textproto/header.go:15 # 0x24e4396 net/http.Header.Add+0x76 net/http/header.go:31 # 0x24e4364 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:483 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x17115b0 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x17115af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 4608] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x1727a75 0x1727a33 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727a74 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1727a32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1071 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x703979 0x70397a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x703978 context.WithDeadline+0x158 context/context.go:617 # 0x703979 net/http.setRequestCancel+0x159 net/http/client.go:373 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 2080] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 196608] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3840] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x203fbac 0x203fb97 0x2042ba5 0x20424d0 0x483fe1 # 0x203fbab github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x4b github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x203fb96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x2042ba4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x324 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:443 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [17: 4896] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1844713 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1844712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x452 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 336] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173917f 0x16c6747 0x1fdad2d 0x1f6f426 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173917e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2424 # 0x16c6746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2258 # 0x1fdad2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1873 # 0x1f6f425 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:213 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7a3b5 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eabf1 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eabf0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x539cff 0x207afe5 0x207af8e 0x207c8f9 0x208de34 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x207afe4 strings.SplitN+0x484 strings/strings.go:333 # 0x207af8d github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x42d github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:312 # 0x207c8f8 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x178 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:467 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 3120] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117825 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117824 github.com/lib/pq.(*conn).simpleQuery+0x424 github.com/lib/pq@v1.10.9/conn.go:752 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 3584] @ 0x64702e 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64702d crypto/x509.parseCertificate+0x110d crypto/x509/parser.go:1049 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x76cb90 0x76d9bc 0x76c318 0x76c155 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x76cb8f net/http.(*persistConn).addTLS+0x24f net/http/transport.go:1695 # 0x76d9bb net/http.(*Transport).dialConn+0x99b net/http/transport.go:1790 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [4: 96] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 176] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x2388e7e 0x238887f 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2388e7d github.com/mattermost/mattermost/server/v8/channels/app.usePostedAckHook+0xab7d github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:80 # 0x238887e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa57e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:714 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 26112] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1816af8 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1816af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:93 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1904] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x17b058c 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b058b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 176] @ 0x933556 0x483fe1 # 0x933555 github.com/hashicorp/yamux.(*Session).handlePing.func1+0x35 github.com/hashicorp/yamux@v0.1.2/session.go:638 0: 0 [3: 2688] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17e553e 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17e553d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:56 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x563ac5 0x60ffd2 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x60ffd1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 72] @ 0x535245 0x535350 0x53a585 0x569b7f 0x1643e5c 0x1643d93 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x1643e5b path/filepath.Join+0xdb path/filepath/path.go:131 # 0x1643d92 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x12 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461e06 0x2733093 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 1024] @ 0x58b4b3 0x5cd9fb 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18444af 0x184448e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18444ae github.com/mattermost/squirrel.SelectBuilder.From+0x1ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184448d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1167 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 224] @ 0x72e9fd 0x72e9e3 0x72e257 0x70fd48 0x483fe1 # 0x72e9fc net/http.http2NewFramer+0x75c net/http/h2_bundle.go:2002 # 0x72e9e2 net/http.(*http2Transport).newClientConn+0x742 net/http/h2_bundle.go:8288 # 0x72e256 net/http.(*http2Transport).NewClientConn+0x36 net/http/h2_bundle.go:8240 # 0x70fd47 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:923 0: 0 [2: 480] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x16abc67 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f197 0x182f0ef 0x182f0ee 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f196 github.com/lann/builder.Append+0x616 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182f0ee github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x56e github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x182f0ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:50 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 48] @ 0x6cf347 0x6cf157 0x2611bb2 0x2611ba1 0x2611b83 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf156 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:656 # 0x2611bb1 net/textproto.MIMEHeader.Set+0x1251 net/textproto/header.go:22 # 0x2611ba0 net/http.Header.Set+0x1240 net/http/header.go:40 # 0x2611b82 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1222 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:198 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1121d75 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x184fc7d 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc7c github.com/mattermost/squirrel.SelectBuilder.Join+0x55c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1408] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x2687bbf 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2687bbe github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5fe github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x179d3e7 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179d3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x506 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:204 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17c69d1 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c69d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1333 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x17c501a 0x17c4ce3 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x16b65a5 0x16b6573 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b65a4 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2041e9f 0x2053ac5 0x205182a 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2041e9e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).QueueSetStatusOffline+0x7e github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:384 # 0x2053ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:619 # 0x2051829 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).ProcessAsync.func1.2+0x49 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:491 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 672] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 24] @ 0x408f2e 0x40d905 0x26119a5 0x2611916 0x26118f8 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x26119a4 net/textproto.MIMEHeader.Set+0x1044 net/textproto/header.go:22 # 0x2611915 net/http.Header.Set+0xfb5 net/http/header.go:40 # 0x26118f7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf97 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:192 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xb18ff7 0xc13c73 0x24f82a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1837b2f 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837b2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x24e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 10240] @ 0x1a0a405 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0xaeb24a 0xaeb210 0xaeb29a 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeb249 encoding/gob.(*encBuffer).writeByte+0x3a9 encoding/gob/encode.go:51 # 0xaeb20f encoding/gob.(*encoderState).encodeUint+0x36f encoding/gob/encode.go:109 # 0xaeb299 encoding/gob.(*Encoder).encodeInterface+0x3f9 encoding/gob/encode.go:408 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1872c19 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x498 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 4224] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2433024] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1e6f 0x18696a5 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1e6e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x18696a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:612 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x16ae766 0x16b7a3c 0x16ab7e3 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 896] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 96] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 96] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x25439af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25439ae github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x64e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1692 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc65 0x110cc55 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc64 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:168 # 0x110cc54 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:84 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2652728 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652727 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x427 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1083 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2809856] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2652728 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652727 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x427 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1083 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2162688] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2652728 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2652727 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x427 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1083 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 7168] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdcac5 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x49b226 0x608445 0x607165 0x11afbc6 0x11b0bf8 0x11b0503 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x49b225 syscall.NetlinkRIB+0x4e5 syscall/netlink_linux.go:97 # 0x608444 net.interfaceAddrTable+0x24 net/interface_linux.go:124 # 0x607164 net.(*Interface).Addrs+0x24 net/interface.go:92 # 0x11afbc5 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0xe5 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:48 # 0x11b0bf7 github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0xb7 github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x11b0502 github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x222 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:154 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 176] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1568] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b6b4c 0x16b6a7b 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 72] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16b6adb 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b6ada github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x9a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829e57 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829e56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:140 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179c9d2 0x179c8cf 0x179c8b6 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179c9d1 github.com/lann/builder.Append+0x711 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179c8ce github.com/mattermost/squirrel.UpdateBuilder.Set+0x60e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179c8b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x5f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:157 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x6311e5 0x7496dc 0x7496aa 0x749953 0x749d7b 0x261102c 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x7496db net/url.ParseQuery+0x37b net/url/url.go:966 # 0x7496a9 net/http.(*Request).ParseForm+0x349 net/http/request.go:1345 # 0x749952 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x749d7a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x261102b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6cb github.com/mattermost/mattermost/server/v8/channels/api4/system.go:160 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3970 0x16b5c90 0x1830197 0x1830171 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1830196 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:117 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 80] @ 0x1837a8a 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837a89 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1a9 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x565d65 0xc40d1f 0xc3e48a 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0xc40d1e github.com/gorilla/mux.requestWithRoute+0x5e github.com/gorilla/mux@v1.8.1/mux.go:454 # 0xc3e489 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x53618e 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53618d strings.(*Replacer).build+0x18d strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f197 0x182f0ef 0x182f0ee 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f196 github.com/lann/builder.Append+0x616 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182f0ee github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x56e github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x182f0ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:50 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54771b 0x544613 0x5443d2 0x54eb70 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54771a encoding/json.mapEncoder.encode+0x49a encoding/json/encode.go:782 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb0fd13 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb16936 0xb16840 0xb162eb 0xb0c3bb 0xb0d1af 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb16935 strings.(*Builder).WriteString+0x1b5 strings/builder.go:108 # 0xb1683f github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbf github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb162ea github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x8a github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:46 # 0xb0c3ba github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x7a github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb0d1ae github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0xc8e github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:82 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x10ce745 0x10ce739 0x10ce6f5 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203f68c 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce744 container/list.(*List).insertValue+0x424 container/list/list.go:104 # 0x10ce738 container/list.(*List).PushFront+0x418 container/list/list.go:146 # 0x10ce6f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203f68b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9ab github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x6459e5 0x642030 0x64436f 0x6442a8 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6459e4 crypto/x509.processExtensions.parseSANExtension.func1+0x64 crypto/x509/parser.go:384 # 0x64202f crypto/x509.forEachSAN+0xcf crypto/x509/parser.go:366 # 0x64436e crypto/x509.parseSANExtension+0x2ee crypto/x509/parser.go:375 # 0x6442a7 crypto/x509.processExtensions+0x227 crypto/x509/parser.go:689 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 7040] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x250d505 0x250d493 0x250d475 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250d504 net/textproto.MIMEHeader.Set+0x864 net/textproto/header.go:22 # 0x250d492 net/http.Header.Set+0x7f2 net/http/header.go:40 # 0x250d474 github.com/mattermost/mattermost/server/v8/channels/web.root+0x7d4 github.com/mattermost/mattermost/server/v8/channels/web/static.go:100 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0005 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1872825 0x18727c6 0x187283d 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1872824 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18727c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x187283c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1400 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 96] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 4096] @ 0x633c7e 0x633c93 0x6c7914 0x67b376 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x633c7d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x633c92 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6c7913 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:551 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b0eeb 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0xaeb429 0xaeb281 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeb428 encoding/gob.(*encBuffer).WriteString+0x588 encoding/gob/encode.go:60 # 0xaeb280 encoding/gob.(*Encoder).encodeInterface+0x3e0 encoding/gob/encode.go:409 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x175b616 0x175b5e4 0x175b5f2 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b615 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x855 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x175b5e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x823 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x175b5f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x831 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x48f312 0x48e925 0x543d87 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x543d86 encoding/json.Marshal+0x186 encoding/json/encode.go:181 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x24f8236 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8235 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x195 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:152 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1344] @ 0x24fb385 0x24faf64 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fb384 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1852251 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 832] @ 0x4d8ccc 0x4d3f7f 0x4d3e69 0x250cf8c 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d8ccb os.(*File).Stat+0x2b os/stat_unix.go:19 # 0x4d3f7e os.readFileContents+0x1e os/file.go:810 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x250cf8b github.com/mattermost/mattermost/server/v8/channels/web.root+0x2eb github.com/mattermost/mattermost/server/v8/channels/web/static.go:84 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x8e02d5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8e02d4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x134 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x569b7f 0x11ec6fa 0x11ec65d 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x11ec6f9 path/filepath.Join+0x439 path/filepath/path.go:131 # 0x11ec65c github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x39c github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:55 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [11: 3168] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xc4359f 0xc43214 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc4359e github.com/gorilla/mux.extractVars+0x4fe github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0xc43213 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x173 github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 2880] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b15fc 0x184e1cd 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 8064] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1808417 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1808416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:373 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 13246464] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2464] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x18511fc 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18511fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1adb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:371 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x17e553e 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x17e553d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:56 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 448] @ 0x56458a 0x684c4d 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x684c4c crypto/tls.(*Conn).handshakeContext.func2+0x4c crypto/tls/conn.go:1545 0: 0 [4: 192] @ 0x16b0e85 0x16b0e53 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184defc 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x184fa95 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fa94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x374 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b15fc 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x122358f 0x12246d1 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x122358e github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2ae github.com/yuin/goldmark@v1.7.13/parser/parser.go:768 # 0x12246d0 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:844 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26fd154 0x2717122 0x271735f 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x26fd153 crypto/internal/fips140/nistec.P256OrdInverse+0x913 crypto/internal/fips140/nistec/p256_ordinv.go:99 # 0x2717121 crypto/internal/fips140/ecdsa.inverse[...]+0x41 crypto/internal/fips140/ecdsa/ecdsa.go:378 # 0x271735e crypto/internal/fips140/ecdsa.signGeneric[...]+0xfe crypto/internal/fips140/ecdsa/ecdsa.go:338 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [14: 9856] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e225 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e224 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3446 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184defc 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 896] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1830686 0x1830595 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830685 github.com/lann/builder.Append+0x5c5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1830594 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4d4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ab645 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab644 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 240] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1838305 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1838304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x16ab44d 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x16ab44c github.com/mattermost/squirrel.(*insertData).ToSql+0x8c github.com/mattermost/squirrel@v0.5.0/insert.go:63 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 4160] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x175b9eb 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b9ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 672] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 144] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 896] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 13824] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16b07a8 0x184faf2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x184faf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x3d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:291 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [20: 960] @ 0x479c9a 0x479caf 0x54373c 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54373b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1074 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x74e60f 0x74e5e9 0x74e57d 0x757249 0x20a7134 0x24e403c 0x2508c62 0xb6b01f 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e60e bufio.NewWriterSize+0xee bufio/bufio.go:599 # 0x74e5e8 bufio.NewWriter+0xc8 bufio/bufio.go:609 # 0x74e57c net/http.(*conn).hijackLocked+0x5c net/http/server.go:327 # 0x757248 net/http.(*response).Hijack+0xc8 net/http/server.go:2244 # 0x20a7133 github.com/getsentry/sentry-go/internal/httputils.(*httpFancyWriter).Hijack+0x73 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:160 # 0x24e403b github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Hijack+0x3b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:434 # 0x2508c61 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Hijack+0x21 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:55 # 0xb6b01e github.com/gorilla/websocket.(*Upgrader).Upgrade+0x45e github.com/gorilla/websocket@v1.5.3/server.go:180 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x179abda 0x179aaa8 0x16d7375 0x1feda4e 0x1f4e163 0x20cc117 0x1f52f84 0x1f522fa 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x179abd9 github.com/mattermost/squirrel.InsertBuilder.Columns+0x359 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x179aaa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20cc116 github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x36 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 8] @ 0x2040129 0x239979f 0x239977f 0x23940bf 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2040128 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x28 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:227 # 0x239979e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatusFromCache+0xbe github.com/mattermost/mattermost/server/v8/channels/app/status.go:58 # 0x239977e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x9e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1526 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x24a8b15 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a8b14 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x314 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2734 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16a53cd 0x16a5233 0x184fe9e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16a53cc github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x184fe9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 864] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 336] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1024] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x16b19e5 0x16b19b3 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 144] @ 0x50f21d 0xafb2dc 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2db net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:562 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17f2886 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17f2885 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x445 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x60fedd 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x60fedc net.(*Resolver).lookupIPAddr+0xfc net/lookup.go:319 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15fc 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x6752c7 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6752c6 crypto/tls.(*certCache).newCert+0x106 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 576] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x184dffb 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184dffa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x3fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 6336] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16b15fc 0x18526b9 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 5586944] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 6400] @ 0x675187 0x67517d 0x421f31 0x483fe1 # 0x675186 crypto/tls.(*certCache).evict+0x46 crypto/tls/cache.go:73 # 0x67517c crypto/tls.(*certCache).active.func1+0x3c crypto/tls/cache.go:65 # 0x421f30 runtime.runfinq+0x3d0 runtime/mfinal.go:275 0: 0 [1: 16] @ 0x5275a6 0x1869b3f 0x18696ff 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1869b3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:647 # 0x18696fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:616 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 896] @ 0x23a3485 0x23a0619 0x23a5dbc 0x483fe1 # 0x23a3484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x2de4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:207 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 96] @ 0x5be9e5 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 737280] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3964928] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0xb165ba 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165b9 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:67 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 704] @ 0x461d32 0x4612a5 0x46159d 0xbc1bbd 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1bbc github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x1fc github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x185021f 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x185021e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xafe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:321 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x479c9a 0x479caf 0x18513cb 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18513ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0xca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:405 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b0eeb 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 416] @ 0x24e27fc 0x2508bf1 0x24fca71 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x24fca70 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd90 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184fc7d 0x184fc32 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc7c github.com/mattermost/squirrel.SelectBuilder.Join+0x55c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fc31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x511 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:297 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x179f494 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x179f493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0xb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x16b0efc 0x184ddf5 0x184ddad 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184ddf4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184ddac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x204a555 0x204ad78 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x25199e5 0x2519977 0x2519959 0x25194b2 0x259fd39 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25199e4 net/textproto.MIMEHeader.Set+0x104 net/textproto/header.go:22 # 0x2519976 net/http.Header.Set+0x96 net/http/header.go:40 # 0x2519958 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x78 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:72 # 0x25194b1 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x259fd38 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x1338 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17788b3 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17788b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12575bb 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x262a098 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x262a097 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMember+0x1b7 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:628 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5376] @ 0x11e5513 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5512 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 7815168] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 7815168] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125f175 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125f174 github.com/jmoiron/sqlx.(*Row).scanAny+0x774 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 114688] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1779c5c 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779c5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 12672] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x70baef 0x70ba67 0x70ba2d 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x70baee net/textproto.MIMEHeader.Set+0xc0e net/textproto/header.go:22 # 0x70ba66 net/http.Header.Set+0xb86 net/http/header.go:40 # 0x70ba2c net/http.serveContent+0xb4c net/http/fs.go:419 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x177b38d 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177b38c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x26c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 5324800] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1868751 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1868750 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:529 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x604d17 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x604d16 net.(*netFD).connect+0x216 net/fd_unix.go:102 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 336] @ 0x56458a 0x5647d5 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5647d4 context.(*cancelCtx).propagateCancel+0x74 context/context.go:469 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xae9758 0xae95ea 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9757 encoding/gob.(*encBuffer).WriteString+0x277 encoding/gob/encode.go:60 # 0xae95e9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [4: 98304] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x548a63 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x27156c6 0x27160dc 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x27156c5 crypto/internal/fips140/ecdsa.pad000+0x65 crypto/internal/fips140/ecdsa/hmacdrbg.go:131 # 0x27160db crypto/internal/fips140/ecdsa.newDRBG[...]+0x69b crypto/internal/fips140/ecdsa/hmacdrbg.go:81 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1779a45 0x1779a20 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x11e1c39 0x11e3167 0x19a3350 0x232da33 0x483fe1 # 0x11e1c38 image/jpeg.(*encoder).writeDHT+0xd8 image/jpeg/writer.go:352 # 0x11e3166 image/jpeg.Encode+0x306 image/jpeg/writer.go:632 # 0x19a334f github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x8f github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 19660800] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 1536] @ 0x1127c7b 0x1125147 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x1778432 0x16d1087 0x1faa4b8 0x1fe702d 0x232bf8a 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1127c7a github.com/lib/pq.encodeBytea+0x5a github.com/lib/pq@v1.10.9/encode.go:592 # 0x1125146 github.com/lib/pq.encode+0xe6 github.com/lib/pq@v1.10.9/encode.go:39 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1778431 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Save+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:129 # 0x16d1086 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5096 # 0x1faa4b7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:100 # 0x1fe702c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4150 # 0x232bf89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1109 github.com/mattermost/mattermost/server/v8/channels/app/file.go:845 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 97886208] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 97886208] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 97886208] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 43868160] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 1720320] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 23224320] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 48775168] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [1: 48775168] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 48775168] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 97886208] @ 0x11c7f9e 0x198c25e 0x19a2a07 0x232d4c5 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198c25d github.com/anthonynsimon/bild/transform.Rotate+0x35d github.com/anthonynsimon/bild@v0.14.0/transform/rotate.go:83 # 0x19a2a06 github.com/mattermost/mattermost/server/v8/channels/app/imaging.MakeImageUpright+0x126 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:52 # 0x232d4c4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:945 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 18292736] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 97886208] @ 0x11c7f9e 0x198aa35 0x198bf4c 0x198bf65 0x19a2a07 0x232d4c5 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198bf4b github.com/anthonynsimon/bild/clone.AsShallowRGBA+0x4b github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198bf64 github.com/anthonynsimon/bild/transform.Rotate+0x64 github.com/anthonynsimon/bild@v0.14.0/transform/rotate.go:31 # 0x19a2a06 github.com/mattermost/mattermost/server/v8/channels/app/imaging.MakeImageUpright+0x126 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:52 # 0x232d4c4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:945 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x79ef1d 0x209cec8 0x209f11a 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79ef1c regexp.(*Regexp).FindSubmatch+0xbc regexp/regexp.go:889 # 0x209cec7 github.com/getsentry/sentry-go.(*Span).updateFromSentryTrace+0x27 github.com/getsentry/sentry-go@v0.36.0/tracing.go:451 # 0x209f119 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x59 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1002 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f9b5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:283 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1741792 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3005 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x184389c 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x184389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x535245 0x535350 0x53a585 0x569b7f 0x1643f9b 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x1643f9a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x2337d50 0x2333b5b 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2337d4f github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessibleFile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file_helper.go:116 # 0x2333b5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x5a github.com/mattermost/mattermost/server/v8/channels/app/file.go:1290 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4751360] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 262144] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x4bc229 0x4bc110 0x4bb15d 0x1644bbd 0x1644b96 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232b6e3 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4bc228 io.(*multiReader).writeToWithBuffer+0xe8 io/multi.go:54 # 0x4bc10f io.(*multiReader).WriteTo+0x4f io/multi.go:45 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x1644bbc io.Copy+0xfc io/io.go:388 # 0x1644b95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232b6e2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x862 github.com/mattermost/mattermost/server/v8/channels/app/file.go:811 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 448] @ 0x72f256 0x712827 0x7376fa 0x736b19 0x483fe1 # 0x72f255 net/http.(*http2Transport).newClientConn.http2NewFramer.func2+0x35 net/http/h2_bundle.go:2015 # 0x712826 net/http.(*http2Framer).ReadFrame+0xc6 net/http/h2_bundle.go:2079 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [8: 512] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 320] @ 0x4e1b85 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb798d9 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f79d48 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb798d8 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:210 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f79d47 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:113 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1152] @ 0x48f312 0x48e925 0x77702e 0x754e13 0x755be5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x754e12 net/http.(*response).finishRequest+0x52 net/http/server.go:1716 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [4: 512] @ 0x16ae58f 0x16b4ae8 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x17c6bb8 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 3872] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [3: 19584] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179af50 0x179ae85 0x179a97d 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179af4f github.com/lann/builder.Append+0x6cf github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179ae84 github.com/mattermost/squirrel.InsertBuilder.Values+0x604 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x179a97c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x16b0918 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 49152] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7aee2 0xb7aecc 0xb7a299 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7a298 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:64 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0005 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16b1caf 0x179f60f 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x179f60e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x16b1a5c 0x1869652 0x18695e9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b1a5b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1869651 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x131 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18695e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0xc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:611 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 7680] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0f34 0x16b0e53 0x184f0f9 0x184f0b1 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f0f8 github.com/mattermost/squirrel.SelectBuilder.Join+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f0b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 672] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x179f60f 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x179f60e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x23abdcb 0x23abb3e 0x20ca3f4 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x23abdca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xaa github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:91 # 0x23abb3d github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfd github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x20ca3f3 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin.MakeInstallPluginNotifyWorker.func2+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/notify_admin/worker.go:65 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 624] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16b07a8 0x179fa45 0x179fa11 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x179fa44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x179fa10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0xd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:375 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 9472] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9728] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0x2026d9a 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2026d99 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x459 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:237 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 640] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb0fbd0 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fbcf github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x1cf github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:222 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x539fb5 0x22adb67 0x22adb68 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22adb66 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x106 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x22adb67 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2304] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 3584] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 360] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa3b4 0x16aa392 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa3b3 github.com/mattermost/squirrel.getSortedKeys+0xf3 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16aa391 github.com/mattermost/squirrel.Lt.toSql+0xd1 github.com/mattermost/squirrel@v0.5.0/expr.go:322 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x52f3fd 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x52f3fc fmt.newScanState+0x3c fmt/scan.go:384 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 5760] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ae390 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 384] @ 0x16aba6f 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16aba6e github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1ae github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203f68c 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203f68b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9ab github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1408] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xb11536 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11535 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x995 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:364 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4727 0x2650ba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4726 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2365 # 0x2650ba4 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2ba4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1010 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2648c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2648c24 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:284 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1920] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x179faff 0x179fa46 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x179fafe github.com/mattermost/squirrel.SelectBuilder.From+0x1be github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x179fa45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:376 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [10: 10240] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b667b 0x16b6573 0x179d3e7 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179d3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x506 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:204 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x179d285 0x179d180 0x179d163 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179d284 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179d17f github.com/mattermost/squirrel.UpdateBuilder.Set+0x29f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d162 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:203 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x110e0f0 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x110e0ef github.com/lib/pq/scram.(*Client).serverSignature+0x4f github.com/lib/pq@v1.10.9/scram/scram.go:254 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x16b1634 0x16b15db 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x5246c9 0x5246bd 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0xc468d0 0x24fc6e4 0x24fc5e6 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5246c8 errors.New+0x208 errors/errors.go:65 # 0x5246bc fmt.Errorf+0x1fc fmt/errors.go:30 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0xc468cf github.com/mattermost/mattermost/server/public/shared/request.(*Context).T+0x2f github.com/mattermost/mattermost/server/public/shared/request/context.go:64 # 0x24fc6e3 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0xa03 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0x24fc5e5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x905 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:413 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x52d1bb 0x52d151 0x527593 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52d1ba fmt.(*buffer).writeString+0x11a fmt/print.go:108 # 0x52d150 fmt.(*pp).doPrintf+0xb0 fmt/print.go:1032 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x173a3ba 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x279 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1152] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x7e6bb3 0x7eaa8d 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16a95a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a95a8 github.com/mattermost/squirrel.Eq.toSQL+0xa08 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f197 0x182f0ef 0x182f0ee 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f196 github.com/lann/builder.Append+0x616 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182f0ee github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x56e github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x182f0ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:50 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0xc0dfa6 0xc0dfa7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dfa5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x765 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dfa6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x766 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0xbdd15c 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x12578b9 0x125c637 0x182b7ac 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x446b89 0x458d66 0x1121f85 0x483fe1 # 0x1121f84 github.com/lib/pq.(*conn).watchCancel.func1+0x84 github.com/lib/pq@v1.10.9/conn_go18.go:106 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 8960] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 1280] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 640] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x18303e5 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18303e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:119 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x112ae3f 0x112ad7f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112ae3e github.com/lib/pq.ParseURL.func1+0x7fe github.com/lib/pq@v1.10.9/url.go:46 # 0x112ad7e github.com/lib/pq.ParseURL+0x73e github.com/lib/pq@v1.10.9/url.go:66 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x16b0f34 0x16b0e53 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x461d32 0x4612a5 0x46140a 0x17c6b70 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6b6f github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3af github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0xb18fbd 0xc13c73 0x24f82a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x581257 0x6956f0 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x581256 crypto/ecdh.(*x25519Curve).NewPublicKey+0xd6 crypto/ecdh/x25519.go:76 # 0x6956ef crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0xcf crypto/tls/handshake_client_tls13.go:485 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 336] @ 0x8f7912 0x8f7906 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8f7911 golang.org/x/net/html.(*parser).addElement+0xb1 golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8f7905 golang.org/x/net/html.inRowIM+0xa5 golang.org/x/net@v0.46.0/html/parse.go:1695 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x58b4b3 0x5cd9fb 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 5376] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x23eb695 0x7e919d 0x23eb3c5 0x118baea 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x23eb694 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:134 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eb3c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x118bae9 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 57344] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x239979f 0x239977f 0x23940bf 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x239979e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatusFromCache+0xbe github.com/mattermost/mattermost/server/v8/channels/app/status.go:58 # 0x239977e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x9e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1526 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7905c5 0x7907f6 0x78f525 0x78f225 0x78d039 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0xbb78d8 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7905c4 regexp/syntax.appendRange+0xa4 regexp/syntax/parse.go:1906 # 0x7907f5 regexp/syntax.appendClass+0x35 regexp/syntax/parse.go:1955 # 0x78f524 regexp/syntax.(*parser).appendGroup+0x64 regexp/syntax/parse.go:1621 # 0x78f224 regexp/syntax.(*parser).parsePerlClassEscape+0xc4 regexp/syntax/parse.go:1592 # 0x78d038 regexp/syntax.parse+0x8b8 regexp/syntax/parse.go:1067 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbb78d7 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:163 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x1b4cd2e 0x23bd645 0x23bd1b2 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1b4cd2d golang.org/x/net/html/charset.NewReader+0x4d golang.org/x/net@v0.46.0/html/charset/charset.go:109 # 0x23bd644 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:79 # 0x23bd1b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:55 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x6751fe 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6751fd crypto/tls.(*certCache).newCert+0x3d crypto/tls/cache.go:81 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 288] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x250703d 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x250703c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f7c github.com/mattermost/mattermost/server/v8/channels/web/params.go:230 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c6c5a 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6c59 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x499 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 224] @ 0x5411a5 0x54319b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5411a4 encoding/json.(*decodeState).convertNumber+0x104 encoding/json/decode.go:841 # 0x54319a encoding/json.(*decodeState).literalStore+0x1f7a encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x409dd2 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xc143a8 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc143a7 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x27 github.com/mattermost/mattermost/server/public/model/utils.go:509 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2046e85 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [9: 576] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46140a 0x171d9eb 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171d9ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:119 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16aadcd 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b4a8a 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4a89 github.com/mattermost/squirrel.(*updateData).ToSql+0x769 github.com/mattermost/squirrel@v0.5.0/update.go:113 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 72] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfb3e5 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xc24 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1536] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x4cfde8 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfde7 os.(*File).readdir+0x587 os/dir_unix.go:141 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x604d17 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x604d16 net.(*netFD).connect+0x216 net/fd_unix.go:102 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4620a7 0x1115e87 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115e86 github.com/lib/pq.parseOpts+0x1c6 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1152] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 48] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x17c6dd4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6dd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x84157b 0x841067 0x23e4fc8 0x1136542 0x11447f2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x841066 github.com/mattermost/logr/v2.Sugar.Warnw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x23e4fc7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1131 # 0x1136541 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1092 # 0x11447f1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1011 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x17b5bf2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5bf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 800] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x1259bc8 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x17bc1a5 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1259bc7 github.com/jmoiron/sqlx.compileNamedQuery+0x647 github.com/jmoiron/sqlx@v1.4.0/named.go:371 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bc1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:361 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1792] @ 0xc1541d 0xc1536f 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc1541c strings.(*Builder).WriteString+0x2fc strings/builder.go:108 # 0xc1536e github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x24e github.com/mattermost/mattermost/server/public/model/utils.go:728 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1792] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x54b539 0x54b85d 0x53e4bd 0x53df65 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x53df64 encoding/json.(*decodeState).unmarshal+0x104 encoding/json/decode.go:175 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 560] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 352] @ 0x1837b13 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x232 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 5376] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 32] @ 0x540f4d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b080f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x2391278 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x2391277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x157 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:280 0: 0 [1: 704] @ 0xc1541d 0xc1536f 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc1541c strings.(*Builder).WriteString+0x2fc strings/builder.go:108 # 0xc1536e github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x24e github.com/mattermost/mattermost/server/public/model/utils.go:728 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [3: 72] @ 0x16b0f34 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1cf9 0xb7bb0f 0xb7baf4 0xb7aeae 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bb0e github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x6e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7baf3 github.com/vmihailenco/msgpack/v5.(*Encoder).write2+0x53 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:179 # 0xb7aead github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:187 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0a05 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xbddae5 0xbdda55 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddae4 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x224 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0xbdda54 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x194 github.com/mattermost/mattermost/server/public/model/post_list.go:150 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110e1c3 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110e1c2 github.com/lib/pq/scram.(*Client).serverSignature+0x122 github.com/lib/pq@v1.10.9/scram/scram.go:259 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16aa7d1 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa7d0 github.com/mattermost/squirrel.Lt.toSql+0x510 github.com/mattermost/squirrel@v0.5.0/expr.go:345 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 96] @ 0x446b89 0x458d66 0x20488fc 0x2047f27 0x483fe1 # 0x20488fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x1fb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:562 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 160] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 6912] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbddca5 0xbddb5f 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddca4 github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x3e4 github.com/mattermost/mattermost/server/public/model/post_list.go:136 # 0xbddb5e github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x29e github.com/mattermost/mattermost/server/public/model/post_list.go:153 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x709152 0x22ad450 0x22ad45b 0x24f95ef 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x22ad44f net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x22ad45a github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1113865 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1113864 github.com/lib/pq.Open+0x64 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1344] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x24a9c45 0x24a9b38 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1737085 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1737084 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24f10b3 0x253530e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f10b2 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x253530d github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:484 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x262ac5e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x262ac5d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:689 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 256] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aad15 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2720] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x175c68a 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:502 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1152] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17c9f95 0x17c917c 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c9f94 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xf34 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c917b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1578 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4032] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [3: 192] @ 0xb8908a 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb89089 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x49 github.com/mattermost/mattermost/server/public/model/bundle_info.go:28 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 96] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 58752] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x16abc67 0x16ab6b5 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 288] @ 0x2716257 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x5275a6 0x16aa6cd 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aa6cc github.com/mattermost/squirrel.Lt.toSql+0x40c github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 16] @ 0x408f2e 0x40d905 0x24fc9cc 0x24fc967 0x24fc949 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fc9cb net/textproto.MIMEHeader.Set+0xceb net/textproto/header.go:22 # 0x24fc966 net/http.Header.Set+0xc86 net/http/header.go:40 # 0x24fc948 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc68 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:432 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24] @ 0x203efc8 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203efc7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x1a0a506 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:147 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 25344] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3840] @ 0x1a0a3a5 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b5b85 0x1830197 0x1830171 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b5b84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x1830196 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:117 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x16b08ff 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1536] @ 0x16ae58f 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 512] @ 0x48f3f2 0x48e925 0x77702e 0x7550db 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48f3f1 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x7550da net/http.(*conn).finalFlush+0x7a net/http/server.go:1792 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [3: 144] @ 0x16b0825 0x16b07b9 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x479c9a 0x479caf 0xbdc9e5 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdc9e4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x44 github.com/mattermost/mattermost/server/public/model/post_list.go:34 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 2304] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1120427 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1120426 github.com/lib/pq.parseEnviron+0x26 github.com/lib/pq@v1.10.9/conn.go:2010 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 352] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 256] @ 0x7e4ebf 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e4ebe database/sql.(*DB).conn+0x99e database/sql/sql.go:1440 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x619566 0x61953d 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11137bb 0x111ec4a 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111ec49 github.com/lib/pq.(*conn).processParameterStatus+0x29 github.com/lib/pq@v1.10.9/conn.go:1780 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 8192] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x175b405 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:426 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x51ab3c 0xb083c9 0x113e93d 0x483fe1 # 0x51ab3b encoding/binary.Write+0x7b encoding/binary/binary.go:414 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [1: 208] @ 0x24e27fc 0x2508bf1 0x2611fa4 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2611fa3 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1643 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2560] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203f68c 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203f68b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9ab github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2560] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 1024] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [12: 4608] @ 0x48edbc 0x48ec06 0x48e97c 0x24e4539 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x24e4538 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x218 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:490 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 896] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x461e06 0x24fca52 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fca51 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd71 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 48] @ 0x61c8c6 0x61d9f9 0x61cbb0 0x75b08c 0x2457c85 0x483fe1 # 0x61c8c5 net.newTCPConn+0xa5 net/tcpsock.go:297 # 0x61d9f8 net.(*TCPListener).accept+0x58 net/tcpsock_posix.go:163 # 0x61cbaf net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [22: 5632] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 384] @ 0xaea939 0xaea8ef 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaea938 encoding/gob.(*Encoder).newEncoderState+0xb8 encoding/gob/encode.go:82 # 0xaea8ee encoding/gob.(*Encoder).encodeMap+0x6e encoding/gob/encode.go:368 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [14: 4480] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x8978b5 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2bd0 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8978b4 github.com/mattermost/go-i18n/i18n/language.Parse+0x4b4 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2bcf github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:271 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x48f2f9 0x48e925 0x54ecd7 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54ecd6 encoding/json.(*Encoder).Encode+0x236 encoding/json/stream.go:234 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 18944] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x1851f59 0x11adcb0 0x483fe1 # 0x1851f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x498 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 160] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 384] @ 0x446b89 0x458d66 0x931a33 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x931a32 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x392 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7d65 0xaf6eff 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7d64 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xaf6efe net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [1: 112] @ 0x26cb806 0x26dd3d4 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:301 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 72] @ 0x8e02d5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x8e02d4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x134 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 120] @ 0x4cfd25 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfd24 os.(*File).readdir+0x4c4 os/dir_unix.go:132 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54772d 0x544613 0x5443d2 0x543cbe 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54772c encoding/json.mapEncoder.encode+0x4ac encoding/json/encode.go:783 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111ec4a 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111ec49 github.com/lib/pq.(*conn).processParameterStatus+0x29 github.com/lib/pq@v1.10.9/conn.go:1780 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50d0da 0x50e78c 0xb759db 0xb75725 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50d0d9 reflect.Value.Slice+0x99 reflect/value.go:2265 # 0x50e78b reflect.AppendSlice+0x14b reflect/value.go:2665 # 0xb759da github.com/vmihailenco/msgpack/v5.growSliceValue+0xda github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xb75724 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x384 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:107 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b080f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0xc135ec 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc135eb github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x12b github.com/mattermost/mattermost/server/public/model/utils.go:315 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x61d0c5 0x619dbb 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x61d0c4 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x619dba net.(*netFD).dial+0x57a net/sock_posix.go:141 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 192] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 144] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 384] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 72] @ 0x16b0f34 0x16b0e53 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 400] @ 0x12578b9 0x125cf77 0x182ddb4 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182ddb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:439 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 1920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 80] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16b0005 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 640] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 120] @ 0x260daca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x260dac9 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x369 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2688] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x24fcef2 0x2687b7c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x24fcef1 github.com/mattermost/mattermost/server/v8/channels/web.GetOriginClient+0x51 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:468 # 0x2687b7b github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5bb github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 128] @ 0x242554e 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242554d github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:446 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 9472] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1489a85 0x20269ca 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x1489a84 github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x3924 github.com/mattermost/mattermost/server/v8/config/client.go:420 # 0x20269c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x89 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:219 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 208] @ 0x10cf688 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 13440] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x20462ae 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20462ad github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x6d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:202 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17371b8 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17371b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17b062a 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:155 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x6311e5 0x6324d9 0x6324af 0x266e128 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e127 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x287 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x24a885e 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a885d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user.go:2701 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x62eb25 0x62e809 0x2459a05 0xb6ad30 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x2459a04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).OriginChecker.func1+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1118 # 0xb6ad2f github.com/gorilla/websocket.(*Upgrader).Upgrade+0x16f github.com/gorilla/websocket@v1.5.3/server.go:152 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 416] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x6311e5 0x6324d9 0x6324af 0x266e778 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e777 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x8d7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3464 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x2039b65 0x2039aed 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x266136f 0x2661332 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2039b64 github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:22 # 0x2039aec github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x6c github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:58 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x266136e github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x52e github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x2661331 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2373 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0x93171e 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0xb09ca5 0xb09c53 0x119ac6b 0x119ab38 0x119242e 0x1193d7e 0x1193c3b 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0xb09ca4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb09c52 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:172 # 0x119ac6a github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xaa github.com/mattermost/mattermost/server/public/plugin/supervisor.go:228 # 0x119ab37 github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:204 # 0x119242d github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xad github.com/mattermost/mattermost/server/public/plugin/environment.go:641 # 0x1193d7d github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x1193c3a github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x17a github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 576] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [9: 216] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x17e28c5 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17e28c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 224] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1837ad1 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1837ad0 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1f0 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 768] @ 0xaeaf88 0xaeaf54 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeaf87 encoding/gob.(*Encoder).newEncoderState+0xe7 encoding/gob/encode.go:82 # 0xaeaf53 encoding/gob.(*Encoder).encodeInterface+0xb3 encoding/gob/encode.go:392 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [4: 256] @ 0x776ea8 0x776e73 0x75133f 0x755918 0x483fe1 # 0x776ea7 bufio.NewWriterSize+0x1c7 bufio/bufio.go:599 # 0x776e72 net/http.newBufioWriterSize+0x192 net/http/server.go:894 # 0x75133e net/http.(*conn).readRequest+0x93e net/http/server.go:1115 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x16a3970 0x16b1caf 0x172877a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1728779 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1132 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16b15fc 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1680] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x185143c 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185143b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:406 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 880] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x8fdcc5 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdcc4 golang.org/x/net/html.(*Tokenizer).Token+0x1c4 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x535245 0x535350 0x88c85a 0x88c6e5 0x505826 0x504939 0x879ae6 0x875226 0x873a1f 0x8729d2 0x8723c5 0x870265 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x88c859 html/template.htmlReplacer+0x139 html/template/html.go:155 # 0x88c6e4 html/template.htmlEscaper+0x44 html/template/html.go:50 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0x879ae5 text/template.safeCall+0x85 text/template/funcs.go:375 # 0x875225 text/template.(*state).evalCall+0xaa5 text/template/exec.go:870 # 0x873a1e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x8729d1 text/template.(*state).evalCommand+0x1d1 text/template/exec.go:563 # 0x8723c4 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x870264 text/template.(*state).walk+0x124 text/template/exec.go:267 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [4: 2048] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 64] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 7168] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18539fa 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1152] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 92416] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x543d27 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3072] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x17bfa45 0x17bfa16 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17bfa44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x504 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bfa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x4d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:746 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17357ff 0x1735746 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17357fe github.com/mattermost/squirrel.SelectBuilder.From+0x29e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1735745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2071 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x23a7427 0x23a741b 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23a7426 bytes.NewReader+0x2c6 bytes/reader.go:159 # 0x23a741a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x2ba github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:568 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1908736] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4608] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x23914c5 0x483fe1 # 0x23914c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 851968] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4538368] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x4125d4 0x114fab7 0x114fa9f 0x1197af4 0x23a43d2 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x23a078e 0x23a51d2 0x23a5cff 0x483fe1 # 0x114fab6 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x114fa9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:934 # 0x1197af3 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:245 # 0x23a43d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x23a078d github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xed github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 3520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x26490af 0x2649024 0x2649006 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x26490ae net/textproto.MIMEHeader.Set+0x52e net/textproto/header.go:22 # 0x2649023 net/http.Header.Set+0x4a3 net/http/header.go:40 # 0x2649005 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x485 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1254e6d 0x125fc85 0x1260848 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 288] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17c6eff 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c6efe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4608] @ 0x54e9ae 0x54e645 0x54e315 0x2618eff 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2618efe github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xde github.com/mattermost/mattermost/server/v8/channels/api4/system.go:673 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 770048] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3268608] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 320] @ 0x122476d 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122476c github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x18c github.com/yuin/goldmark@v1.7.13/parser/parser.go:848 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 288] @ 0x12595e6 0x12594d8 0x125a972 0x125b7e5 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12595e5 github.com/jmoiron/sqlx.compileNamedQuery+0x65 github.com/jmoiron/sqlx@v1.4.0/named.go:333 # 0x12594d7 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x125a971 github.com/jmoiron/sqlx.bindNamedMapper+0x171 github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1280] @ 0x543d27 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xb11536 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24269ff 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11535 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x995 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:364 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24269fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x19e github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:568 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x6dd225 0x10e401d 0x10e400d 0x10e2ff7 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6dd224 mime/multipart.(*Writer).CreatePart+0x64 mime/multipart/writer.go:104 # 0x10e401c gopkg.in/mail%2ev2.(*messageWriter).createPart+0x7c gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x10e400c gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x6c gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x10e2ff6 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x216 gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 704] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1568] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1852251 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17f2bd0 0x17f2b26 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17f2bcf github.com/mattermost/squirrel.SelectBuilder.From+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17f2b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:108 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 320] @ 0xaeeea7 0xaeee67 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeeea6 encoding/gob.(*encBuffer).Write+0x206 encoding/gob/encode.go:55 # 0xaeee66 encoding/gob.(*Encoder).EncodeValue+0x1c6 encoding/gob/encoder.go:241 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 16] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x18535ed 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18535ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:561 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x183797e 0x1837923 0x1837931 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x183797d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1837922 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1837930 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:39 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x48f2f9 0x48e925 0x77702e 0x7550db 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x7550da net/http.(*conn).finalFlush+0x7a net/http/server.go:1792 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [1: 24] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x12575bb 0x125c637 0x1829914 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 524288] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1572864] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 3145728] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 606208] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 98304] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f79a72 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f79a71 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:98 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0xb6f358 0xb6f34c 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb6f357 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xb6f34b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6144000] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x4baeb8 0x4baeac 0x19a2bc9 0x1995c17 0x1995bf1 0x1995c10 0x1997cfa 0x19a2f5e 0x232cee5 0x232b5e5 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4baeb7 io.LimitReader+0x37 io/io.go:461 # 0x4baeab io.CopyN+0x2b io/io.go:364 # 0x19a2bc8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*fwSeeker).Seek+0x68 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:91 # 0x1995c16 github.com/bep/imagemeta.(*streamReader).skip+0x316 github.com/bep/imagemeta@v0.12.0/io.go:287 # 0x1995bf0 github.com/bep/imagemeta.(*imageDecoderPNG).decode.func1+0x2f0 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:33 # 0x1995c0f github.com/bep/imagemeta.(*imageDecoderPNG).decode+0x30f github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:103 # 0x1997cf9 github.com/bep/imagemeta.Decode+0x659 github.com/bep/imagemeta@v0.12.0/imagemeta.go:234 # 0x19a2f5d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GetImageOrientation+0x2bd github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:154 # 0x232cee4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x7e4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:903 # 0x232b5e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x764 github.com/mattermost/mattermost/server/v8/channels/app/file.go:805 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a95a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a95a8 github.com/mattermost/squirrel.Eq.toSQL+0xa08 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 1056] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x6752c7 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6752c6 crypto/tls.(*certCache).newCert+0x106 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 32] @ 0x16b15eb 0x18526b9 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 5760] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0a05 0x16b09d3 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x539cff 0x207ad2c 0x207ad13 0x207c8f9 0x208de34 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x207ad2b strings.SplitN+0x1cb strings/strings.go:333 # 0x207ad12 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x1b2 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:296 # 0x207c8f8 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x178 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:467 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x270c5cd 0x2731e0f 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2731e0e crypto/internal/fips140/rsa.encrypt+0x10e crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 448] @ 0x5aeaba 0x5aead0 0x27162be 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 144] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 768] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0xbfc4ba 0xbfc477 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1736ff6 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1736ff5 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x23dff6a 0x112f70a 0x115c8c5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x23dff69 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUsersInChannel+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:420 # 0x112f709 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUsersInChannel+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:355 # 0x115c8c4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUsersInChannel+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2551 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 14592] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2632f5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2632f5a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x1da github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [6: 3456] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1819386 0x16e92e7 0x20020c7 0x20405f2 0x2046ec5 0x2029802 0x483fe1 # 0x1819385 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1152] @ 0x48edbc 0x48ec06 0x48e97c 0x814568 0x84788b 0x842cf9 0x84297d 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x814567 github.com/francoispqt/gojay.BorrowEncoder+0x27 github.com/francoispqt/gojay@v1.2.13/encode_pool.go:36 # 0x84788a github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x10a github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:76 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [4: 96] @ 0x1851dfd 0x11adcb0 0x483fe1 # 0x1851dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x33c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x16b0a05 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 1408] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 320] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1792] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x266136f 0x2661332 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x266136e github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x52e github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x2661331 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x4f1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2373 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1280] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x1816bc8 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1816bc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:95 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f27c8 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f27c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 576] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25de7e9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de7e8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x148 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:194 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [11: 1760] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 96] @ 0x461d32 0x4612a5 0x46140a 0x183ec8f 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ec8e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xae github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 144] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x175b48d 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b48c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:427 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 1056] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1056] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 1120] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 5376] @ 0x48edbc 0x48ec06 0x48e97c 0x776d46 0x75582d 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x776d45 net/http.newBufioWriterSize+0x65 net/http/server.go:888 # 0x75582c net/http.(*conn).serve+0x2ac net/http/server.go:2014 0: 0 [4: 832] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1831252 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1831251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:168 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x182ec1e 0x182ebc3 0x182ebd1 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x182ec1d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x182ebc2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x182ebd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:45 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b15eb 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 880] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 48] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 192] @ 0x175b517 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b516 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x756 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17a26d8 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17a26d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x197 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:80 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 157696] @ 0x543d27 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1680] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0xbc2edb 0xbc2f0d 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbc2eda encoding/json.NewDecoder+0x49a encoding/json/stream.go:32 # 0xbc2f0c github.com/mattermost/mattermost/server/public/model.FindManifest+0x4cc github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 704] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 720] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x599b65 0x599add 0x5bc8ec 0x5bc8e7 0x5bc765 0x5c1d8c 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x599b64 math/big.nat.make+0xa4 math/big/nat.go:66 # 0x599adc math/big.nat.setBytes+0x1c math/big/nat.go:1332 # 0x5bc8eb math/big.(*Int).SetBytes+0xcb math/big/int.go:512 # 0x5bc8e6 vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xc6 vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5bc764 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x404 vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x5c1d8b crypto/ecdsa.Sign+0xeb crypto/ecdsa/ecdsa_legacy.go:75 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x4aaf08 0x703c6a 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x703c69 net/http.setRequestCancel+0x449 net/http/client.go:398 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1737156 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1737155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 4224] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x253c250 0x253c1c5 0x253c18a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x253c24f net/textproto.MIMEHeader.Set+0x58f net/textproto/header.go:22 # 0x253c1c4 net/http.Header.Set+0x504 net/http/header.go:40 # 0x253c189 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4c9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1101 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 49152] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 720896] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2621440] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x17c9745 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c9744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1557 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x461d32 0x4612a5 0x46140a 0x171dfa5 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dfa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:139 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x184f51a 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x659 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:251 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b5b85 0x173a590 0x173a561 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b5b84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x173a58f github.com/mattermost/squirrel.StatementBuilderType.Update+0x44f github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x173a560 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x420 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2553 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x23a6a25 0x23a68ee 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x23a6a24 encoding/json.NewDecoder+0x5c4 encoding/json/stream.go:32 # 0x23a68ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x48d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [14: 12544] @ 0x543d27 0x23a64b2 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x23a64b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 2304] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 3072] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17cb5fc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17cb5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1677 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x238338d 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238338c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x508c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:443 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0x186d97c 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d97b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:937 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 96] @ 0x1851bdb 0x1851ba7 0x1851ba6 0x11adcb0 0x483fe1 # 0x1851bda github.com/mattermost/squirrel.newPart+0x11a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1851ba6 github.com/mattermost/squirrel.SelectBuilder.From+0xe6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1851ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1872ad3 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1872ad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x352 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16a3970 0x17b042f 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17b042e github.com/mattermost/squirrel.SelectBuilder.From+0x2ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1440] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 26112] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x7313bb 0x72d30c 0x72d2f8 0x72ced7 0x76754b 0x776853 0x702f82 0x702831 0x704e49 0x124c165 0x124c156 0x2434369 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x7313ba net/http.(*http2ClientConn).roundTrip+0x15a net/http/h2_bundle.go:8782 # 0x72d30b net/http.(*http2ClientConn).RoundTrip+0x1eb net/http/h2_bundle.go:8767 # 0x72d2f7 net/http.(*http2Transport).RoundTripOpt+0x1d7 net/http/h2_bundle.go:8063 # 0x72ced6 net/http.(*http2Transport).RoundTrip+0x16 net/http/h2_bundle.go:8014 # 0x76754a net/http.(*Transport).roundTrip+0xb8a net/http/transport.go:694 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x124c164 net/http.(*Client).Do+0x344 net/http/client.go:587 # 0x124c155 github.com/mattermost/mattermost/server/v8/channels/utils.GetURLWithCache+0x335 github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:146 # 0x2434368 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x8a8 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:344 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16aadcd 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x183050a 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1830509 github.com/mattermost/squirrel.UpdateBuilder.Set+0x449 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 80] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 240] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b07a8 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 27648] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x23f6b59 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23f6b58 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:78 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2688] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1120] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x118dc15 0x48feea 0x48ff97 0x118daee 0x118dac1 0x23d42ea 0x25d91e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x118dc14 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf4 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x118daed sync.(*Map).Range+0x4d sync/hashtriemap.go:115 # 0x118dac0 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x23d42e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetActivePluginManifests+0x29 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:402 # 0x25d91e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x66 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1584] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 256] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0xb70bc6 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb70bc5 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x125 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:421 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x11251ab 0x1125192 0x111cb36 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11251aa strconv.AppendBool+0x14a strconv/atob.go:34 # 0x1125191 github.com/lib/pq.encode+0x131 github.com/lib/pq@v1.10.9/encode.go:50 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x703a05 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703a04 net/http.setRequestCancel+0x1e4 net/http/client.go:379 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 640] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x535245 0x535350 0x53a585 0x16b4987 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16b4986 github.com/mattermost/squirrel.(*updateData).ToSql+0x666 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x182ec98 0x182ec37 0x182ec36 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x182ec97 github.com/mattermost/squirrel.InsertBuilder.Into+0x117 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x182ec36 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x182ec35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:46 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1779bd1 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779bd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:220 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1048576] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e3be9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3be8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x68 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:638 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 12672] @ 0x12578b9 0x125c637 0x1829914 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbd62a5 0xbd65a1 0x25dd31a 0x25dd2d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd62a4 github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0xb44 github.com/mattermost/mattermost/server/public/model/post_metadata.go:46 # 0xbd65a0 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0xe40 github.com/mattermost/mattermost/server/public/model/post.go:131 # 0x25dd319 github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2d9 github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x25dd2d1 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:88 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 192] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x238ec56 0x238ec61 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x238ec55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x10955 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x238ec60 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x10960 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:543 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 768] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbd57f1 0x25dd31a 0x25dd2d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd57f0 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x90 github.com/mattermost/mattermost/server/public/model/post.go:134 # 0x25dd319 github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2d9 github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x25dd2d1 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:88 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x22d71ec 0x22d71d4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22d71eb github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x4ab github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x22d71d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x493 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3202 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x461d32 0x4612a5 0x4614c5 0x1b792ed 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b792ec github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x1f833e7 0x22b05f8 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x1f833e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:441 # 0x22b05f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x177 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x1f833e7 0x2400e02 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f833e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:441 # 0x2400e01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1401 github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3456] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1852087 0x1852006 0x1852004 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1852086 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1852005 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1852003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:441 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0x2543534 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2543533 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1344] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x769670 0x768f78 0x76c375 0x76c155 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x76966f net/http.(*Transport).tryPutIdleConn+0x6af net/http/transport.go:1138 # 0x768f77 net/http.(*Transport).putOrCloseIdleConn+0x17 net/http/transport.go:1035 # 0x76c374 net/http.(*Transport).dialConnFor+0x114 net/http/transport.go:1621 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [11: 270336] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x2382ab0 0x2382a89 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x2382aaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x47af github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x2382a88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4788 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:423 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 672] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x2424585 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2424584 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:362 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x55053d 0x543a07 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x543a06 encoding/json.unquote+0xa6 encoding/json/decode.go:1183 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 448] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 32] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1852305 0x185226c 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852304 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x324 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 896] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4620a7 0x1115e87 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1115e86 github.com/lib/pq.parseOpts+0x1c6 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 384] @ 0x5be9e5 0x5bc1ff 0x5c0778 0x5c06bf 0x5be6e2 0x5bea71 0x5bc1ff 0x5c05be 0x5c4cdc 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c0777 crypto/ecdsa.addASN1IntBytes+0x77 crypto/ecdsa/ecdsa.go:315 # 0x5c06be crypto/ecdsa.encodeSignature.func1+0x3e crypto/ecdsa/ecdsa.go:299 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c05bd crypto/ecdsa.encodeSignature+0xbd crypto/ecdsa/ecdsa.go:298 # 0x5c4cdb crypto/ecdsa.signFIPS[...]+0xfb crypto/ecdsa/ecdsa.go:255 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 48] @ 0x16b0918 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x4125d4 0xb08baa 0xb089e5 0x483fe1 # 0xb08ba9 github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xa9 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:177 # 0xb089e4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:156 0: 0 [9: 288] @ 0x4cf905 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cf904 os.(*File).readdir+0xa4 os/dir_unix.go:51 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 2112] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 96] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [10: 1280] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x204f317 0x204f2cf 0x2040585 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204f316 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).UpdateActivity+0x96 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:459 # 0x204f2ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateWebConnUserActivity+0x4e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:252 # 0x2040584 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:281 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x25d9350 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25d934f github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x1cf github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 528] @ 0x18516f6 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18516f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:452 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x461d32 0x4612a5 0x46140a 0x1f6ffcf 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f6ffce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:287 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x74e86b 0x5732f5 0x5735ad 0x754d0d 0x7549ea 0x20a6d6f 0x1a0c6c9 0x1a0c12e 0x1a087d8 0x1a09474 0x1a918ac 0x1a9189f 0x24e20df 0x24e3b66 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e86a net/http.(*chunkWriter).Write+0x8a net/http/server.go:383 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0x754d0c net/http.(*response).write+0x28c net/http/server.go:1702 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x20a6d6e github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:99 # 0x1a0c6c8 github.com/klauspost/compress/flate.(*huffmanBitWriter).writeTokens+0x2e8 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:896 # 0x1a0c12d github.com/klauspost/compress/flate.(*huffmanBitWriter).writeBlockDynamic+0x86d github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:768 # 0x1a087d7 github.com/klauspost/compress/flate.(*compressor).storeFast+0x277 github.com/klauspost/compress@v1.18.0/flate/deflate.go:767 # 0x1a09473 github.com/klauspost/compress/flate.(*compressor).close+0x33 github.com/klauspost/compress@v1.18.0/flate/deflate.go:891 # 0x1a918ab github.com/klauspost/compress/flate.(*Writer).Close+0xcb github.com/klauspost/compress@v1.18.0/flate/deflate.go:991 # 0x1a9189e github.com/klauspost/compress/gzip.(*Writer).Close+0xbe github.com/klauspost/compress@v1.18.0/gzip/gzip.go:281 # 0x24e20de github.com/klauspost/compress/gzhttp/writer/gzkp.(*pooledWriter).Close+0x1e github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:54 # 0x24e3b65 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x345 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:374 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x653590 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x65358f crypto/x509.checkSignature+0x1ef crypto/x509/x509.go:994 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1736ff6 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1736ff5 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2432793 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2432792 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x192 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x17cb4cc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17cb4cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1672 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x186fd91 0x186fd43 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x186fd90 github.com/mattermost/squirrel.SelectBuilder.Join+0x170 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x186fd42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x122 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1177 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 9152] @ 0x17c526a 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x909 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1199 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 896] @ 0xc13a09 0x2468c08 0x246c1e8 0xbf187e 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x2468c07 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getSharedChannelsService+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/shared_channel.go:22 # 0x246c1e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x47 github.com/mattermost/mattermost/server/v8/channels/app/status.go:74 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x16a99a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 5184] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 672] @ 0x446b89 0x458d66 0xb0826f 0x113e93d 0x483fe1 # 0xb0826e github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0xce github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:58 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [4: 192] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x6014a5 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6014a4 net.(*Resolver).goLookupIPCNAMEOrder+0x1564 net/dnsclient_unix.go:735 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 16] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 96] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 2048] @ 0x2717a28 0x27179df 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2717a27 crypto/internal/fips140/bigmod.NewNat+0x1e7 crypto/internal/fips140/bigmod/nat.go:72 # 0x27179de crypto/internal/fips140/ecdsa.randomPoint[...]+0x19e crypto/internal/fips140/ecdsa/ecdsa.go:249 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18687c5 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18687c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:529 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2432793 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2432792 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x192 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x175b594 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 832] @ 0x23d41f4 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23d41f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x53 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:388 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 240] @ 0x16b1585 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 2080] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x16b0e85 0x16b0e53 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xc0e56c 0xc0e56d 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e56b github.com/tinylib/msgp/msgp.ReadStringBytes+0xd2b github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e56c github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xd2c github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c58ba 0x17c586f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c58b9 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3f9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c586e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x3ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1254 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x2649629 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2649628 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:353 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17ad3f0 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17ad3ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x36f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 384] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25de709 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de708 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x682037 0x681b78 0x696c09 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696c08 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x288 crypto/tls/handshake_client_tls13.go:665 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x64f451 0x64f3e0 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64f450 crypto/x509.newPolicyGraph+0xb0 crypto/x509/verify.go:1299 # 0x64f3df crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1419 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x76b4ad 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x76b4ac net/http.(*Transport).getConn+0x16c net/http/transport.go:1497 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16b4448 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4447 github.com/mattermost/squirrel.(*updateData).ToSql+0x127 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 168] @ 0x182ffab 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182ffaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x10a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:106 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x5be9e5 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c185 0x125ecbd 0x1260b39 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125ecbc github.com/jmoiron/sqlx.(*Row).scanAny+0x2bc github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 168] @ 0x16b0f34 0x16b0e53 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17a2605 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17a2604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:80 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x703d25 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x703d24 net/http.setRequestCancel+0x504 net/http/client.go:414 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7a09f8 0x79e8f5 0x7a0945 0x207059a 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7a09f7 regexp.(*Regexp).FindAllString.func1+0x57 regexp/regexp.go:1120 # 0x79e8f4 regexp.(*Regexp).allMatches+0x2d4 regexp/regexp.go:810 # 0x7a0944 regexp.(*Regexp).FindAllString+0x64 regexp/regexp.go:1118 # 0x2070599 github.com/Masterminds/semver/v3.NewConstraint+0x139 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:41 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ed25 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111ed24 github.com/lib/pq.(*conn).processParameterStatus+0x104 github.com/lib/pq@v1.10.9/conn.go:1783 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x56458a 0x5f9933 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5f9932 net.(*sysDialer).dialSerial+0xf2 net/dial.go:664 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x179f60f 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x179f60e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 72] @ 0x16b1634 0x16b15db 0x1817c58 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817c57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1152] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17cb5fc 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17cb5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1677 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x27330fc 0x2738225 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x27330fb crypto/internal/fips140/hkdf.Expand[...]+0x23b crypto/internal/fips140/hkdf/hkdf.go:44 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x5d158a 0x6465cd 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5d1589 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xc9 crypto/x509/pkix/pkix.go:151 # 0x6465cc crypto/x509.parseCertificate+0x6ac crypto/x509/parser.go:984 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x12575bb 0x125c637 0x182b7ac 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x651769 0x64f90a 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x651768 crypto/x509.(*policyGraph).incrDepth+0x23c8 crypto/x509/verify.go:1393 # 0x64f909 crypto/x509.policiesValid+0x569 crypto/x509/verify.go:1457 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1817bdc 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817bdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x682037 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 176] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd8c5 0x2429927 0x2427445 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2429926 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:872 # 0x2427444 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x204 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:646 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x177b38d 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x177b38c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x26c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17cb367 0x17cb30d 0x17cb303 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17cb366 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x466 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17cb30c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x40c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17cb302 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1669 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7a399 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x171e025 0x172dd3a 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171e024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x172dd39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1525 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x204c7c5 0x204c79b 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x204c7c4 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0xbe4 github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x204c79a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xbba github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:980 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 112] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x1858875 0x18587b1 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x539cff 0x207afe5 0x207af8e 0x207c8f9 0x208de34 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x207afe4 strings.SplitN+0x484 strings/strings.go:333 # 0x207af8d github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x42d github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:312 # 0x207c8f8 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x178 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:467 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c1cd0 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1ccf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x58f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:896 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x53df7e 0x54e3fa 0x23a6a6b 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x23a6a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x60a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 240] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1440] @ 0x5474d6 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x11b0fb0 0x11b0f3e 0x11b0f1d 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11b0faf net/textproto.MIMEHeader.Set+0xaf net/textproto/header.go:22 # 0x11b0f3d net/http.Header.Set+0x3d net/http/header.go:40 # 0x11b0f1c github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0x1c github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:18 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0xaf7f66 0x114faeb 0x114fa9f 0x1197af4 0x23a43d2 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x23a078e 0x23a51d2 0x23a5cff 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x114faea net/rpc.(*Client).Call+0x10a net/rpc/client.go:321 # 0x114fa9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:934 # 0x1197af3 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:245 # 0x23a43d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x23a078d github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xed github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 1408] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25e3f25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3f24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:679 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x22b27fa 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x22b27f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x99 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:190 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x173b2ce 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173b2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x118d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x23818c8 0x23818f2 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23818c7 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x35c7 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x23818f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x35f1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:378 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1817beb 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817bea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x10a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 19456] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x548a63 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17bde05 0x17bdda9 0x17bdd9f 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17bde04 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x364 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17bdda8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17bdd9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x2fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:590 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 38912] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2240] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 3072] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3840] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c232c 0x17c205e 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c232b github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x30b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c205d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:928 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 491520] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2514944] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 960] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 1456] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 6912] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24] @ 0x897945 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x897944 github.com/mattermost/go-i18n/i18n/language.Parse+0x544 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x2716350 0x65d785 0x6bf1be 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 2048] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x52f475 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52f474 fmt.newScanState+0xb4 fmt/scan.go:388 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25354bb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25354ba github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x6ba github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:488 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x261da5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x261da5a github.com/mattermost/mattermost/server/v8/channels/api4.getOnboarding+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/system.go:1002 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54771b 0x544613 0x5443d2 0x54eb70 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54771a encoding/json.mapEncoder.encode+0x49a encoding/json/encode.go:782 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17393bf 0x16c5107 0x1fd954d 0x1f6f146 0x22cf329 0x25382c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17393be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2445 # 0x16c5106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1937 # 0x1fd954c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1617 # 0x1f6f145 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:182 # 0x22cf328 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2362 # 0x25382c4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:737 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x10ce665 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f1c5 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x944 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x2425bc5 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2425bc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:490 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5275a6 0xc15017 0xb8dbe8 0x253c10a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc15016 github.com/mattermost/mattermost/server/public/model.Etag+0x196 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xb8dbe7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x253c109 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1091 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18729cf 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x18729ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x24e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173ac10 0x173ab07 0x173aaf8 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173ac0f github.com/lann/builder.Append+0xacf github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173ab06 github.com/mattermost/squirrel.UpdateBuilder.Set+0x9c6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173aaf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x9b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2558 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b0efc 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 480] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 11520] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aa3b4 0x16aa392 0x16aaa5a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa3b3 github.com/mattermost/squirrel.getSortedKeys+0xf3 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16aa391 github.com/mattermost/squirrel.Lt.toSql+0xd1 github.com/mattermost/squirrel@v0.5.0/expr.go:322 # 0x16aaa59 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 288] @ 0x5275a6 0x16aae05 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1120] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17e54ad 0x16e16e4 0x1ff92e4 0x24344fe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x17e54ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x28c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x16e16e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9404 # 0x1ff92e3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7476 # 0x24344fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0xa3d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x262ac5e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x262ac5d github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/team.go:689 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 2432] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af085 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af084 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:96 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 20480] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 196608] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 672] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x265f65e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x265f65d github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 576] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x183061d 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183061c github.com/mattermost/squirrel.UpdateBuilder.Set+0x55c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 7680] @ 0x1a0a4c5 0x1a0a52c 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a4c4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x164 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a52b github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1cb github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:152 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x1869bb5 0x18696ff 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1869bb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x114 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:648 # 0x18696fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:616 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 12672] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1122db5 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1122db4 github.com/lib/pq.NewConnector+0x54 github.com/lib/pq@v1.10.9/connector.go:56 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [11: 90112] @ 0x4bab53 0x48ea11 0x4bb908 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74ea69 0x754e25 0x755be5 0x483fe1 # 0x4bab52 io.init.func1+0x32 io/io.go:657 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4bb907 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74ea68 net/http.(*chunkWriter).close+0x28 net/http/server.go:408 # 0x754e24 net/http.(*response).finishRequest+0x64 net/http/server.go:1717 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [2: 320] @ 0x24e265a 0x48ea11 0x24e4539 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24e2659 github.com/klauspost/compress/gzhttp.init.func1+0x19 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:458 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x24e4538 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x218 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:490 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x535245 0x535350 0x53a585 0x569b7f 0x1643ee5 0x1643e96 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x1643ee4 path/filepath.Join+0x164 path/filepath/path.go:131 # 0x1643e95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x115 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 36864] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 24320] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 4608] @ 0x645f65 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x645f64 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:884 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [8: 38912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0x24e4539 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x24e4538 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x218 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:490 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 384] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17c1a65 0x17c1a07 0x17c1a15 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c1a64 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x324 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c1a06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c1a14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:890 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1735625 0x17355c6 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1735624 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17355c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2016] @ 0x5aeaba 0x5aead0 0x271626f 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 672] @ 0x5aeaba 0x5aead0 0x2715b22 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2715b21 crypto/internal/fips140/ecdsa.newDRBG[...]+0xe1 crypto/internal/fips140/ecdsa/hmacdrbg.go:60 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25e37e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25e37e6 github.com/mattermost/mattermost/server/v8/channels/api4.deletePost+0x6c6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x535245 0x535350 0x53a585 0x171fa05 0x17421f8 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x171fa04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:376 # 0x17421f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x377 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x5f8fed 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x5f8fec net.(*sysDialer).dialParallel+0x22c net/dial.go:619 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 112] @ 0x56458a 0x7673b7 0x776853 0x702f82 0x702831 0x704e49 0x124c165 0x124c156 0x2434369 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7673b6 net/http.(*Transport).roundTrip+0x9f6 net/http/transport.go:667 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x124c164 net/http.(*Client).Do+0x344 net/http/client.go:587 # 0x124c155 github.com/mattermost/mattermost/server/v8/channels/utils.GetURLWithCache+0x335 github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:146 # 0x2434368 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x8a8 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:344 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 184320] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 1024] @ 0x270e339 0x270e2f6 0x270e2fa 0x270e93a 0x270d328 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270e939 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:741 # 0x270d327 crypto/internal/fips140/bigmod.rr+0x1e7 crypto/internal/fips140/bigmod/nat.go:491 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 2048] @ 0x4b2379 0x4b3937 0x4b1470 0x124b57c 0x239edb0 0x239beec 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x4b2378 time.LoadLocationFromTZData+0xc78 time/zoneinfo_read.go:283 # 0x4b3936 time.loadLocation+0xb6 time/zoneinfo_read.go:535 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239edaf github.com/mattermost/mattermost/server/v8/channels/app.getDirectMessageNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:274 # 0x239beeb github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x60b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:59 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 768] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 624] @ 0x26d6fc6 0x26dd3d4 0x2715dde 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26d6fc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:133 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x2715ddd crypto/internal/fips140/ecdsa.newDRBG[...]+0x39d crypto/internal/fips140/ecdsa/hmacdrbg.go:92 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 81920] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 704512] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3080192] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x90ef25 0x90eed3 0x90eff4 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x90ef24 bufio.NewReaderSize+0x184 bufio/bufio.go:57 # 0x90eed2 bufio.NewReader+0x132 bufio/bufio.go:63 # 0x90eff3 compress/zlib.(*reader).Reset+0x253 compress/zlib/reader.go:138 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x112ae3f 0x112ad7f 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112ae3e github.com/lib/pq.ParseURL.func1+0x7fe github.com/lib/pq@v1.10.9/url.go:46 # 0x112ad7e github.com/lib/pq.ParseURL+0x73e github.com/lib/pq@v1.10.9/url.go:66 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 5152] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 576] @ 0x12575bb 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 22528] @ 0x69db15 0x69dae5 0x69d9f7 0x5be6e2 0x5bea71 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69db14 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69dae4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69d9f6 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 640] @ 0x4e1b85 0x4e1e19 0x16ab525 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab524 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x16b4669 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b4668 github.com/mattermost/squirrel.(*updateData).ToSql+0x348 github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 2496] @ 0x8fdd06 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdd05 golang.org/x/net/html.(*Tokenizer).Token+0x205 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239ba03 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239ba02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 5636096] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x5be9e5 0x69e654 0x69e633 0x5be6e2 0x5bea71 0x69a8fd 0x69a79d 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69e653 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e632 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 528] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x175b80d 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b80c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xa4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:436 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aa66c 0x16aaa5a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aa66b github.com/mattermost/squirrel.Lt.toSql+0x3ab github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa59 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x17b03a7 0x17b0373 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b03a6 github.com/mattermost/squirrel.newPart+0x266 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17b0372 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x24f84b0 0x24f85ec 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f84af github.com/mattermost/mattermost/server/public/shared/request.NewContext+0x40f github.com/mattermost/mattermost/server/public/shared/request/context.go:30 # 0x24f85eb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x54b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:183 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 96] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17b5baf 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b5bae github.com/mattermost/squirrel.SelectBuilder.From+0x2ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 240] @ 0xbc1b59 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1b58 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x198 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x18308a7 0x18307e0 0x18307de 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18308a6 github.com/lann/builder.Append+0x7e6 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18307df github.com/mattermost/squirrel.UpdateBuilder.Set+0x71f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18307dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:128 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 256] @ 0x543d27 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b15eb 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18687c5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18687c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:529 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 1456] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f6f566 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f6f565 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:227 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0xc0e35d 0xc0e35e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e35c github.com/tinylib/msgp/msgp.ReadStringBytes+0xb1c github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e35d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb1d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 416] @ 0x4d8da8 0x4d89ec 0x617af8 0x605edf 0x606afd 0x5ffc47 0x5ffff4 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x617af7 net.stat+0x17 net/parse.go:84 # 0x605ede net.readHosts+0xfe net/hosts.go:59 # 0x606afc net.lookupStaticHost+0xbc net/hosts.go:132 # 0x5ffc46 net.goLookupIPFiles+0x26 net/dnsclient_unix.go:590 # 0x5ffff3 net.(*Resolver).goLookupIPCNAMEOrder+0xb3 net/dnsclient_unix.go:612 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [2: 128] @ 0x709152 0x23f9dbb 0x23f9db2 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9dba net/http.(*Request).Cookies+0x45a net/http/request.go:429 # 0x23f9db1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x451 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:194 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x16b07a8 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24f3994 0x24f3924 0x24f3909 0x264acac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f3993 net/textproto.MIMEHeader.Set+0x153 net/textproto/header.go:22 # 0x24f3923 net/http.Header.Set+0xe3 net/http/header.go:40 # 0x24f3908 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).HandleEtag+0xc8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:226 # 0x264acab github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1ab github.com/mattermost/mattermost/server/v8/channels/api4/user.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x545e9d 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x545e9c encoding/json.boolEncoder+0x1dc encoding/json/encode.go:519 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 576] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 16] @ 0x1f79a2f 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f79a2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:97 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184fde5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fde4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:301 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b1634 0x16b15db 0x184e1cd 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 320] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x16b080f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x49cac5 0x49d6b2 0x619e50 0x61973b 0x60e6b8 0x621587 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49d6b1 syscall.Getpeername+0x71 syscall/syscall_unix.go:309 # 0x619e4f net.(*netFD).dial+0x60f net/sock_posix.go:142 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [6: 1728] @ 0x1f5225e 0x1f5220c 0x483fe1 # 0x1f5225d github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x89d github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x1f5220b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x84b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:90 0: 0 [16: 14336] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 3744] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x175b7f0 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b7ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xa2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:436 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x26cb806 0x26dd3d4 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 304] @ 0x5437e7 0x5437d0 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x752347 0x751ef7 0x20a7c32 0x11986ee 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x11986ed github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb79db9 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7bec5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb79db8 github.com/vmihailenco/msgpack/v5.encodeMapValue+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:16 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7bec4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:130 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x52f3fd 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x52f3fc fmt.newScanState+0x3c fmt/scan.go:384 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x62f253 0x62f2a1 0x62ee4f 0x62e809 0x112a66a 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62f252 net/url.UserPassword+0x292 net/url/url.go:400 # 0x62f2a0 net/url.parseAuthority+0x2e0 net/url/url.go:618 # 0x62ee4e net/url.parse+0x3ee net/url/url.go:568 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x112a669 github.com/lib/pq.ParseURL+0x29 github.com/lib/pq@v1.10.9/url.go:33 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e9c5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184e9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x185263f 0x18525f7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185263e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 2080] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x461d32 0x4612a5 0x46140a 0x4c2ee5 0x4c2ee6 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2ee4 internal/filepathlite.(*lazybuf).string+0x844 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 40896] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [9: 576] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x184de07 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184de06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x206 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 832] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f5b0 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:262 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x1839236 0x1839636 0x1842098 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1839235 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x595 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:146 # 0x1839635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:185 # 0x1842097 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:986 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x53e4bd 0x53df65 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x53df64 encoding/json.(*decodeState).unmarshal+0x104 encoding/json/decode.go:175 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1852691 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x5275a6 0x16a9a36 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x17f281c 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 48] @ 0xbfb57a 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb579 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xdb9 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 786432] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x17c6d2e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6d2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 640] @ 0x71843f 0x6fb8b9 0x6fb7c5 0x6fb0b2 0x6faef0 0x7177d2 0x712b16 0x7376fa 0x736b19 0x483fe1 # 0x71843e net/http.(*http2Framer).readMetaFrame.func1+0x2fe net/http/h2_bundle.go:3146 # 0x6fb8b8 vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x78 vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x6fb7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x464 vendor/golang.org/x/net/http2/hpack/hpack.go:396 # 0x6fb0b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x6faeef vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x12f vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x7177d1 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3184 # 0x712b15 net/http.(*http2Framer).ReadFrame+0x3b5 net/http/h2_bundle.go:2097 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [4: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 3456] @ 0x48edbc 0x48ec06 0x48e97c 0x4bb908 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74e817 0x5732f5 0x754e05 0x755be5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4bb907 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74e816 net/http.(*chunkWriter).Write+0x36 net/http/server.go:376 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x754e04 net/http.(*response).finishRequest+0x44 net/http/server.go:1715 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [3: 48] @ 0x6cf347 0x6cf172 0x24f8c92 0x24f8c81 0x24f8ab3 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x24f8c91 net/textproto.MIMEHeader.Set+0xbf1 net/textproto/header.go:22 # 0x24f8c80 net/http.Header.Set+0xbe0 net/http/header.go:40 # 0x24f8ab2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa12 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1f83aa5 0x24364e8 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83aa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Reaction+0x64 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:413 # 0x24364e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 256] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a99d5 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b0611 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b0610 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 3120] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbdcac5 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 192] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 896] @ 0x175cc85 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x824 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x409dd2 0x408e4d 0x40d905 0x26119a5 0x2611916 0x26118f8 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x26119a4 net/textproto.MIMEHeader.Set+0x1044 net/textproto/header.go:22 # 0x2611915 net/http.Header.Set+0xfb5 net/http/header.go:40 # 0x26118f7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf97 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:192 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 7168] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17b042f 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b042e github.com/mattermost/squirrel.SelectBuilder.From+0x2ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 112] @ 0x408f2e 0x40e3fc 0xae2f4f 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f4e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1186 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [8: 128] @ 0x16a3970 0x16a3bc5 0x16b1abb 0x16b19b3 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184e336 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:160 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x185096e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x185096d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x124d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:359 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x202a2f0 0x245b70f 0x245b70a 0x245a6d7 0xbf187e 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x202a2ef github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x8af github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:84 # 0x245b70e github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b709 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1314 # 0x245a6d6 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1209 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 288] @ 0x2029a85 0x2029a66 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x2029a84 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x44 github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x2029a65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:50 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 1120] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x18308d1 0x18307e0 0x18307de 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18308d0 github.com/lann/builder.Append+0x810 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18307df github.com/mattermost/squirrel.UpdateBuilder.Set+0x71f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18307dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:128 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [6: 384] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [52: 106496] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 48] @ 0x16a3970 0x18525bf 0x1852506 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x18525be github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1852505 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 432] @ 0xb12666 0xb1271c 0xb1261b 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb12665 container/list.New+0x65 container/list/list.go:62 # 0xb1271b github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb1261a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0xbdb429 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdb428 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x128 github.com/mattermost/mattermost/server/public/model/post.go:907 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2816] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1852777 0x18526d7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1852776 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x356 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 8064] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x110e26e 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x110e26d github.com/lib/pq/scram.(*Client).serverSignature+0x1cd github.com/lib/pq@v1.10.9/scram/scram.go:261 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c6dd4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6dd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 136] @ 0x50f21d 0xafb2dc 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2db net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:562 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 80] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x18515ba 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18515b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x2b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:420 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 32640] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b0a7c 0x184ffd2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184ffd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 312] @ 0x4aaf08 0x93154b 0x93153a 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x93154a time.After+0x2a time/sleep.go:203 # 0x931539 github.com/hashicorp/yamux.(*Session).keepalive+0x19 github.com/hashicorp/yamux@v0.1.2/session.go:367 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x18526e5 0x11adcb0 0x483fe1 # 0x18526e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x6311e5 0x6324d9 0x6324af 0x266e225 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e224 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3446 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 7168] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1536] @ 0x48edbc 0x48ec06 0x48e8d4 0x776ca9 0x75508d 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e8d3 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x776ca8 net/http.putBufioReader+0x128 net/http/server.go:873 # 0x75508c net/http.(*conn).finalFlush+0x2c net/http/server.go:1784 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [13: 2080] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 720] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x54425e 0x54eb07 0xc178ff 0x2048b50 0x2047f27 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x54eb06 encoding/json.(*Encoder).Encode+0x66 encoding/json/stream.go:207 # 0xc178fe github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xbe github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 160] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184fd8c 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fd8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x66b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:301 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 4224] @ 0x12578b9 0x125c637 0x1829914 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184fe48 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 768] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x18533e5 0x18533c3 0x18533a8 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18533e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18533c2 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x18533a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x461d32 0x4612a5 0x46140a 0x171dca5 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:129 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x184fca5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18526b9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 176] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184e8d3 0x184e81a 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e8d2 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x175c755 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c754 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 24192] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x184faf2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184faf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x3d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:291 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 512] @ 0x270c5cd 0x2731e0f 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2731e0e crypto/internal/fips140/rsa.encrypt+0x10e crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x539fb5 0x22af465 0x22af466 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af464 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x84 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x22af465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x85 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 240] @ 0x76b558 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x76b557 net/http.(*Transport).getConn+0x217 net/http/transport.go:1504 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 1120] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x48edbc 0x48ec06 0x48e97c 0x526fde 0x527570 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x526fdd fmt.newPrinter+0x1d fmt/print.go:152 # 0x52756f fmt.Sprintf+0x2f fmt/print.go:238 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [11: 4928] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [21: 6720] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179d125 0x179d01d 0x179d00b 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179d124 github.com/lann/builder.Append+0x244 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179d01c github.com/mattermost/squirrel.UpdateBuilder.Set+0x13c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d00a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x12a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:202 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 9216] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 384] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 3680] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 24640] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b0a6b 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1200] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185392c 0x18538e0 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185392b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5eb github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18538df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x59f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17920f3 0x179214d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17920f2 github.com/mattermost/squirrel.SelectBuilder.PlaceholderFormat+0x572 github.com/mattermost/squirrel@v0.5.0/select.go:177 # 0x179214c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 168] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [14: 2688] @ 0xc135ec 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc135eb github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x12b github.com/mattermost/mattermost/server/public/model/utils.go:315 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af1f5 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af1f4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3f4 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2016] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x407ff2 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5275a6 0x16aa6cd 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aa6cc github.com/mattermost/squirrel.Lt.toSql+0x40c github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x48f312 0x48e925 0x77702e 0x7550db 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x7550da net/http.(*conn).finalFlush+0x7a net/http/server.go:1792 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [14: 448] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x179ca5b 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x179ca5a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x79a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [11: 3520] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 480] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16a52c5 0x16a52b4 0x16a5233 0x184fe9e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a52c4 github.com/mattermost/squirrel.newPart+0xa4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16a52b3 github.com/mattermost/squirrel.newWhenPart+0x93 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x184fe9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x250cb1f 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250cb1e github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x13e net/http/server.go:2352 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x26043e5 0x2604ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x26043e4 github.com/mattermost/mattermost/server/v8/channels/api4.requireScheduledPostsEnabled+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:52 # 0x2604ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamScheduledPosts+0x44 github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:100 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 384] @ 0x60d5bd 0x60d5fb 0x124bd6b 0x24f83eb 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x60d5bc net.SplitHostPort.func1+0x4fc net/ipsock.go:171 # 0x60d5fa net.SplitHostPort+0x53a net/ipsock.go:178 # 0x124bd6a github.com/mattermost/mattermost/server/v8/channels/utils.GetIPAddress+0x14a github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:111 # 0x24f83ea github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x34a github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:186 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f51a 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x659 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:251 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0e85 0x16b0e53 0x184f0f9 0x184f0b1 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f0f8 github.com/mattermost/squirrel.SelectBuilder.Join+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f0b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 512] @ 0x24a88ca 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a88c9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2709 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1456] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xc15085 0xc14fe7 0xbde0b8 0x25e4557 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc15084 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc14fe6 github.com/mattermost/mattermost/server/public/model.Etag+0x166 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xbde0b7 github.com/mattermost/mattermost/server/public/model.(*PostList).Etag+0x1d7 github.com/mattermost/mattermost/server/public/model/post_list.go:181 # 0x25e4556 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x9d6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:738 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 168] @ 0x11197a5 0x111a216 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11197a4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.10.9/conn.go:1047 # 0x111a215 github.com/lib/pq.(*conn).startup+0x615 github.com/lib/pq@v1.10.9/conn.go:1189 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x118d5ce 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x118d5cd github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x18d github.com/mattermost/mattermost/server/public/plugin/environment.go:102 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e088 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184e087 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:143 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 240] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x17c6b75 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6b74 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3b4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 9600] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184ff25 0x184fe9f 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184ff24 github.com/mattermost/squirrel.CaseBuilder.Else+0x804 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x184fe9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:307 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48f2f9 0x48e925 0xaeb7b2 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xaeb7b1 encoding/gob.(*Encoder).encodeInterface+0x911 encoding/gob/encode.go:426 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [8: 896] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1852777 0x18526d7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852776 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x356 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1870365 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1870364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1199 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x5275a6 0x16aae05 0x16be4a5 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x184de07 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184de06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x206 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x539cff 0x2077d85 0x2077d68 0x24315fb 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x2077d84 strings.Split+0x44 strings/strings.go:361 # 0x2077d67 github.com/reflog/dateconstraints.NewConstraint+0x27 github.com/reflog/dateconstraints@v0.2.1/constraints.go:25 # 0x24315fa github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x5da github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:68 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x183dc25 0x183dbc9 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x183dc24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x183dbc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:645 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x79d2d8 0x1829e25 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x79d2d7 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:600 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x184e30c 0x184e263 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184e30b github.com/mattermost/squirrel.Expr+0xcb github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184e262 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:160 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 624] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0xc468d0 0x24fc6e4 0x24fc5e6 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0xc468cf github.com/mattermost/mattermost/server/public/shared/request.(*Context).T+0x2f github.com/mattermost/mattermost/server/public/shared/request/context.go:64 # 0x24fc6e3 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0xa03 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0x24fc5e5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x905 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:413 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x12578b9 0x125c637 0x1829914 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x24fa94f 0x24f9bbc 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24fa94e github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x28ae github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x409dd2 0x408e4d 0x40d905 0x54386d 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184f7c5 0x184f7a1 0x184f786 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184f7c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184f7a0 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x184f785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1831138 0x1831042 0x1831030 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1831137 github.com/lann/builder.Append+0x217 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1831041 github.com/mattermost/squirrel.UpdateBuilder.Set+0x121 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183102f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x10f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:165 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x179aa70 0x179aa12 0x179aa11 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x179aa6f github.com/mattermost/squirrel.InsertBuilder.Into+0x1ef github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x179aa11 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x191 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x179aa10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:65 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0xaeaf88 0xaeaf54 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeaf87 encoding/gob.(*Encoder).newEncoderState+0xe7 encoding/gob/encode.go:82 # 0xaeaf53 encoding/gob.(*Encoder).encodeInterface+0xb3 encoding/gob/encode.go:392 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [4: 192] @ 0x461d32 0x4612a5 0x46140a 0x1728525 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728524 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x54373c 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54373b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1074 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0918 0x184dcd7 0x184dcb1 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1728] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xb0fc90 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fc8f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x28f github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 2560] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e27d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e27c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3447 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 320] @ 0x5bcf85 0x644f5a 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x644f59 crypto/x509.processExtensions+0xed9 crypto/x509/parser.go:852 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [12: 6144] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x631625 0x6315bd 0x23f9f08 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x631624 strings.(*Builder).WriteString+0x344 strings/builder.go:108 # 0x6315bc net/url.Values.Encode+0x2dc net/url/url.go:1015 # 0x23f9f07 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5a7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:205 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 11264] @ 0x1a0a506 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:147 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [18: 144] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184eba5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184eba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:209 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x184ffd2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184ffd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1736f89 0x1736ecd 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1736f88 github.com/mattermost/squirrel.SelectBuilder.From+0x1e8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1736ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2230 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x184f2d0 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f2cf github.com/mattermost/squirrel.SelectBuilder.Join+0x40f github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f25c 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f25b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x172042c 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x172042b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x36b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:451 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2488365 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2488364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1919 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xc1612b 0xc160cb 0xc0eb5b 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1612a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc160ca github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1120] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x48edbc 0x48ec06 0x48e97c 0xb6f358 0xb6f34c 0x10ceb68 0x10cf791 0x10cf693 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb6f357 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xb6f34b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1120] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1440] @ 0x2422505 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422504 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:123 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25354bb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25354ba github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x6ba github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:488 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17b04cd 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b04cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x38c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x409dd2 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x175b055 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b054 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:413 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x2611945 0x2611916 0x26118f8 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2611944 net/textproto.MIMEHeader.Set+0xfe4 net/textproto/header.go:22 # 0x2611915 net/http.Header.Set+0xfb5 net/http/header.go:40 # 0x26118f7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf97 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:192 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 9856] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x18301b9 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18301b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:120 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 2560] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 16] @ 0x16b15eb 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 12288] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x24277f9 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x24277f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x118 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:691 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x186c599 0x186c51b 0x16f6375 0x2010eb6 0x2494254 0x249463c 0x2650f73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x186c598 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x186c51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:833 # 0x16f6374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15269 # 0x2010eb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12032 # 0x2494253 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:591 # 0x249463b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:634 # 0x2650f72 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f72 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 327680] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16aad15 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0xb0c569 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c568 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x48 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:51 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5632] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x184f5b0 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:262 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x5275a6 0xc15017 0xb8dbe8 0x253c10a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc15016 github.com/mattermost/mattermost/server/public/model.Etag+0x196 github.com/mattermost/mattermost/server/public/model/utils.go:699 # 0xb8dbe7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x253c109 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1091 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69f3b4 0x69f393 0x5be6e2 0x5bea71 0x6992a5 0x69917d 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69f3b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69f392 crypto/tls.(*clientHelloMsg).marshalMsg.func2+0x12 crypto/tls/handshake_messages.go:122 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6992a4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x3c4 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69917c crypto/tls.(*clientHelloMsg).marshalMsg+0x29c crypto/tls/handshake_messages.go:121 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 896] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x1728585 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1123 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 1920] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 320] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 704] @ 0x12578b9 0x125c637 0x182b7ac 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x265f65e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x265f65d github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x16b07a8 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x126023e 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x126023d github.com/jmoiron/sqlx.scanAll+0x95d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:988 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1280] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x543188 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543187 encoding/json.(*decodeState).literalStore+0x1f67 encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1408] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x1863df3 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1863df2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:227 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 53504] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 32] @ 0x16b6aec 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b6aeb github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 672] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184dd88 0x184dcd8 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184dd87 github.com/mattermost/squirrel.SelectBuilder.From+0x187 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184dcd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 720] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184dd88 0x184dcd8 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184dd87 github.com/mattermost/squirrel.SelectBuilder.From+0x187 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184dcd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 120] @ 0x16b0f34 0x16b0e53 0x185263f 0x18525f7 0x11adcb0 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185263e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 144] @ 0x503ca6 0x51542d 0xae65e5 0xae65cb 0xaea458 0xaecd39 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0xae65e4 reflect.Value.Interface+0x44 reflect/value.go:1484 # 0xae65ca encoding/gob.encStringSlice+0x2a encoding/gob/enc_helpers.go:292 # 0xaea457 encoding/gob.(*Encoder).encodeArray+0x437 encoding/gob/encode.go:339 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x539cff 0x111cf5c 0x111cf3c 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x111cf5b strings.Split+0x27b strings/strings.go:361 # 0x111cf3b github.com/lib/pq.(*conn).parseComplete+0x25b github.com/lib/pq@v1.10.9/conn.go:1500 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 32] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110dbbe 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dbbd github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.10.9/scram/scram.go:217 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x12575bb 0x125c637 0x182a1ef 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x173a290 0x173a261 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x173a28f github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173a260 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2545 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17f39ed 0x16e3f7a 0x1ffc0ba 0x243566a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17f39ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetUniqueCountForPost+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:157 # 0x16e3f79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10076 # 0x1ffc0b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7988 # 0x2435669 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x189 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:37 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x18172f0 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18172ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:133 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 96] @ 0x16aee3c 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c8c6c 0x17c8c46 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c8c6b github.com/mattermost/squirrel.StatementBuilderType.Select+0xcb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c8c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x6311e5 0x6324d9 0x6324af 0x25e3be9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e3be8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x68 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:638 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 48640] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 672] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x18539fa 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18539f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:574 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1664] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x22d71ec 0x22d71d4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22d71eb github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x4ab github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x22d71d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x493 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3202 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 3584] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x16b0825 0x16b07b9 0x17bde50 0x17bde36 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17bde4f github.com/mattermost/squirrel.StatementBuilderType.Select+0x3af github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17bde35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:591 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x273830f 0x2739435 0x695879 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x273830e crypto/internal/fips140/tls13.extract[...]+0x4e crypto/internal/fips140/tls13/tls13.go:44 # 0x2739434 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x695878 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x258 crypto/tls/handshake_client_tls13.go:511 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817bdc 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817bdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 512] @ 0x48f312 0x48e925 0x54ecd7 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54ecd6 encoding/json.(*Encoder).Encode+0x236 encoding/json/stream.go:234 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 68096] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x11e9c77 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9c76 image/png.(*encoder).writeImage+0x436 image/png/writer.go:353 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 2646016] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 704] @ 0x12575bb 0x125c637 0x1829914 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 96] @ 0x64045c 0x6465aa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64045b crypto/x509.parseName+0x11b crypto/x509/parser.go:146 # 0x6465a9 crypto/x509.parseCertificate+0x689 crypto/x509/parser.go:980 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x17c8d46 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c8d45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1510 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16a4a3b 0x16a3f05 0x16b5734 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17c1ac5 0x17c1a96 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c1ac4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x384 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:891 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0x1f7f3c6 0x230da0f 0x2591b18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x230da0e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpsertDraft+0x16e github.com/mattermost/mattermost/server/v8/channels/app/draft.go:64 # 0x2591b17 github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x4f7 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:55 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x173a34f 0x173a291 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x173a34e github.com/mattermost/squirrel.SelectBuilder.From+0x20e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x173a290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2546 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 32256] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [18: 16128] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb72931 0xb7279e 0xb7067a 0xb73327 0xb7248a 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f70265 0x2392477 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72930 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x130 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:126 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb73326 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c6 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:265 # 0xb72489 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f70264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:311 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2880] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 224] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x17362ec 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17362eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x1cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2142 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x272cd98 0x272d6af 0x5c86d0 0x5c85d2 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x272cd97 crypto/internal/fips140/rsa.emsaPSSVerify+0x3f7 crypto/internal/fips140/rsa/pkcs1v22.go:237 # 0x272d6ae crypto/internal/fips140/rsa.verifyPSS+0x24e crypto/internal/fips140/rsa/pkcs1v22.go:359 # 0x5c86cf crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x32f crypto/internal/fips140/rsa/pkcs1v22.go:323 # 0x5c85d1 crypto/rsa.VerifyPSS+0x231 crypto/rsa/fips.go:169 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 288] @ 0x62eb25 0x62e809 0x747c5f 0x23a74da 0x23a74a6 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x747c5e net/http.NewRequestWithContext+0xbe net/http/request.go:902 # 0x23a74d9 net/http.NewRequest+0x379 net/http/request.go:863 # 0x23a74a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x345 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:565 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x27381e5 0x2737f09 0x695a12 0x6958a8 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x27381e4 crypto/internal/fips140/tls13.ExpandLabel[...]+0x224 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695a11 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x3f1 crypto/internal/fips140/tls13/tls13.go:106 # 0x6958a7 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x287 crypto/tls/handshake_client_tls13.go:516 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [8: 2816] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x772e8e 0x772ee1 0x772e29 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x772e8d net/textproto.MIMEHeader.Set+0x28d net/textproto/header.go:22 # 0x772ee0 net/http.Header.Set+0x2e0 net/http/header.go:40 # 0x772e28 net/http.(*persistConn).roundTrip+0x228 net/http/transport.go:2773 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3360] @ 0x6774b0 0x76c9a5 0x76c98e 0x76d9bc 0x76c318 0x76c155 0x483fe1 # 0x6774af crypto/tls.(*Config).Clone+0x8f crypto/tls/common.go:929 # 0x76c9a4 net/http.cloneTLSConfig+0x64 net/http/transport.go:3086 # 0x76c98d net/http.(*persistConn).addTLS+0x4d net/http/transport.go:1683 # 0x76d9bb net/http.(*Transport).dialConn+0x99b net/http/transport.go:1790 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 1440] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 737280] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17b5849 0x16e045a 0x1ff7dba 0x242f3fe 0x2422c5d 0x2423287 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17b5848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPost+0x368 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:31 # 0x16e0459 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9068 # 0x1ff7db9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7220 # 0x242f3fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:15 # 0x2422c5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x81c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:150 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 576] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x2422492 0x2422486 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 3200] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1735872 0x1735827 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1735871 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x311 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x1735826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2072 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x1120075 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1120074 github.com/lib/pq.parsePortalRowDescribe+0xb4 github.com/lib/pq@v1.10.9/conn.go:1983 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2816] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x2687a74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2687a73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x4b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:86 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c2479 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c2478 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:935 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x17f2886 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17f2885 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x445 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x16aee3c 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae271 0x16ae35d 0x16a4cf7 0x16a4f9d 0x16a5186 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16a4cf6 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x16a4f9c github.com/mattermost/squirrel.(*caseData).ToSql+0x13c github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x16a5185 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 672] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x565d65 0x11b1105 0x11b10d9 0x1816da5 0x1816d8e 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0x11b1104 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0x11b10d8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x1816da4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x1816d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:112 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 240] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x24a7a9a 0x24a7a3f 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7a99 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xb9 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x24a7a3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5e github.com/mattermost/mattermost/server/v8/channels/app/user.go:2619 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4032] @ 0x23a3485 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a3484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x2de4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:207 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 1556480] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x111f16b 0x111836a 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 5632] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17dbb0a 0x17dba31 0x17ba7fe 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17dbb09 github.com/mattermost/squirrel.StatementBuilderType.Select+0x409 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17dba30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3066 # 0x17ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x189d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:232 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16ab7e3 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1779bd1 0x18d1d1b 0x16d04ba 0x1faa7d9 0x1fe5265 0x24034c4 0x2403174 0x240115f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779bd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:220 # 0x18d1d1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:247 # 0x16d04b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4880 # 0x1faa7d8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.AttachToPost+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:122 # 0x1fe5264 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3800 # 0x24034c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:460 # 0x2403173 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x73 github.com/mattermost/mattermost/server/v8/channels/app/post.go:443 # 0x240115e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x175e github.com/mattermost/mattermost/server/v8/channels/app/post.go:362 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 1785856] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2421636 0x240c9db 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421635 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessiblePost+0x55 github.com/mattermost/mattermost/server/v8/channels/app/post_helpers.go:217 # 0x240c9da github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/post.go:1079 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x1816bc8 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1816bc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:95 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1851b3e 0x1851ae6 0x1851ae4 0x11adcb0 0x483fe1 # 0x1851b3d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1851ae5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1851ae3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:453 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 192] @ 0x24f9565 0x24f9534 0x24f951f 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f9564 net/textproto.MIMEHeader.Set+0x14c4 net/textproto/header.go:22 # 0x24f9533 net/http.Header.Set+0x1493 net/http/header.go:40 # 0x24f951e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x147e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:251 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1736ff6 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1736ff5 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1816b97 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1816b96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0x48f2f9 0x48e925 0x931ddb 0x931ac2 0x934ec5 0x9349f2 0x5732f5 0xafa293 0xaf98e5 0xaf9dca 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xafa292 net/rpc.(*gobServerCodec).WriteResponse+0x272 net/rpc/server.go:427 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [21: 6720] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x5275a6 0x16aae05 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x1851371 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851370 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:404 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x17b8617 0x17b85f8 0x17ba5d4 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17b8616 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0x36 github.com/mattermost/mattermost/server/public/model/utils.go:549 # 0x17b85f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:91 # 0x17ba5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 245760] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xc16bcd 0x20522d4 0x2051cd7 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16bcc github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:229 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 256] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16a6114 0x17adb25 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16a6113 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x17adb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x284 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 3584] @ 0x5474d6 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829e57 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829e56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:140 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 11520] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x5bcf85 0x6405dd 0x646425 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6405dc crypto/x509.parseName+0x29c crypto/x509/parser.go:130 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 2688] @ 0x111c77b 0x111c72d 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111c77a github.com/lib/pq.(*writeBuf).bytes+0x45a github.com/lib/pq@v1.10.9/buf.go:77 # 0x111c72c github.com/lib/pq.(*stmt).exec+0x40c github.com/lib/pq@v1.10.9/conn.go:1453 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x461e06 0x2733093 0x2738225 0x6bf185 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2733092 crypto/internal/fips140/hkdf.Expand[...]+0x1d2 crypto/internal/fips140/hkdf/hkdf.go:42 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 1152] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 768] @ 0x461d32 0x4612a5 0x17b8ef3 0x184fa66 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x17b8ef2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:135 # 0x184fa65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x345 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 24] @ 0x408105 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 10240] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 128] @ 0xadbf98 0xadd743 0xaddb45 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb44 encoding/gob.(*Decoder).decodeMap+0x384 encoding/gob/decode.go:606 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 288] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 2016] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x1816bc8 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1816bc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:95 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f1c5 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x944 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 6336] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b0556 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0555 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x415 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:152 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 6240] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2519e4d 0x2519e23 0x2519dc8 0x25194b2 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2519e4c net/textproto.MIMEHeader.Set+0x56c net/textproto/header.go:22 # 0x2519e22 net/http.Header.Set+0x542 net/http/header.go:40 # 0x2519dc7 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x4e7 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:108 # 0x25194b1 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x4c2ee5 0x4c2ee6 0x569b85 0x569b51 0x1643ee5 0x1643e96 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ee4 internal/filepathlite.(*lazybuf).string+0x844 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643ee4 path/filepath.Join+0x164 path/filepath/path.go:131 # 0x1643e95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x115 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x54e9ae 0x54e645 0x54e315 0x25ef7df 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x25ef7de github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0xde github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:23 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 98304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17f2791 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f2790 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0xb11712 0xb125a7 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb11711 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0xb71 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:372 # 0xb125a6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x206 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x2417f37 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x2417f36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x496 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2412 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0x16b0a05 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2007040] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadc81f 0xae05a8 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [38: 1824] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [13: 3744] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1816a75 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1816a74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:92 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x179cb33 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179cb32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 96] @ 0x16ae766 0x16b7a3c 0x16a5bd4 0x16a61bd 0x17adb25 0x16da44e 0x1ff1134 0x2021f76 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16a5bd3 github.com/mattermost/squirrel.(*deleteData).ToSql+0x593 github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17adb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x284 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021f75 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x4f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:238 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 16384] @ 0xb6f97e 0xb6f92b 0xb6f92a 0xb6f53e 0xb6f52f 0xb6f52e 0x20481e5 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f97d bufio.NewReaderSize+0x11d bufio/bufio.go:57 # 0xb6f92a bufio.NewReader+0xca bufio/bufio.go:63 # 0xb6f929 github.com/vmihailenco/msgpack/v5.(*Decoder).ResetReader+0xc9 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:123 # 0xb6f53d github.com/vmihailenco/msgpack/v5.(*Decoder).ResetDict+0x3d github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:98 # 0xb6f52e github.com/vmihailenco/msgpack/v5.(*Decoder).Reset+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:93 # 0xb6f52d github.com/vmihailenco/msgpack/v5.NewDecoder+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:86 # 0x20481e4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x224 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:478 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x4d4f45 0x4d5411 0x4d304c 0x4cf66b 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d5410 os.openDirNolog+0x110 os/file_unix.go:320 # 0x4d304b os.openDir+0x2b os/file.go:408 # 0x4cf66a os.ReadDir+0x4a os/dir.go:119 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x17c8e7a 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c8e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1512 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17c17ee 0x17c1790 0x17c178e 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c17ed github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c178f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c178d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:885 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2560] @ 0x747dd3 0x23a74da 0x23a74a6 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x747dd2 net/http.NewRequestWithContext+0x232 net/http/request.go:912 # 0x23a74d9 net/http.NewRequest+0x379 net/http/request.go:863 # 0x23a74a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x345 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:565 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x544613 0x5443d2 0x54eb70 0xc178ff 0x2048b50 0x2047f27 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xc178fe github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xbe github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 72] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 49152] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 864] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a99d5 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 448] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 864] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 13568] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17cb3ae 0x17cb37f 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17cb3ad github.com/mattermost/squirrel.StatementBuilderType.Select+0x4ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17cb37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1670 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x12575bb 0x125c637 0x1829914 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x272bcb1 0x272c1f7 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x272bcb0 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x272c1f6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 288] @ 0x5be9e5 0x69c38c 0x69c138 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69c38b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x32b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c137 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd7 crypto/tls/handshake_messages.go:366 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 160] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 142080] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 4096] @ 0x4b2379 0x4b3937 0x4b1470 0x124b57c 0x239fb56 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x4b2378 time.LoadLocationFromTZData+0xc78 time/zoneinfo_read.go:283 # 0x4b3936 time.loadLocation+0xb6 time/zoneinfo_read.go:535 # 0x4b146f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x124b57b github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2bb github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x239fb55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x195 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:359 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [13: 18304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18537b0 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18537af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x174170f 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x174170e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0xae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3003 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1872a25 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1872a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 10752] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdcac5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53b205 0x16a9951 0x16a8be2 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53b204 strings.Repeat+0x2e4 strings/strings.go:673 # 0x16a9950 github.com/mattermost/squirrel.Placeholders+0xdb0 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x16a8be1 github.com/mattermost/squirrel.Eq.toSQL+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17d2fef 0x17d2fc6 0x16dacb2 0x1ff1a8b 0x1f7a33b 0x2433dbe 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17d2fee github.com/mattermost/squirrel.StatementBuilderType.Select+0xce github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17d2fc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2375 # 0x16dacb1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7658 # 0x1ff1a8a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6102 # 0x1f7a33a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:149 # 0x2433dbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2fd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 240] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0xb0c569 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c568 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x48 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:51 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 832] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x2716350 0x27332f5 0x2738366 0x2737a4d 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2737a4c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 13568] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1779c5c 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779c5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x17c501a 0x17c4ce3 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2816] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1536] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1779c5c 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1779c5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2649885 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2649884 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x18060e5 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18060e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:73 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 1408] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [12: 6144] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x79cff2 0xc151f1 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79cff1 regexp.(*Regexp).ReplaceAllString+0xf1 regexp/regexp.go:580 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 1664] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x79d536 0x79cfe5 0xc151d0 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151cf github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:720 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 5376] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 10752] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 4864] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 16128] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 14592] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbd90f3 0xbd906e 0x2403c4a 0x240087b 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd90f2 maps.Copy[...]+0x132 maps/maps.go:64 # 0xbd906d github.com/mattermost/mattermost/server/public/model.(*Post).DelProp+0xad github.com/mattermost/mattermost/server/public/model/post.go:634 # 0x2403c49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInPostProps+0x289 github.com/mattermost/mattermost/server/v8/channels/app/post.go:511 # 0x240087a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe7a github.com/mattermost/mattermost/server/v8/channels/app/post.go:277 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x461d32 0x4612a5 0x46140a 0x1736fcd 0x1736fae 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1736fcc github.com/mattermost/squirrel.SelectBuilder.Join+0x22c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1736fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2231 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x265f65e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x265f65d github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x6fbeeb 0x6fbeb9 0x6fb689 0x6fb0b2 0x6faef0 0x7177d2 0x712b16 0x7376fa 0x736b19 0x483fe1 # 0x6fbeea bytes.(*Buffer).String+0xea bytes/buffer.go:71 # 0x6fbeb8 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0xb8 vendor/golang.org/x/net/http2/hpack/hpack.go:518 # 0x6fb688 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x328 vendor/golang.org/x/net/http2/hpack/hpack.go:381 # 0x6fb0b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x6faeef vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x12f vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x7177d1 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3184 # 0x712b15 net/http.(*http2Framer).ReadFrame+0x3b5 net/http/h2_bundle.go:2097 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 144] @ 0x12575bb 0x125c637 0x182a1ef 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x20cc117 0x1f52f84 0x1f522fa 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20cc116 github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x36 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 256] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x22dbf94 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 20480] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x171ee05 0x171f474 0x1741cf8 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171ee04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:245 # 0x171f473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:303 # 0x1741cf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x697 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 896] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1024] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x407ff2 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x1851808 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851807 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:475 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184defc 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0xb0fd13 0xb12505 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fd12 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x312 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12504 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x164 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 2240] @ 0x22ceb95 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22ceb94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2312 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0xb08baa 0xb089e5 0x483fe1 # 0xb08ba9 github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xa9 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:177 # 0xb089e4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:156 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x1f7bde5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x1f7bde4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:119 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 19456] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x50f21d 0x53fe27 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x604cf0 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f96e5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x604cef net.(*netFD).connect+0x1ef net/fd_unix.go:98 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f96e4 net.(*sysDialer).dialParallel.func1+0x84 net/dial.go:606 0: 0 [4: 896] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 48] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 7040] @ 0x675187 0x67517d 0x421f31 0x483fe1 # 0x675186 crypto/tls.(*certCache).evict+0x46 crypto/tls/cache.go:73 # 0x67517c crypto/tls.(*certCache).active.func1+0x3c crypto/tls/cache.go:65 # 0x421f30 runtime.runfinq+0x3d0 runtime/mfinal.go:275 0: 0 [1: 240] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f6efe5 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6efe4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0x144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:169 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x17a26d8 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17a26d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x197 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:80 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x6e7c2c 0x6e7bae 0x6eab46 0x6ea478 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x54ea48 0x54e645 0x54e315 0x2059533 0x23be374 0x24280d9 0x2427572 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7c2b compress/flate.(*dictDecoder).init+0x18b compress/flate/dict_decoder.go:43 # 0x6e7bad compress/flate.NewReader+0x10d compress/flate/inflate.go:815 # 0x6eab45 compress/gzip.(*Reader).readHeader+0x365 compress/gzip/gunzip.go:238 # 0x6ea477 compress/gzip.(*Reader).Reset+0x297 compress/gzip/gunzip.go:113 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2059532 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x23be373 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:152 # 0x24280d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5b8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:736 # 0x2427571 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x331 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:658 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x539cff 0x64e85d 0x64e843 0x64eced 0x64cada 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x64e85c strings.Split+0x23c strings/strings.go:361 # 0x64e842 crypto/x509.matchHostnames+0x222 crypto/x509/verify.go:1102 # 0x64ecec crypto/x509.(*Certificate).VerifyHostname+0x30c crypto/x509/verify.go:1189 # 0x64cad9 crypto/x509.(*Certificate).Verify+0x1b9 crypto/x509/verify.go:828 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x703b4d 0x7039ac 0x702f52 0x702831 0x704e49 0x2427e25 0x2427e26 0x2427572 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x703b4c sync.OnceFunc+0x32c sync/oncefunc.go:18 # 0x7039ab net/http.setRequestCancel+0x18b net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x2427e24 net/http.(*Client).Do+0x304 net/http/client.go:587 # 0x2427e25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x305 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:723 # 0x2427571 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x331 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:658 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3f9c 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b1c74 0x172877a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1c73 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1728779 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1132 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2df7 0xbc2da6 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2df6 path/filepath.Join+0x3b6 path/filepath/path.go:131 # 0xbc2da5 github.com/mattermost/mattermost/server/public/model.FindManifest+0x365 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 256] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17c933d 0x17c9265 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c933c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2dc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c9264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1554 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x125362e 0x24f0f33 0x24f0cd5 0x25eebcd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125362d github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x2ad github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:41 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x24f0cd4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x25eebcc github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9cc github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:150 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x8978b5 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8978b4 github.com/mattermost/go-i18n/i18n/language.Parse+0x4b4 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x17b859a 0x17b8bb3 0x1853725 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x1853724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x695a12 0x6958a8 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695a11 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x3f1 crypto/internal/fips140/tls13/tls13.go:106 # 0x6958a7 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x287 crypto/tls/handshake_client_tls13.go:516 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 864] @ 0x17b8bcc 0x17bdb2a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x17bdb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:579 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0xc472ce 0xc472c2 0x11b1124 0x2307e9d 0x2307e9e 0xc474c2 0x254286e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc472cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc472c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:160 # 0x11b1123 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x63 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x2307e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x2307e9d github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithMaster+0x1d github.com/mattermost/mattermost/server/v8/channels/app/context.go:14 # 0xc474c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).With+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:172 # 0x254286d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x12d github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1601 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x264dc7c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x264dc7b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x13b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 19072] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2632f5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2632f5a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x1da github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1872fbb 0x16f42f5 0x200e902 0x24a2678 0x264d6f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x24a2677 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFilteredUsersStats+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2105 # 0x264d6f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilteredUsersStats+0xc56 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:721 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [29: 8352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1830317 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1830316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:122 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 128] @ 0x2716350 0x2732f5a 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 64] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 80] @ 0xadf966 0xae01aa 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae01a9 encoding/gob.(*Decoder).decOpFor+0x909 encoding/gob/decode.go:862 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 16] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x16b0f34 0x16b0e53 0x17c6c5a 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6c59 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x499 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 672] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 80] @ 0x16b1a4b 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [9: 5184] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 32] @ 0x16b0efc 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c1c7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1c7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:896 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 1472] @ 0xae9d05 0xae9cc9 0xaedca5 0xaeb6ff 0xaf384f 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9d04 encoding/gob.(*Encoder).newEncoderState+0xc4 encoding/gob/encode.go:82 # 0xae9cc8 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x184e84f 0x184e81b 0x184e81a 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184e84e github.com/mattermost/squirrel.newPart+0x12e github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184e81a github.com/mattermost/squirrel.SelectBuilder.From+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb121d1 0xb124dd 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb121d0 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0x410 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:548 # 0xb124dc github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x13c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 2912] @ 0x543d27 0xc135df 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc135de github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x11e github.com/mattermost/mattermost/server/public/model/utils.go:314 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x461d32 0x4612a5 0x46140a 0x171debd 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171debc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:136 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b3f1 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b3f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:356 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [13: 9984] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 192] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 2560] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x407ff2 0x479ce9 0x2421bdd 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bdc github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x461d32 0x4620a7 0x1115e87 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115e86 github.com/lib/pq.parseOpts+0x1c6 github.com/lib/pq@v1.10.9/conn.go:554 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x6311e5 0x6324d9 0x6324af 0x25de9aa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de9a9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x309 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:205 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xb636ae 0xb6363b 0xc13c33 0xc13c50 0x23eaa93 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb636ad github.com/google/uuid.NewRandomFromReader+0x2d github.com/google/uuid@v1.6.0/version4.go:48 # 0xb6363a github.com/google/uuid.NewRandom+0x5a github.com/google/uuid@v1.6.0/version4.go:41 # 0xc13c32 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc13c4f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23eaa92 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x152 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:69 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 8064] @ 0x48edbc 0x48ec06 0x48e97c 0x54425e 0x54eb07 0x2048a6a 0x2047f27 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x54eb06 encoding/json.(*Encoder).Encode+0x66 encoding/json/stream.go:207 # 0x2048a69 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:580 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x409dd2 0x408e4d 0x40d905 0x2611ea5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2611ea4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1544 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:211 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 4160] @ 0x24faddd 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24faddc github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d3c github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:348 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 8192] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x1851ddc 0x11adcb0 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x179f60f 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x179f60e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [29: 464] @ 0x1841c7c 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841c7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0xbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 512] @ 0x4ba5e7 0x4ba5cf 0x4ba94a 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba5e6 path.(*lazybuf).append+0x686 path/path.go:39 # 0x4ba5ce path.Clean+0x66e path/path.go:127 # 0x4ba949 path.Join+0x189 path/path.go:172 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1830686 0x1830595 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1830685 github.com/lann/builder.Append+0x5c5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1830594 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4d4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 3072] @ 0x48edbc 0x48ec06 0x48e97c 0x79619e 0x7961b7 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x79619d regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7961b6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 65280] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25dec2a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25dec29 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x589 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:207 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 560] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 2016] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [6: 192] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 1024] @ 0x16ae58f 0x16ab751 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16a6fbb 0x16a6eb3 0x176b0c5 0x16ccd5b 0x1fe23bd 0x245a7da 0x2459df7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16a6fba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a6eb2 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x176b0c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:126 # 0x16ccd5a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3978 # 0x1fe23bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3258 # 0x245a7d9 github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x39 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1222 # 0x2459df6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1150 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x709152 0x23f9dbb 0x23f9db2 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9dba net/http.(*Request).Cookies+0x45a net/http/request.go:429 # 0x23f9db1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x451 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:194 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 13824] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 6144] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x24f8a17 0x24f89ea 0x24f89af 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8a16 net/textproto.MIMEHeader.Set+0x976 net/textproto/header.go:22 # 0x24f89e9 net/http.Header.Set+0x949 net/http/header.go:40 # 0x24f89ae github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x90e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:221 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 224] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x810da6 0x810da4 0x847955 0x842cf9 0x84297d 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x810da5 github.com/francoispqt/gojay.(*Encoder).Write+0x85 github.com/francoispqt/gojay@v1.2.13/encode.go:194 # 0x810da3 github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x83 github.com/francoispqt/gojay@v1.2.13/encode_object.go:18 # 0x847954 github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1d4 github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [25: 400] @ 0x24f8fc5 0x24f8f90 0x24f8f7b 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8fc4 net/textproto.MIMEHeader.Set+0xf24 net/textproto/header.go:22 # 0x24f8f8f net/http.Header.Set+0xeef net/http/header.go:40 # 0x24f8f7a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xeda github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:230 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2042927 0x20424d0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2042926 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:432 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [5: 1040] @ 0x4d8da8 0x4d89ec 0x11ec5e5 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x11ec5e4 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x324 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:68 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x8fdcc5 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdcc4 golang.org/x/net/html.(*Tokenizer).Token+0x1c4 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 4224] @ 0x69db15 0x69dae5 0x69d9f7 0x5be6e2 0x5bea71 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x69db14 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69dae4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69d9f6 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x123fa25 0x123ae9b 0x1232cbf 0x1245f12 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x123fa24 github.com/yuin/goldmark/extension.(*table).Extend+0x64 github.com/yuin/goldmark@v1.7.13/extension/table.go:545 # 0x123ae9a github.com/yuin/goldmark/extension.(*gfm).Extend+0x3a github.com/yuin/goldmark@v1.7.13/extension/gfm.go:15 # 0x1232cbe github.com/yuin/goldmark.New+0xfe github.com/yuin/goldmark@v1.7.13/markdown.go:110 # 0x1245f11 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x111 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:53 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24b695b 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24b695a github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7a github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:764 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 13824] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 9216] @ 0x24e27fc 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3840] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 524288] @ 0x795365 0x79629f 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x795364 regexp.(*bitState).reset+0x104 regexp/backtrack.go:91 # 0x79629e regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1807752 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1807751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:215 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x1837d79 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837d78 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x498 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 7296] @ 0x48edbc 0x48ec06 0x48e97c 0x776d46 0x75133f 0x755918 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x776d45 net/http.newBufioWriterSize+0x65 net/http/server.go:888 # 0x75133e net/http.(*conn).readRequest+0x93e net/http/server.go:1115 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [2: 960] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1351680] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x110cc88 0x110cc78 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc87 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:168 # 0x110cc77 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.10.9/scram/scram.go:85 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 6400] @ 0x1a0a3a5 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x709152 0x22ad450 0x22ad45b 0x24f95ef 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x22ad44f net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x22ad45a github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0xc473ce 0xc473c2 0x24fabb4 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x24fabb3 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2b13 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:321 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5246c9 0x5246bd 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x2468c08 0x246c1e8 0xbf187e 0x483fe1 # 0x5246c8 errors.New+0x208 errors/errors.go:65 # 0x5246bc fmt.Errorf+0x1fc fmt/errors.go:30 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x2468c07 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getSharedChannelsService+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/shared_channel.go:22 # 0x246c1e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x47 github.com/mattermost/mattermost/server/v8/channels/app/status.go:74 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 2560] @ 0x1a0a405 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4032] @ 0x24e27fc 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 26112] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 360] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0xc02138 0xc02139 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02137 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02138 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506c17 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506c16 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1b56 github.com/mattermost/mattermost/server/v8/channels/web/params.go:196 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 256] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 32640] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x7577a5 0x75774b 0x75774a 0x7579ae 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7577a4 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x75774a net/http.Header.Set+0x6a net/http/header.go:40 # 0x757749 net/http.Error+0x69 net/http/server.go:2323 # 0x7579ad net/http.NotFound+0x2d net/http/server.go:2330 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1830573 0x183047c 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1830572 github.com/lann/builder.Append+0x4b2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183047b github.com/mattermost/squirrel.UpdateBuilder.Set+0x3bb github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 4224] @ 0x48edbc 0x48ec06 0x48e97c 0xb78da9 0xb78d9d 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb78da8 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xb78d9c github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xb18ff7 0xc13c73 0x23eaa93 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23eaa92 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x152 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:69 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 256] @ 0x75b1ab 0x245961b 0x483fe1 # 0x75b1aa net/http.(*Server).Serve+0x42a net/http/server.go:3454 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 416] @ 0xaeb24a 0xaeb210 0xaeb29a 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeb249 encoding/gob.(*encBuffer).writeByte+0x3a9 encoding/gob/encode.go:51 # 0xaeb20f encoding/gob.(*encoderState).encodeUint+0x36f encoding/gob/encode.go:109 # 0xaeb299 encoding/gob.(*Encoder).encodeInterface+0x3f9 encoding/gob/encode.go:408 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x1728566 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x2e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1123 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 2016] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a24c5 0x16a3955 0x16a3bc5 0x16a53cd 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a53cc github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 144] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x118dc15 0x48feea 0x48ff97 0x118daee 0x118dac1 0x1193bdf 0x483fe1 # 0x118dc14 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf4 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x118daed sync.(*Map).Range+0x4d sync/hashtriemap.go:115 # 0x118dac0 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x1193bde github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x11e github.com/mattermost/mattermost/server/public/plugin/health_check.go:40 0: 0 [8: 192] @ 0xc143a8 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc143a7 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x27 github.com/mattermost/mattermost/server/public/model/utils.go:509 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 608] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 5632] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x184e8d3 0x184e81a 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e8d2 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 768] @ 0x1f7efb8 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7efb7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x737 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [8: 65536] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7e84ce 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17ba731 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7e84cd database/sql.(*DB).beginDC+0xcd database/sql/sql.go:1915 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17ba730 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x17d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:222 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1280] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 9856] @ 0x26e545a 0x6c7959 0x67b376 0x695b05 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695b04 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4e4 crypto/tls/handshake_client_tls13.go:519 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18538bf 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18538be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x5411a5 0x54319b 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5411a4 encoding/json.(*decodeState).convertNumber+0x104 encoding/json/decode.go:841 # 0x54319a encoding/json.(*decodeState).literalStore+0x1f7a encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 448] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 304] @ 0x50f21d 0x53fe27 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 384] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 384] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x16b6aec 0x16b6b70 0x173b1a6 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b6aeb github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x173b1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1065 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2562 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 6912] @ 0x48edbc 0x48ec06 0x48e97c 0x7768b3 0x7557ea 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7768b2 net/http.newBufioReader+0x32 net/http/server.go:852 # 0x7557e9 net/http.(*conn).serve+0x269 net/http/server.go:2013 0: 0 [1: 64] @ 0x271638e 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x79db07 0x79cfe5 0xc151f1 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151f0 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xd0 github.com/mattermost/mattermost/server/public/model/utils.go:723 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x173704e 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x173704d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ad github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 48] @ 0x25d93ab 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25d93aa github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 600] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2464] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 27648] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x1f84487 0x24854ba 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f84486 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Team+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:453 # 0x24854b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e0b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e0b7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x217 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3433 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 17024] @ 0x12575bb 0x125c637 0x182b7ac 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x179f60f 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x179f60e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [13: 208] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x48edbc 0x48ec06 0x48e97c 0x797adb 0x797af4 0x7985bb 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc3e43a 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x797ada regexp.newOnePassMachine+0x9a regexp/exec.go:384 # 0x797af3 regexp.(*Regexp).doOnePass+0xb3 regexp/exec.go:403 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2048] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 5120] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 256] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x408f2e 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x16aad15 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e128 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e127 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x287 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 800] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 48] @ 0xb09c6c 0xb09c53 0x119ac6b 0x119ab38 0x119242e 0x1193d7e 0x1193c3b 0x483fe1 # 0xb09c6b net/rpc.(*Client).Call+0x2b net/rpc/client.go:321 # 0xb09c52 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:172 # 0x119ac6a github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xaa github.com/mattermost/mattermost/server/public/plugin/supervisor.go:228 # 0x119ab37 github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:204 # 0x119242d github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xad github.com/mattermost/mattermost/server/public/plugin/environment.go:641 # 0x1193d7d github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x1193c3a github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x17a github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25deaea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25deae9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:206 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x48edbc 0x48ec06 0x48e97c 0x93171e 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [10: 8960] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [15: 120] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 960] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 192] @ 0x16b1634 0x16b15db 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 9216] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4aaf48 0x92ef5d 0x48ea11 0x93171e 0x934ec5 0x9349f2 0x51ab97 0xb083c9 0x113e93d 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x92ef5c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x51ab96 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [5: 240] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [44: 704] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6311e5 0x6324d9 0x6324af 0x112ae9e 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x112ae9d github.com/lib/pq.ParseURL+0x85d github.com/lib/pq@v1.10.9/url.go:69 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2016] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1837de5 0x1837d3c 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837de4 github.com/lann/builder.Append+0x504 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837d3b github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x45b github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x5654cb 0x5f84bd 0x5f848a 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5f84bc context.WithDeadline+0x1bc context/context.go:617 # 0x5f8489 net.(*Dialer).DialContext+0x189 net/dial.go:533 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [20: 2240] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b080f 0x1852505 0x18524df 0x11adcb0 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1852504 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18524de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:430 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 720] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x12601a4 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x12601a3 github.com/jmoiron/sqlx.scanAll+0x8c3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:980 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x12601a4 0x1260848 0x182b947 0x182b8ff 0x173544e 0x17353a1 0x16c3c1d 0x1fd7f89 0x22ce3f2 0x2541c54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x12601a3 github.com/jmoiron/sqlx.scanAll+0x8c3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:980 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173544d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17353a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2044 # 0x16c3c1c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1643 # 0x1fd7f88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1393 # 0x22ce3f1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2272 # 0x2541c53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x133 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1542 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x12595e6 0x1258c05 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x1778432 0x16d1087 0x1faa4b8 0x1fe702d 0x232bf8a 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12595e5 github.com/jmoiron/sqlx.compileNamedQuery+0x65 github.com/jmoiron/sqlx@v1.4.0/named.go:333 # 0x1258c04 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1778431 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Save+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:129 # 0x16d1086 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5096 # 0x1faa4b7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:100 # 0x1fe702c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4150 # 0x232bf89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1109 github.com/mattermost/mattermost/server/v8/channels/app/file.go:845 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4374528] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4374528] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1105920] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4423680] @ 0x11e05e5 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e05e4 image/jpeg.(*decoder).processSOS+0x1004 image/jpeg/scan.go:156 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1662976] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x243588a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2435889 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:79 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7889fb 0x7889a6 0x786d73 0x787a66 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0xbe357e 0x17f1c5d 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787a65 regexp/syntax.(*compiler).compile+0xfe5 regexp/syntax/compile.go:135 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbe357d github.com/mattermost/mattermost/server/public/model.(*Reaction).IsValid+0x5d github.com/mattermost/mattermost/server/public/model/reaction.go:31 # 0x17f1c5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:30 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x12575bb 0x125cf77 0x182c26f 0x17e1b26 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x17e1b25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e025 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184e024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x1819374 0x16e92e7 0x20020c7 0x20405f2 0x2046ec5 0x2029802 0x483fe1 # 0x1819373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 144] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 2560] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x1120075 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1120074 github.com/lib/pq.parsePortalRowDescribe+0xb4 github.com/lib/pq@v1.10.9/conn.go:1983 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 7200] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x699a68 0x699938 0x699937 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x699a67 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0xb87 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x699937 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0xa57 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x699936 crypto/tls.(*clientHelloMsg).marshalMsg+0xa56 crypto/tls/handshake_messages.go:150 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 6144] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 960] @ 0x5275a6 0x171e054 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x171e053 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 288] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x172847f 0x17283c6 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x172847e github.com/mattermost/squirrel.SelectBuilder.From+0x1fe github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17283c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1119 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1088] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 7168] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbddca5 0xbddb5f 0x240f20e 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddca4 github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x3e4 github.com/mattermost/mattermost/server/public/model/post_list.go:136 # 0xbddb5e github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x29e github.com/mattermost/mattermost/server/public/model/post_list.go:153 # 0x240f20d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3cd github.com/mattermost/mattermost/server/v8/channels/app/post.go:1444 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x64dfcd 0x64de5e 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64dfcc crypto/x509.appendToFreshChain+0x4cc crypto/x509/verify.go:902 # 0x64de5d crypto/x509.(*Certificate).buildChains.func1+0x35d crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x186d945 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:934 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 96] @ 0x49bd85 0x49faab 0x49fab3 0x4d6885 0x4d6845 0x4d683d 0x4d6815 0x4d68cd 0x4d6805 0x1644b2f 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232b6e3 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49faaa syscall.BytePtrFromString+0x2a syscall/syscall.go:68 # 0x49fab2 syscall.Mkdirat+0x32 syscall/zsyscall_linux_amd64.go:661 # 0x4d6884 syscall.Mkdir+0x1a4 syscall/syscall_linux.go:276 # 0x4d6844 os.MkdirAll.Mkdir.func1+0x164 os/file.go:310 # 0x4d683c os.ignoringEINTR+0x15c os/file_posix.go:251 # 0x4d6814 os.Mkdir+0x134 os/file.go:309 # 0x4d68cc os.MkdirAll+0x1ec os/path.go:55 # 0x4d6804 os.MkdirAll+0x124 os/path.go:48 # 0x1644b2e github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232b6e2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x862 github.com/mattermost/mattermost/server/v8/channels/app/file.go:811 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1048576] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x539cff 0x8e29f4 0x8e298b 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e29f3 strings.Split+0xd3 strings/strings.go:361 # 0x8e298a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:263 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 4224] @ 0x24e27fc 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e27fb github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xdb github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:117 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x64f4b4 0x64f3e0 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64f4b3 crypto/x509.newPolicyGraph+0x113 crypto/x509/verify.go:1301 # 0x64f3df crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1419 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 1408] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [12: 768] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2df7 0xbc2da6 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2df6 path/filepath.Join+0x3b6 path/filepath/path.go:131 # 0xbc2da5 github.com/mattermost/mattermost/server/public/model.FindManifest+0x365 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 2400] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [41: 23616] @ 0x12578b9 0x125c637 0x182b7ac 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1152] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 96] @ 0x461d32 0x4612a5 0x46140a 0x171dab6 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:122 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x48ed3d 0x48ec06 0x48e97c 0x79619e 0x7961b7 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x79619d regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7961b6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1830686 0x1830595 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830685 github.com/lann/builder.Append+0x5c5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1830594 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4d4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x172852a 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728529 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 4032] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 960] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 512] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [6: 1920] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [37: 1184] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 272] @ 0x746418 0x7463ee 0x7463dd 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x746417 net/textproto.MIMEHeader.Set+0x257 net/textproto/header.go:22 # 0x7463ed net/http.Header.Set+0x22d net/http/header.go:40 # 0x7463dc net/http.(*Request).AddCookie+0x21c net/http/request.go:469 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 1104] @ 0x61d032 0x605ba5 0x61d9bb 0x61cbb0 0x75b08c 0x2457c85 0x483fe1 # 0x61d031 net.sockaddrToTCP+0x71 net/tcpsock_posix.go:21 # 0x605ba4 net.(*netFD).accept+0x304 net/fd_unix.go:189 # 0x61d9ba net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x61cbaf net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [1: 8] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0005 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1772bc7 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1772bc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x16b08ff 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a99a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b1a4b 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 3168] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24f8a75 0x24f89ea 0x24f89af 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8a74 net/textproto.MIMEHeader.Set+0x9d4 net/textproto/header.go:22 # 0x24f89e9 net/http.Header.Set+0x949 net/http/header.go:40 # 0x24f89ae github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x90e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:221 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 15232] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [15: 1920] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 9152] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 13824] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 8192] @ 0x175cc85 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x824 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16a99a9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [23: 1104] @ 0x61d032 0x605afb 0x61d9bb 0x61cbb0 0x75b08c 0x2457c85 0x483fe1 # 0x61d031 net.sockaddrToTCP+0x71 net/tcpsock_posix.go:21 # 0x605afa net.(*netFD).accept+0x25a net/fd_unix.go:189 # 0x61d9ba net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x61cbaf net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [5: 5760] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184f2d0 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f2cf github.com/mattermost/squirrel.SelectBuilder.Join+0x40f github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 2816] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 560] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 560] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x408f2e 0x40d905 0x266b2b0 0x266b245 0x266b227 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x266b2af net/textproto.MIMEHeader.Set+0x18f net/textproto/header.go:22 # 0x266b244 net/http.Header.Set+0x124 net/http/header.go:40 # 0x266b226 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1760] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x543a2d 0x54353b 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543a2c encoding/json.(*decodeState).literalInterface+0xcc encoding/json/decode.go:1143 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 3360] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 45696] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 512] @ 0x16abc67 0x16ab6b5 0x16ac827 0x179af7f 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x179af7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 5184] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 352] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x6000a5 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6000a4 net.(*Resolver).goLookupIPCNAMEOrder+0x164 net/dnsclient_unix.go:642 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [8: 2816] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x772e8e 0x772ee1 0x772e29 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x772e8d net/textproto.MIMEHeader.Set+0x28d net/textproto/header.go:22 # 0x772ee0 net/http.Header.Set+0x2e0 net/http/header.go:40 # 0x772e28 net/http.(*persistConn).roundTrip+0x228 net/http/transport.go:2773 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [10: 1440] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x543188 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543187 encoding/json.(*decodeState).literalStore+0x1f67 encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [24: 4224] @ 0x752347 0x751ef7 0x754c57 0x7549ea 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754c56 net/http.(*response).write+0x1d6 net/http/server.go:1688 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x6cf347 0x6cf172 0x24f89fb 0x24f89ea 0x24f89af 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x24f89fa net/textproto.MIMEHeader.Set+0x95a net/textproto/header.go:22 # 0x24f89e9 net/http.Header.Set+0x949 net/http/header.go:40 # 0x24f89ae github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x90e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:221 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x6990df 0x698fb4 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6990de vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1fe vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x698fb3 crypto/tls.(*clientHelloMsg).marshalMsg+0xd3 crypto/tls/handshake_messages.go:109 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 384] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x243575c 0x243572a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x243575b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x27b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2435729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x249 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:47 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b08ff 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x203fc9e 0x203fc67 0x2042ba5 0x20424d0 0x483fe1 # 0x203fc9d github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x13d github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x203fc66 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x106 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:211 # 0x2042ba4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x324 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:443 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 8] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 384] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 72] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1152] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x18527eb 0x11adcb0 0x483fe1 # 0x18527ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 624] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 23040] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 832] @ 0x118d5ce 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x118d5cd github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x18d github.com/mattermost/mattermost/server/public/plugin/environment.go:102 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 176] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 384] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [27: 7776] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 3840] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x185156a 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:410 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x271638e 0x27161f3 0x271591f 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x27161f2 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:57 # 0x271591e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:169 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [10: 960] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x208de46 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208de45 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x45 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:26 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x1b80a08 0x1b808a5 0x250f4e5 0x250f4bb 0x250ccf7 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1b80a07 github.com/avct/uasurfer.normalise+0xa7 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:243 # 0x1b808a4 github.com/avct/uasurfer.parse+0x24 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:216 # 0x250f4e4 github.com/avct/uasurfer.Parse+0x44 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:204 # 0x250f4ba github.com/mattermost/mattermost/server/v8/channels/web.CheckClientCompatibility+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:51 # 0x250ccf6 github.com/mattermost/mattermost/server/v8/channels/web.root+0x56 github.com/mattermost/mattermost/server/v8/channels/web/static.go:63 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 3456] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2388ec5 0x238887f 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2388ec4 github.com/mattermost/mattermost/server/v8/channels/app.usePostedAckHook+0xabc4 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:80 # 0x238887e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa57e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:714 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 144] @ 0x1f7b14f 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b14e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 1008] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x2508bf1 0x250d570 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x250d56f github.com/mattermost/mattermost/server/v8/channels/web.root+0x8cf github.com/mattermost/mattermost/server/v8/channels/web/static.go:101 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1048576] @ 0x8fb546 0x8fba86 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 524288] @ 0x8fb546 0x8fba86 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x8fb546 0x8fba86 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x8fb546 0x8fba86 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32768] @ 0x8fb546 0x8fba86 0x8fd374 0x8fec36 0x23bd1c5 0x242a045 0x2428d71 0x24275a5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fec35 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x23bd1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:57 # 0x242a044 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:905 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x24f115c 0x25ee285 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f115b github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1bb github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x25ee284 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e14ab 0x24f197f 0x24f18f7 0x24fc5e5 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e14aa github.com/mattermost/mattermost/server/public/shared/i18n.init.func2+0xea github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:61 # 0x24f197e github.com/mattermost/mattermost/server/public/model.(*AppError).SystemMessage+0xbe github.com/mattermost/mattermost/server/public/model/utils.go:300 # 0x24f18f6 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x36 github.com/mattermost/mattermost/server/v8/channels/web/context.go:109 # 0x24fc5e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x904 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:410 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x25dd989 0x25dd94a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x25dd988 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x948 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x25dd949 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x909 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:120 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 2240] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3014656] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x540f4d 0x53e6fe 0x53df7e 0x54e3fa 0x2618eff 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2618efe github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xde github.com/mattermost/mattermost/server/v8/channels/api4/system.go:673 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 4992] @ 0x461d32 0x4612a5 0x4614c5 0x1b791b3 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b791b2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xb2 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:74 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 368] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1852691 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 2112] @ 0x4d4f45 0x4d5411 0x4d304c 0x4cf66b 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d5410 os.openDirNolog+0x110 os/file_unix.go:320 # 0x4d304b os.openDir+0x2b os/file.go:408 # 0x4cf66a os.ReadDir+0x4a os/dir.go:119 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1584] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x16abc67 0x16ab6b5 0x16ac827 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x54e3fa 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 2240] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x16b0825 0x16b07b9 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x8f7468 0x8f745c 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8f7467 golang.org/x/net/html.(*parser).addElement+0xa7 golang.org/x/net@v0.46.0/html/parse.go:333 # 0x8f745b golang.org/x/net/html.inTableBodyIM+0x9b golang.org/x/net@v0.46.0/html/parse.go:1643 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 5376] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22adb8c 0x253be68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x253be67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1067 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x17c9ff9 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c9ff8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xf98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x79d7f1 0x79cfe5 0x10df6ab 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10df6aa github.com/jaytaylor/html2text.FromHTMLNode+0x12a github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:81 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [34: 544] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x16b15eb 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [8: 384] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 40] @ 0xb68a18 0x204817d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb68a17 github.com/gorilla/websocket.(*Conn).NextReader+0xd7 github.com/gorilla/websocket@v1.5.3/conn.go:1016 # 0x204817c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:466 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16aac85 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x175b22e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x175b22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 4480] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 256] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 50688] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 264] @ 0xbfaaeb 0xbfaaec 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaaea github.com/tinylib/msgp/msgp.ReadStringBytes+0x32a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaaeb github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x32b github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1680] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 768] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2df7 0xbc2da6 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2df6 path/filepath.Join+0x3b6 path/filepath/path.go:131 # 0xbc2da5 github.com/mattermost/mattermost/server/public/model.FindManifest+0x365 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 1120] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x1851496 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x195 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:407 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x173b285 0x173b1d3 0x173b1a7 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173b284 github.com/lann/builder.Append+0x1144 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173b1d2 github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x1092 github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x173b1a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1066 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 6144] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [4: 16384] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2632f5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2632f5a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x1da github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650bfa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650bf9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2bf9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 19456] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x2046bf1 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2046bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x9b0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:275 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 64] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 144] @ 0xc02138 0xc02139 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02137 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02138 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x16b1585 0x16b15db 0x1851ddc 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb70bb7 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb70bb6 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:421 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 368] @ 0x50f21d 0x53fe27 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x172877a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1728779 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1132 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 3520] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 864] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x48f312 0x48e925 0x24e4a78 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x24e4a77 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:512 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 832] @ 0x540f4d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1536] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 160] @ 0x51ab3c 0xb083c9 0x113e52d 0x483fe1 # 0x51ab3b encoding/binary.Write+0x7b encoding/binary/binary.go:414 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [1: 48] @ 0x67c590 0x68112a 0x68161c 0x69800d 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x67c58f crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:522 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68161b crypto/tls.(*Conn).writeHandshakeRecord+0x13b crypto/tls/conn.go:1060 # 0x69800c crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xec crypto/tls/handshake_client_tls13.go:833 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1857652 0x18575f8 0x18575f6 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1857651 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18575f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x18575f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:755 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 960] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x16b44be 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b44bd github.com/mattermost/squirrel.(*updateData).ToSql+0x19d github.com/mattermost/squirrel@v0.5.0/update.go:82 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 2240] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1837ad1 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837ad0 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1f0 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x11137bb 0x111ec4a 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111ec49 github.com/lib/pq.(*conn).processParameterStatus+0x29 github.com/lib/pq@v1.10.9/conn.go:1780 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 1008] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 576] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 640] @ 0x1851905 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:483 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0xc08f4c 0xc08e93 0x24995dd 0x24a9c45 0x24a9b38 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f4b github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xcb github.com/mattermost/mattermost/server/public/model/user.go:732 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184f0f9 0x184f0b1 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f0f8 github.com/mattermost/squirrel.SelectBuilder.Join+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f0b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1152] @ 0x48edbc 0x48ec06 0x48e97c 0x54425e 0x543c53 0xc16b85 0x20522d4 0x2051cd7 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54425d encoding/json.newEncodeState+0x1d encoding/json/encode.go:282 # 0x543c52 encoding/json.Marshal+0x52 encoding/json/encode.go:172 # 0xc16b84 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:227 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x681f71 0x681b78 0x696c09 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x681f70 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x230 crypto/tls/conn.go:1155 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696c08 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x288 crypto/tls/handshake_client_tls13.go:665 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 19456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x244d3ae 0x2459c38 0x2459c33 0xbf187e 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x244d3ad github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2459c37 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1203 # 0x2459c32 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1136 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [28: 6720] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x1831015 0x1830fe6 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1831014 github.com/mattermost/squirrel.StatementBuilderType.Update+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830fe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:164 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1120] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [78: 17472] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [22: 7744] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 11264] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x9317a5 0x935434 0x9346bd 0x571d17 0x4bad51 0xada451 0xada422 0xae3d13 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x935433 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x213 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x9346bc github.com/hashicorp/yamux.(*Stream).Read+0x5bc github.com/hashicorp/yamux@v0.1.2/stream.go:132 # 0x571d16 bufio.(*Reader).Read+0x196 bufio/bufio.go:245 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0xada450 io.ReadFull+0x50 io/io.go:354 # 0xada421 encoding/gob.decodeUintReader+0x21 encoding/gob/decode.go:116 # 0xae3d12 encoding/gob.(*Decoder).recvMessage+0x32 encoding/gob/decoder.go:84 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [13: 3744] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 512] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x12537c5 0x24f0f33 0x24f0cd5 0x266faa2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12537c4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x444 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:43 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x24f0cd4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x266faa1 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x9c1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3515 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16ae8ad 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 2880] @ 0x83d61f 0x83d5e4 0x83c93e 0x483fe1 # 0x83d5e3 github.com/mattermost/logr/v2.(*LogRec).prep+0x323 github.com/mattermost/logr/v2@v2.0.22/logrec.go:68 # 0x83c93d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 256] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1120] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17cc17a 0x17cbff2 0x17c6765 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17cc179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17cbff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getRootPosts+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1743 # 0x17c6764 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1282 0: 0 [1: 416] @ 0x461d32 0x4612a5 0x4614c5 0x1b791b3 0x23a24da 0x23e725c 0x11381a8 0x117b2d1 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1b791b2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xb2 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:74 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23e725b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1448 # 0x11381a7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1301 # 0x117b2d0 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6369 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1344] @ 0x2046746 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2046745 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x505 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:237 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 9728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2541665 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2541664 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 6912] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x2516fe5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2516fe4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).websocketNotificationAck+0x624 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:28 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x173ee3e 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x173ee3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2820 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x79d2d8 0x1829e25 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d2d7 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:600 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x171f525 0x1741cf8 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x171f524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:312 # 0x1741cf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x697 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x461d32 0x4612a5 0x46140a 0x175b7a5 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b7a4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x9e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x535245 0x535350 0x53a585 0x16abab4 0x16ab6b5 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16abab3 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1f3 github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x4125d4 0x6000a5 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6000a4 net.(*Resolver).goLookupIPCNAMEOrder+0x164 net/dnsclient_unix.go:642 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [4: 3584] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdcac5 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcac4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x124 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17cb685 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17cb684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1685 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 704] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 96] @ 0x5be9e5 0x699625 0x6994fd 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x699624 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x744 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6994fc crypto/tls.(*clientHelloMsg).marshalMsg+0x61c crypto/tls/handshake_messages.go:137 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 48] @ 0x24fab28 0x24f9bbc 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24fab27 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x2a87 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:280 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aad15 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [9: 2592] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [11: 2288] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0xc472ce 0xc472c2 0x11b1124 0x204c837 0x204c79b 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xc472cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc472c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:160 # 0x11b1123 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x63 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x204c836 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0xc56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x204c79a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xbba github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:980 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x25e04e5 0x25e0452 0x25e0434 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25e04e4 net/textproto.MIMEHeader.Set+0x8a4 net/textproto/header.go:22 # 0x25e0451 net/http.Header.Set+0x811 net/http/header.go:40 # 0x25e0433 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7f3 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:344 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x599b65 0x599add 0x5bc8ec 0x5bc8e7 0x5bc765 0x641265 0x646848 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x599b64 math/big.nat.make+0xa4 math/big/nat.go:66 # 0x599adc math/big.nat.setBytes+0x1c math/big/nat.go:1332 # 0x5bc8eb math/big.(*Int).SetBytes+0xcb math/big/int.go:512 # 0x5bc8e6 vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xc6 vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5bc764 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x404 vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x641264 crypto/x509.parsePublicKey+0x1c4 crypto/x509/parser.go:234 # 0x646847 crypto/x509.parseCertificate+0x927 crypto/x509/parser.go:1008 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [14: 1568] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e5765 0x25e4e9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e5764 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:832 # 0x25e4e99 github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:767 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a24c5 0x16a3955 0x16a3bc5 0x16a53cd 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a53cc github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x12578b9 0x125c637 0x182b7ac 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x173ed25 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173ed24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2811 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x1254e6d 0x125ee4c 0x1260b39 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 384] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 14080] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x5275a6 0x16aae05 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 576] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x461d32 0x4612a5 0x46140a 0x171dd89 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dd88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:132 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1056] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x264dba6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x264dba5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 256] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x545e9d 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x545e9c encoding/json.boolEncoder+0x1dc encoding/json/encode.go:519 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x18308d1 0x18307e0 0x18307de 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18308d0 github.com/lann/builder.Append+0x810 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18307df github.com/mattermost/squirrel.UpdateBuilder.Set+0x71f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18307dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:128 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 288] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3072] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x265f65e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x265f65d github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x2716257 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [7: 8064] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x242a869 0x25ed0cc 0x25dcfe8 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x242a868 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x25ed0cb github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:38 # 0x25dcfe7 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0xa7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:73 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 960] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x64039a 0x6465aa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x640399 crypto/x509.parseName+0x59 crypto/x509/parser.go:117 # 0x6465a9 crypto/x509.parseCertificate+0x689 crypto/x509/parser.go:980 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16b0e85 0x16b0e53 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x54b539 0x54b85d 0x54e6e2 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54e6e1 encoding/json.(*Decoder).readValue+0x121 encoding/json/stream.go:103 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2448] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x2629ab9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2629ab8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x158 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:587 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 240] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 360] @ 0x4aaf08 0x1f512b8 0x1f512a9 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x1f512b7 time.After+0x177 time/sleep.go:203 # 0x1f512a8 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x168 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:55 0: 0 [1: 24] @ 0x51253b 0x50f634 0xb7d23c 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x51253a reflect.cvtDirect+0x5a reflect/value.go:3519 # 0x50f633 reflect.Value.Convert+0xb3 reflect/value.go:3086 # 0xb7d23b github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:102 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 4160] @ 0x1871ba5 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1871ba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1338 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 768] @ 0x48f312 0x48e925 0xaeb7b2 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xaeb7b1 encoding/gob.(*Encoder).encodeInterface+0x911 encoding/gob/encode.go:426 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x563ac5 0x755738 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x755737 net/http.(*conn).serve+0x1b7 net/http/server.go:2008 0: 0 [8: 256] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x5bcf85 0x6423a8 0x644937 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6423a7 crypto/x509.parseExtKeyUsageExtension+0x107 crypto/x509/parser.go:447 # 0x644936 crypto/x509.processExtensions+0x8b6 crypto/x509/parser.go:785 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [20: 10240] @ 0x270e339 0x270e2f6 0x270e2fa 0x270f53e 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270f53d crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0x9dd crypto/internal/fips140/bigmod/nat.go:844 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 896] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186d434 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186d433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:916 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 64] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x17e1b05 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17e1b04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1200] @ 0x752347 0x751ef7 0x20a7c32 0x24e3732 0x24e2ca8 0x2508bf1 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e2ca7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x587 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:161 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 11264] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 6400] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x177b465 0x177b3f2 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x177b464 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x344 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x177b3f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:357 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 7168] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x125853b 0x125847b 0x1258c31 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x1778432 0x16d1087 0x1faa4b8 0x1fe702d 0x232bf8a 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125853a github.com/jmoiron/sqlx.bindArgs+0x5a github.com/jmoiron/sqlx@v1.4.0/named.go:174 # 0x125847a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x1258c30 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1778431 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Save+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:129 # 0x16d1086 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5096 # 0x1faa4b7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:100 # 0x1fe702c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4150 # 0x232bf89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1109 github.com/mattermost/mattermost/server/v8/channels/app/file.go:845 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x6e027f 0x6e034c 0x6e040e 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e027e compress/flate.newHuffmanEncoder+0xfe compress/flate/huffman_code.go:60 # 0x6e034b compress/flate.newHuffmanBitWriter+0x1cb compress/flate/huffman_bit_writer.go:101 # 0x6e040d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:570 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [3: 5898240] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x4f09aa 0x4f042d 0x761b4f 0x747130 0x772534 0x483fe1 # 0x4f09a9 strconv.formatBits+0x209 strconv/itoa.go:193 # 0x4f042c strconv.FormatInt+0x8c strconv/itoa.go:29 # 0x761b4e net/http.(*transferWriter).writeHeader+0x2ae net/http/transfer.go:295 # 0x74712f net/http.(*Request).write+0x82f net/http/request.go:710 # 0x772533 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2593 0: 0 [7: 560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x461d32 0x4612a5 0x46140a 0x17c9b28 0x17c9ab2 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c9b27 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xac7 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c9ab1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xa51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1569 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb165ba 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x242693a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165b9 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:67 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x2426939 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:565 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x6311e5 0x6324d9 0x6324af 0x25dec2a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25dec29 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x589 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:207 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17371fd 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x17371fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2237 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 3072] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25de9aa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de9a9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x309 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:205 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 144] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x1643e5c 0x1643d93 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643e5b path/filepath.Join+0xdb path/filepath/path.go:131 # 0x1643d92 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x12 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x79955a 0x79b459 0x79b8af 0x79c3ac 0x79c3a0 0xbe357e 0x17f1c5d 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x799559 regexp.onePassCopy+0x39 regexp/onepass.go:226 # 0x79b458 regexp.compileOnePass+0x198 regexp/onepass.go:499 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbe357d github.com/mattermost/mattermost/server/public/model.(*Reaction).IsValid+0x5d github.com/mattermost/mattermost/server/public/model/reaction.go:31 # 0x17f1c5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:30 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x20404d1 0x25dda2c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20404d0 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x25dda2b github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x9eb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:123 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x61d0c5 0x619d0e 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x61d0c4 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x619d0d net.(*netFD).dial+0x4cd net/sock_posix.go:141 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 6720] @ 0xc143b9 0xc143e3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc143b8 encoding/json.NewDecoder+0x38 encoding/json/stream.go:32 # 0xc143e2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x62 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 480] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7e85bf 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17ba731 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e85be database/sql.(*DB).beginDC+0x1be database/sql/sql.go:1925 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17ba730 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x17d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:222 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x632125 0x242917c 0x2424ca5 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x632124 net/url.(*URL).Parse+0x24 net/url/url.go:1099 # 0x242917b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:801 # 0x2424ca4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x784 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:406 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x186f957 0x186f918 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f956 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x196 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1122d92 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x1122d91 github.com/lib/pq.NewConnector+0x31 github.com/lib/pq@v1.10.9/connector.go:49 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 270336] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x41c9ac 0x41c98e 0x47a145 0x65006b 0x650058 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0x65006a maps.Clone[...]+0xcca maps/maps.go:55 # 0x650057 crypto/x509.policiesValid+0xcb7 crypto/x509/verify.go:1598 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 480] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 8064] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x1f7f3c6 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25de779 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de778 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:188 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 6144] @ 0x48edbc 0x48ec06 0x48e97c 0x748b65 0x775d1f 0x750c27 0x755918 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x748b64 net/http.newTextprotoReader+0x24 net/http/request.go:1039 # 0x775d1e net/http.readRequest+0x3e net/http/request.go:1080 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x259ee65 0x259ee3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x259ee64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x464 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x259ee3e github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x43e github.com/mattermost/mattermost/server/v8/channels/api4/file.go:529 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17921e7 0x1792170 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17921e6 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x666 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x179216f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1489 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x619566 0x61953d 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x25de865 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de864 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:204 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 123648] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 11520] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 10752] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265055e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265055d github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x255d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:881 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1120] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 9152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e7cd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e7cc github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x92c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3465 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x17254ce 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17254cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:884 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 240] @ 0x5bcf85 0x640dda 0x646efa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x640dd9 crypto/x509.parseExtension+0x79 crypto/x509/parser.go:202 # 0x646ef9 crypto/x509.parseCertificate+0xfd9 crypto/x509/parser.go:1040 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x26cb806 0x26dd436 0x110dc86 0x110d455 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x26cb805 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:60 # 0x26dd435 crypto/internal/fips140/hmac.(*HMAC).Reset+0x155 crypto/internal/fips140/hmac/hmac.go:119 # 0x110dc85 github.com/lib/pq/scram.(*Client).saltPassword+0x125 github.com/lib/pq@v1.10.9/scram/scram.go:224 # 0x110d454 github.com/lib/pq/scram.(*Client).step2+0x3b4 github.com/lib/pq@v1.10.9/scram/scram.go:186 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 17600] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e0b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e0b7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x217 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3433 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x17c6eff 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x17c6efe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 6272] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 224] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbd92fe 0xbbc87e 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd92fd github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xbd github.com/mattermost/mattermost/server/public/model/post.go:642 # 0xbbc87d github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x7d github.com/mattermost/mattermost/server/public/model/integration_action.go:798 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4aaf48 0x20516e9 0x205170f 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x20516e8 time.After+0xe8 time/sleep.go:203 # 0x205170e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).ProcessAsync.func1+0x10e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:497 0: 0 [2: 96] @ 0x407ff2 0x479ce9 0x2421bdd 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bdc github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 655360] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 576] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xbdb44f 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x461d32 0x4612a5 0x46140a 0x1735846 0x1735827 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1735845 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x2e5 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x1735826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2072 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x479c9a 0x479caf 0x2424585 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2424584 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:362 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2816] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e13d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 1456] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 24576] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 47360] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x615938 0x5fe914 0x601ae5 0x483fe1 # 0x615937 net.newDNSError+0x117 net/net.go:698 # 0x5fe913 net.(*Resolver).tryOneName+0x7d3 net/dnsclient_unix.go:342 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [18: 2016] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 576] @ 0x50afcb 0x4f9c71 0x547625 0x5470aa 0x548a63 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x16b0ab4 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 12672] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x798c33 0x798bc1 0x79a09f 0x799ccb 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x798c32 regexp.mergeRuneSets.func2+0x212 regexp/onepass.go:182 # 0x798bc0 regexp.mergeRuneSets+0x1a0 regexp/onepass.go:192 # 0x79a09e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x799cca regexp.makeOnePass+0x32a regexp/onepass.go:442 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c4f2c 0x17c4ec6 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 524288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 5376] @ 0x48edbc 0x48ec06 0x48e97c 0x24e21ea 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x24e21e9 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:62 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 224] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x6311e5 0x6324d9 0x6324af 0x250511f 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 8160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 384] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x1851ddc 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 128] @ 0x16aac85 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1872bee 0x1872bff 0x16f42f5 0x200e902 0x2433f98 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1872bed github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x46d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1872bfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1417 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x2433f97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4d7 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x110de64 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x110de63 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.10.9/scram/scram.go:238 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 1664] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c4f2c 0x17c4ec6 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1280] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 1232] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x16b5c69 0x1830197 0x1830171 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b5c68 github.com/mattermost/squirrel.UpdateBuilder.Table+0x128 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1830196 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:117 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 576] @ 0x208de2f 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208de2e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x2e github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x53f075 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53f074 encoding/json.(*decodeState).array+0x1d4 encoding/json/decode.go:523 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [8: 64] @ 0x408105 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 45696] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 560] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 256] @ 0x48f312 0x48e925 0x931ddb 0x931ac2 0x93136a 0x93136b 0x9315a5 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x931dda github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x931ac1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x421 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x931369 github.com/hashicorp/yamux.(*Session).waitForSend+0x149 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x93136a github.com/hashicorp/yamux.(*Session).Ping+0x14a github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [20: 4160] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16b1585 0x16b15db 0x175b5b8 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175b5b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x2388f91 0x238887f 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2388f90 github.com/mattermost/mattermost/server/v8/channels/app.usePostedAckHook+0xac90 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:83 # 0x238887e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa57e github.com/mattermost/mattermost/server/v8/channels/app/notification.go:714 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x2632f5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2632f5a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x1da github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15eb 0x1727c3d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1727c3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1074 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 917504] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x79647b 0x798592 0x7a0085 0x2071028 0x207078c 0x24318d2 0x243311d 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0084 regexp.(*Regexp).FindStringSubmatch+0x84 regexp/regexp.go:1040 # 0x2071027 github.com/Masterminds/semver/v3.parseConstraint+0x47 github.com/Masterminds/semver/v3@v3.4.0/constraints.go:259 # 0x207078b github.com/Masterminds/semver/v3.NewConstraint+0x32b github.com/Masterminds/semver/v3@v3.4.0/constraints.go:47 # 0x24318d1 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8b1 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x243311c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xb1c github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 704] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 168] @ 0x8978b5 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x8978b4 github.com/mattermost/go-i18n/i18n/language.Parse+0x4b4 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 2816] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 3584] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x179cfed 0x179cfbe 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x179cfec github.com/mattermost/squirrel.StatementBuilderType.Update+0x10c github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x179cfbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:201 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 4256] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 2080] @ 0x1117825 0x1118d85 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117824 github.com/lib/pq.(*conn).simpleQuery+0x424 github.com/lib/pq@v1.10.9/conn.go:752 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x859fd3 0x244245e 0x2462125 0xbf187e 0x483fe1 # 0x859fd2 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x32 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x244245d github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0x19d github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:25 # 0x2462124 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1803 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 2352] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1837ad1 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837ad0 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1f0 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184f934 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184f933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b080f 0x17c5788 0x17c5771 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c5787 github.com/mattermost/squirrel.StatementBuilderType.Select+0x2c7 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c5770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x2b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1252 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x18445c8 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18445c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x18514ec 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18514eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x1eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:403 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b1a4b 0x17f2886 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1a4a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17f2885 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x445 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2112] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 2352] @ 0x12575bb 0x125c637 0x182a1ef 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1869bb5 0x18696ff 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1869bb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x114 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:648 # 0x18696fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:616 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 168] @ 0x179ea76 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x179ea75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:317 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [23: 1104] @ 0x407ff2 0x479ce9 0xb72b25 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb72b24 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0x44 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:160 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [22: 11264] @ 0x270e339 0x270e2f6 0x270e2fa 0x270e93a 0x270d39c 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270e939 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:741 # 0x270d39b crypto/internal/fips140/bigmod.rr+0x25b crypto/internal/fips140/bigmod/nat.go:511 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [26: 425984] @ 0x8fb546 0x8fba86 0x8fd374 0x8fabad 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fabac golang.org/x/net/html.(*parser).parse+0xcc golang.org/x/net@v0.46.0/html/parse.go:2346 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [17: 11968] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184e819 0x184e7f3 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184e818 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184e7f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 832] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b5b85 0x179c495 0x179c466 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16b5b84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x179c494 github.com/mattermost/squirrel.StatementBuilderType.Update+0x1d4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x179c465 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:153 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xaea939 0xaea8ef 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaea938 encoding/gob.(*Encoder).newEncoderState+0xb8 encoding/gob/encode.go:82 # 0xaea8ee encoding/gob.(*Encoder).encodeMap+0x6e encoding/gob/encode.go:368 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [15: 960] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x48f2f9 0x48e925 0x776ca9 0x75508d 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x776ca8 net/http.putBufioReader+0x128 net/http/server.go:873 # 0x75508c net/http.(*conn).finalFlush+0x2c net/http/server.go:1784 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [3: 432] @ 0x62eb25 0x62e809 0x124a831 0x24f8849 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x124a830 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x24f8848 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x7a8 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:214 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186fa65 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186fa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x4125d4 0x2478aa5 0x247db72 0x23de6fe 0x113011e 0x115f095 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2478aa4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddUserToTeam+0x104 github.com/mattermost/mattermost/server/v8/channels/app/team.go:545 # 0x247db71 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddTeamMember+0x51 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1038 # 0x23de6fd github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreateTeamMember+0x3d github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:216 # 0x113011d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreateTeamMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:432 # 0x115f094 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreateTeamMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2870 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x5f84bd 0x5f848a 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x5f84bc context.WithDeadline+0x1bc context/context.go:617 # 0x5f8489 net.(*Dialer).DialContext+0x189 net/dial.go:533 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [5: 2400] @ 0x1853819 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853818 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x4d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:570 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2816] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 16] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 720] @ 0xc12e45 0xc12de0 0x24f1aaa 0x24fc5e5 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc12e44 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc12ddf github.com/mattermost/mattermost/server/public/model.(*AppError).Error+0x19f github.com/mattermost/mattermost/server/public/model/utils.go:256 # 0x24f1aa9 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x1e9 github.com/mattermost/mattermost/server/v8/channels/web/context.go:113 # 0x24fc5e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x904 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:410 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 640] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 320] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [10: 80] @ 0x51253b 0x50f634 0xb7a508 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x51253a reflect.cvtDirect+0x5a reflect/value.go:3519 # 0x50f633 reflect.Value.Convert+0xb3 reflect/value.go:3086 # 0xb7a507 github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xa7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:89 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11251ab 0x1125192 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x11251aa strconv.AppendBool+0x14a strconv/atob.go:34 # 0x1125191 github.com/lib/pq.encode+0x131 github.com/lib/pq@v1.10.9/encode.go:50 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [17: 1632] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x16a4a3b 0x16a3f05 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 5120] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 288] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 360] @ 0x4ba945 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba944 path.Join+0x184 path/path.go:172 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 3168] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e778 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e777 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x8d7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3464 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5632] @ 0x270e339 0x270e2f6 0x270e2fa 0x270f53e 0x270d3ef 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270f53d crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0x9dd crypto/internal/fips140/bigmod/nat.go:844 # 0x270d3ee crypto/internal/fips140/bigmod.rr+0x2ae crypto/internal/fips140/bigmod/nat.go:517 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x6befee 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 704] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [4: 1792] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f73d72 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f73d71 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xb1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:37 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 320] @ 0x56555e 0x565c8d 0x565c4f 0x23eaa49 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x23eaa48 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x108 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:63 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x184ef7b 0x184ef21 0x184ef17 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184ef7a github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x184ef20 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x184ef16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af1f5 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af1f4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3f4 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x60e0e5 0x60ce0e 0x60de12 0x5f77c5 0x5f8708 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x60e0e4 net.(*Resolver).internetAddrList.func1+0x1e4 net/ipsock.go:277 # 0x60ce0d net.filterAddrList+0x14d net/ipsock.go:137 # 0x60de11 net.(*Resolver).internetAddrList+0x691 net/ipsock.go:308 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [21: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 10304] @ 0x24f1b66 0x24fc5e5 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f1b65 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x2a5 github.com/mattermost/mattermost/server/v8/channels/web/context.go:110 # 0x24fc5e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x904 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:410 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18446bc 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18446bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0xb652df 0xb6b213 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb652de github.com/gorilla/websocket.newConn+0x11e github.com/gorilla/websocket@v1.5.3/conn.go:306 # 0xb6b212 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1920] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 1120] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x118d5ce 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x118d5cd github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x18d github.com/mattermost/mattermost/server/public/plugin/environment.go:102 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x186d97c 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d97b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:937 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 192] @ 0x2716257 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [6: 3840] @ 0x68b553 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x68b552 crypto/tls.(*Conn).makeClientHello+0x1d2 crypto/tls/handshake_client.go:71 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 47360] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 12288] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [18: 576] @ 0x20485d0 0xb68639 0xb689ed 0x204817d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20485cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2+0x8f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:458 # 0xb68638 github.com/gorilla/websocket.(*Conn).advanceFrame+0xb98 github.com/gorilla/websocket@v1.5.3/conn.go:950 # 0xb689ec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x204817c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:466 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 112263168] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 112263168] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 704] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 288] @ 0x7f155a 0x7f155b 0x48ea11 0x814568 0x84788b 0x842cf9 0x84297d 0x483fe1 # 0x7f1559 github.com/francoispqt/gojay.NewEncoder+0x19 github.com/francoispqt/gojay@v1.2.13/encode_pool.go:31 # 0x7f155a github.com/francoispqt/gojay.init.func1+0x1a github.com/francoispqt/gojay@v1.2.13/encode_pool.go:10 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x814567 github.com/francoispqt/gojay.BorrowEncoder+0x27 github.com/francoispqt/gojay@v1.2.13/encode_pool.go:36 # 0x84788a github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x10a github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:76 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [2: 128] @ 0xadd965 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd964 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2649885 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2649884 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 6528] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 6144] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 4096] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [4: 384] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 24576] @ 0x11e5513 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5512 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 12288] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 18432] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 2880] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17772af 0x177711b 0x16cf372 0x1fe4dd6 0x1f73603 0x2311030 0x25963ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17772ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x177711a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:67 # 0x16cf371 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4601 # 0x1fe4dd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3752 # 0x1f73602 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x382 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x231102f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x20f github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x25963ee github.com/mattermost/mattermost/server/v8/channels/api4.getEmojisByNames+0x28e github.com/mattermost/mattermost/server/v8/channels/api4/emoji.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 144] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 384] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x203a297 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203a296 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:128 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 141213696] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 141213696] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 32768] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [8: 65536] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 6912] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 16128] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 10752] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4864] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 14592] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 3200] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 144] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 960] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [39: 1248] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2b74 0xbc2b00 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2b73 path/filepath.Join+0x133 path/filepath/path.go:131 # 0xbc2aff github.com/mattermost/mattermost/server/public/model.FindManifest+0xbf github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 8716288] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 14336000] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 5177344] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 5177344] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 14336000] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8192] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x7ef487 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x7ef486 database/sql.(*Row).Scan+0x106 database/sql/sql.go:3509 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2670592] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184ecfd 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x184ecfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [50: 3276800] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 768] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1779c08 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1779c07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 57671680] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 42909696] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 57671680] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 42909696] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 41631744] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 41631744] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1408] @ 0x111cbe5 0x111cc65 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 336] @ 0x479c9a 0x479caf 0x186f865 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3489792] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 3489792] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c1c2a 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c1c29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:893 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3850240] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 3850240] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186d416 0x186d3a6 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186d415 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x215 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186d3a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:914 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [5: 80] @ 0x18379cb 0x1837997 0x1837996 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x18379ca github.com/mattermost/squirrel.InsertBuilder.Into+0xea github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1837996 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1837995 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x488d97 0x66f6a7 0x122468e 0x1224607 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x488d96 internal/reflectlite.Swapper+0x356 internal/reflectlite/swapper.go:66 # 0x66f6a6 sort.Slice+0x86 sort/slice.go:26 # 0x122468d github.com/yuin/goldmark/util.PrioritizedSlice.Sort+0xad github.com/yuin/goldmark@v1.7.13/util/util.go:878 # 0x1224606 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x26 github.com/yuin/goldmark@v1.7.13/parser/parser.go:842 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 352] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x23e07cc 0x11313be 0x1163015 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x23e07cb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetDirectChannel+0x4b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:515 # 0x11313bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetDirectChannel+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:544 # 0x1163014 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetDirectChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3354 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [4: 192] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1408] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185263f 0x18525f7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185263e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 896] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x175b2e9 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b2e8 github.com/mattermost/squirrel.SelectBuilder.From+0x528 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1584] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [19: 304] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 336] @ 0x7730f4 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7730f3 net/http.(*persistConn).roundTrip+0x4f3 net/http/transport.go:2787 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 352] @ 0xbdc345 0xbdc338 0x23e272f 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbdc344 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdc337 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1050 # 0x23e272e github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x6e github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:778 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4864] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 3456] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 2048] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16ae4b7 0x16aee9a 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x27378fa 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x27378f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 8192] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 4096] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 7680] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x7e84ef 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x185912c 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e84ee database/sql.(*DB).beginDC+0xee database/sql/sql.go:1916 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x185912b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:853 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17bbc0f 0x17bb56d 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bbc0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x30e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:315 # 0x17bb56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x260c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:287 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x23aadb1 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x23aadb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x70 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:806 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 288] @ 0x26f951a 0x2717b54 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26f9519 crypto/internal/fips140/nistec.NewP256Point+0x19 crypto/internal/fips140/nistec/p256_asm.go:49 # 0x2717b53 crypto/internal/fips140/ecdsa.randomPoint[...]+0x313 crypto/internal/fips140/ecdsa/ecdsa.go:250 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1736f89 0x1736ecd 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1736f88 github.com/mattermost/squirrel.SelectBuilder.From+0x1e8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1736ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x12c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2230 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 20529152] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 20529152] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 176] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 80] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17f26bf 0x17f2606 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17f26be github.com/mattermost/squirrel.SelectBuilder.From+0x27e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17f2605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 4224] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 352] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24f3994 0x24f3924 0x24f3909 0x25e458e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f3993 net/textproto.MIMEHeader.Set+0x153 net/textproto/header.go:22 # 0x24f3923 net/http.Header.Set+0xe3 net/http/header.go:40 # 0x24f3908 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).HandleEtag+0xc8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:226 # 0x25e458d github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:738 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17bf1e5 0x17bf186 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bf1e4 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x1744 github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17bf185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x16e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:704 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 68096] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 120] @ 0x1837db7 0x1837d3c 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837db6 github.com/lann/builder.Append+0x4d6 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837d3b github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x45b github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x543d27 0xc16b85 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16b84 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:227 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [5: 1760] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b499a 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4999 github.com/mattermost/squirrel.(*updateData).ToSql+0x679 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x2045daf 0x2045d86 0x24acef1 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x2045dae github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xae github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x2045d85 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:57 # 0x24acef0 github.com/mattermost/mattermost/server/v8/channels/app.(*addFollowersBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:65 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 352] @ 0xbdc345 0xbdc338 0xbdcc7c 0x23e2b1f 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbdc344 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdc337 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1050 # 0xbdcc7b github.com/mattermost/mattermost/server/public/model.(*PostList).ForPlugin+0x9b github.com/mattermost/mattermost/server/public/model/post_list.go:52 # 0x23e2b1e github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x7e github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:815 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1056] @ 0xbdc345 0xbdc338 0x24015fc 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdc344 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdc337 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1050 # 0x24015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1bfb github.com/mattermost/mattermost/server/v8/channels/app/post.go:373 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x173577b 0x1735747 0x1735746 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173577a github.com/mattermost/squirrel.newPart+0x21a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1735746 github.com/mattermost/squirrel.SelectBuilder.From+0x1e6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1735745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2071 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 624] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 352] @ 0xbdca93 0xbdca4b 0xbdcbff 0x23e2b1f 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbdca92 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xf2 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdca4a github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xaa github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0xbdcbfe github.com/mattermost/mattermost/server/public/model.(*PostList).ForPlugin+0x1e github.com/mattermost/mattermost/server/public/model/post_list.go:50 # 0x23e2b1e github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x7e github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:815 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1440] @ 0x17b8bcc 0x1853725 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x1853724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185624d 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185624c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:703 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x271f6fd 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271f6fc crypto/internal/fips140/ecdsa.Sign[...]+0xfc crypto/internal/fips140/ecdsa/ecdsa.go:286 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 20480] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xc039ea 0x2656d6a 0x2656d5d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc039e9 github.com/mattermost/mattermost/server/public/model.(*User).Auditable+0x29 github.com/mattermost/mattermost/server/public/model/user.go:117 # 0x2656d69 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0xe29 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x2656d5c github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xe1c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1486 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 4608] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 2464] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [10: 10240] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 3840] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1727b25 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1727b24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1075 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 768] @ 0x16b19e5 0x16b19b3 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 720] @ 0x479bf3 0x408dc5 0x408db8 0x40cf54 0x651694 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x651693 crypto/x509.newPolicyGraphNode+0x22f3 crypto/x509/verify.go:1282 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [10: 240] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x182fcf0 0x16eb95a 0x2004c9a 0x2040243 0x2386354 0x2386361 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x182fcef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:94 # 0x16eb959 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12308 # 0x2004c99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9700 # 0x2040242 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x2386353 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x8053 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x2386360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x8060 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:629 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb0cd99 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cd98 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x878 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1857c59 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857c58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x698 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:762 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 1152] @ 0x12578b9 0x125c637 0x1829914 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1408] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x11986ee 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x11986ed github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 221184] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 221184] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 8960] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 4928] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 6912] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184dcd7 0x184dcb1 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [26: 2912] @ 0x565474 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x270d16e 0x270d15b 0x270da86 0x270d52a 0x5cda05 0x5c8508 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d16d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x270d15a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:481 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c8507 crypto/rsa.VerifyPSS+0x167 crypto/rsa/fips.go:156 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 144] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 2688] @ 0x48edbc 0x48ec06 0x48e97c 0x4bb908 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74ea69 0x754e25 0x755be5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4bb907 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74ea68 net/http.(*chunkWriter).close+0x28 net/http/server.go:408 # 0x754e24 net/http.(*response).finishRequest+0x64 net/http/server.go:1717 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [22: 5280] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 960] @ 0x6143f4 0x74ff19 0x5717e3 0x571913 0x755d05 0x483fe1 # 0x6143f3 net.(*conn).Read+0xb3 net/net.go:196 # 0x74ff18 net/http.(*connReader).Read+0x158 net/http/server.go:798 # 0x5717e2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x571912 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x755d04 net/http.(*conn).serve+0x784 net/http/server.go:2137 0: 0 [30: 1920] @ 0x931ef6 0x93358a 0x483fe1 # 0x931ef5 github.com/hashicorp/yamux.(*Session).sendNoWait+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:462 # 0x933589 github.com/hashicorp/yamux.(*Session).handlePing.func1+0x69 github.com/hashicorp/yamux@v0.1.2/session.go:640 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 192] @ 0x5be9e5 0x5bc1ff 0x5c05be 0x5c4cdc 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c05bd crypto/ecdsa.encodeSignature+0xbd crypto/ecdsa/ecdsa.go:298 # 0x5c4cdb crypto/ecdsa.signFIPS[...]+0xfb crypto/ecdsa/ecdsa.go:255 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 72] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 20480] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x4e1b85 0x4e1e19 0x16b4448 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4447 github.com/mattermost/squirrel.(*updateData).ToSql+0x127 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 96] @ 0x2716257 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 224] @ 0x49cc38 0x49ce52 0x605a6c 0x6240b6 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x49cc37 syscall.anyToSockaddr+0x1d7 syscall/syscall_linux.go:662 # 0x49ce51 syscall.Getsockname+0x71 syscall/syscall_linux.go:713 # 0x605a6b net.(*netFD).accept+0x1cb net/fd_unix.go:188 # 0x6240b5 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [6: 144] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 320] @ 0x24f8cae 0x24f8c81 0x24f8ab3 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8cad net/textproto.MIMEHeader.Set+0xc0d net/textproto/header.go:22 # 0x24f8c80 net/http.Header.Set+0xbe0 net/http/header.go:40 # 0x24f8ab2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa12 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1792] @ 0x543d27 0xc135df 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc135de github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x11e github.com/mattermost/mattermost/server/public/model/utils.go:314 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x5c0adc 0x5c0aa7 0x5c09cf 0x5be6e2 0x5bea71 0x5bc1ff 0x5c0778 0x5c06d8 0x5be6e2 0x5bea71 0x5bc1ff 0x5c05be 0x5c4cdc 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5c0adb vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x2bb vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x5c0aa6 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x286 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x5c09ce crypto/ecdsa.addASN1IntBytes.func1+0x1ae crypto/ecdsa/ecdsa.go:319 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c0777 crypto/ecdsa.addASN1IntBytes+0x77 crypto/ecdsa/ecdsa.go:315 # 0x5c06d7 crypto/ecdsa.encodeSignature.func1+0x57 crypto/ecdsa/ecdsa.go:300 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5bc1fe vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x19e vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5c05bd crypto/ecdsa.encodeSignature+0xbd crypto/ecdsa/ecdsa.go:298 # 0x5c4cdb crypto/ecdsa.signFIPS[...]+0xfb crypto/ecdsa/ecdsa.go:255 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x461d32 0x4612a5 0x46140a 0x4c2ee5 0x4c2ee6 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2ee4 internal/filepathlite.(*lazybuf).string+0x844 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 400] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [27: 6912] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1837c65 0x1837ba4 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837c64 github.com/lann/builder.Append+0x384 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837ba3 github.com/mattermost/squirrel.InsertBuilder.Values+0x2c3 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 4032] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 45056] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [9: 432] @ 0x23e48e5 0x23e4843 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23e48e4 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xe4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:269 # 0x23e4842 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x42 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 2080] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 48] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1344] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1536] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 45056] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 27648] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 352] @ 0x8e2e70 0x8e2c25 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8e2e6f github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x2f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:292 # 0x8e2c24 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b1caf 0x185096e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x185096d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x124d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:359 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [23: 3680] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x183065c 0x1830595 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183065b github.com/lann/builder.Append+0x59b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1830594 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4d4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [51: 816] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c2479 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c2478 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:935 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 8064] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1853c51 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1853c50 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x910 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x2716257 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c8e1b 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c8e1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1511 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 256] @ 0x16aba6f 0x16ab6b5 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16aba6e github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x1ae github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1920] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1584] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3072] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179d285 0x179d180 0x179d163 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179d284 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x179d17f github.com/mattermost/squirrel.UpdateBuilder.Set+0x29f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d162 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:203 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [12: 13824] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x24aafb0 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x24aafaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1f833e7 0x24132cc 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f833e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:441 # 0x24132cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x20b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2880] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e9c5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x184e9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [8: 384] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x175b63f 0x175b5e4 0x175b5f2 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b63e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x87e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x175b5e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x823 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x175b5f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x831 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x16b4669 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4668 github.com/mattermost/squirrel.(*updateData).ToSql+0x348 github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x5f9a49 0x5f9a1c 0x5f9167 0x5f89ac 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x5f9a48 context.WithDeadline+0x208 context/context.go:617 # 0x5f9a1b net.(*sysDialer).dialSerial+0x1db net/dial.go:681 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [4: 3072] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [6: 2304] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [2: 640] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [2: 704] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 11520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 64] @ 0x271638e 0x27332f5 0x2738366 0x2737930 0x69589f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x273792f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x69589e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x27e crypto/tls/handshake_client_tls13.go:514 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 23040] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x1853c51 0x1853c06 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1853c50 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x910 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1853c05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:584 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16b0ab4 0x16b09d3 0x18538bf 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18538be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x57e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 2016] @ 0x5aeaba 0x5aead0 0x27162be 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 96] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 512] @ 0x2095d88 0x245907a 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2095d87 github.com/getsentry/sentry-go.(*Scope).SetRequest+0x227 github.com/getsentry/sentry-go@v0.36.0/scope.go:134 # 0x2459079 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2d9 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:120 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 16000] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [8: 9216] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x182c734 0x1857ded 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x182c733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:332 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 1120] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x79db07 0x79cfe5 0xc151b7 0x240081e 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79db06 regexp.(*Regexp).replaceAll+0x646 regexp/regexp.go:662 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0xc151b6 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x96 github.com/mattermost/mattermost/server/public/model/utils.go:719 # 0x240081d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xe1d github.com/mattermost/mattermost/server/v8/channels/app/post.go:275 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117825 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1117824 github.com/lib/pq.(*conn).simpleQuery+0x424 github.com/lib/pq@v1.10.9/conn.go:752 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [16: 14336] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 448] @ 0x5aeaba 0x5aead0 0x27162be 0x27161f3 0x271591f 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x27161f2 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:57 # 0x271591e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:169 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 32] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 57600] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [5: 5760] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1857bd0 0x1857ad5 0x1857abc 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857bcf github.com/lann/builder.Append+0x60f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1857ad4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x514 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857abb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x4fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:760 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 53760] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 1920] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 448] @ 0x7730f4 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7730f3 net/http.(*persistConn).roundTrip+0x4f3 net/http/transport.go:2787 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7eaa8d 0x182c929 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7eaa8c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1858a12 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x1858a11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:816 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [37: 1776] @ 0x479c9a 0x479caf 0x54373c 0x543519 0x543848 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54373b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1074 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 3344] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c190f 0x17c1851 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c190e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1850 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:887 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 9120] @ 0x10cf688 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x2716350 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 384] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x18576a5 0x1857671 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x18576a4 github.com/mattermost/squirrel.StatementBuilderType.Update+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1857670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:756 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 8192] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [20: 46080] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 64] @ 0x63c9f6 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63c9f5 crypto/x509.(*CertPool).AddCert+0x95 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 288] @ 0x5be9e5 0x69de54 0x69de33 0x5be6e2 0x5bea71 0x69b03d 0x69aedd 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69de53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x69de32 crypto/tls.(*clientHelloMsg).marshalMsg.func12+0x12 crypto/tls/handshake_messages.go:258 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b03c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x215c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69aedc crypto/tls.(*clientHelloMsg).marshalMsg+0x1ffc crypto/tls/handshake_messages.go:257 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x27176ca 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x27176c9 crypto/internal/fips140/ecdsa.signGeneric[...]+0x469 crypto/internal/fips140/ecdsa/ecdsa.go:372 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [9: 3456] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x125cad3 0x18296ff 0x17ba731 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125cad2 github.com/jmoiron/sqlx.(*DB).Beginx+0x52 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:346 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17ba730 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x17d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:222 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x17bfda5 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x17bfda4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:755 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [7: 8064] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 491520] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1280] @ 0x12575bb 0x125c637 0x182a1ef 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x17b5849 0x16e045a 0x1ff7dba 0x242f3fe 0x2422c5d 0x2423287 0x2407ee8 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17b5848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPost+0x368 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:31 # 0x16e0459 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9068 # 0x1ff7db9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7220 # 0x242f3fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:15 # 0x2422c5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x81c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:150 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x6cfee8 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x24e21ea 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x54ec8d 0xbd768b 0x25ddb3f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x24e21e9 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:62 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbd768a github.com/mattermost/mattermost/server/public/model.(*Post).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post.go:361 # 0x25ddb3e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xafe github.com/mattermost/mattermost/server/v8/channels/api4/post.go:129 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x122476d 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122476c github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x18c github.com/yuin/goldmark@v1.7.13/parser/parser.go:848 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [34: 926976] @ 0x461e06 0x4bac07 0x10e2165 0x10e42d5 0x10e301b 0x10e2856 0x10e728c 0x10e71c1 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bac06 io.WriteString+0x66 io/io.go:318 # 0x10e2164 gopkg.in/mail%2ev2.(*Message).AddAlternative.newCopier.func1+0x24 gopkg.in/mail.v2@v2.3.1/message.go:215 # 0x10e42d4 gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1f4 gopkg.in/mail.v2@v2.3.1/writeto.go:277 # 0x10e301a gopkg.in/mail%2ev2.(*messageWriter).writePart+0x23a gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x10e2855 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x1f5 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x10e728b gopkg.in/mail%2ev2.(*Message).WriteTo+0x142b gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x10e71c0 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1360 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 48] @ 0xb12666 0xb1271c 0xb1261b 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb12665 container/list.New+0x65 container/list/list.go:62 # 0xb1271b github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb1261a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 1440] @ 0x543d27 0xc16b85 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16b84 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:227 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [3: 10368] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [25: 44800] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0x1868ca5 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0x1868ca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:550 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [8: 12288] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 480] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [29: 1392] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a3fda 0x16a3f1c 0x16a510d 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16a510c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb10485 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb10484 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x4e4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:249 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 9216] @ 0x204666e 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204666d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x42d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:234 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 96] @ 0x539cff 0x64e255 0x64e25b 0x64eca5 0x64ec83 0x64cada 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x64e254 strings.Split+0xb4 strings/strings.go:361 # 0x64e25a crypto/x509.validHostname+0xba crypto/x509/verify.go:1051 # 0x64eca4 crypto/x509.validHostnamePattern+0x2c4 crypto/x509/verify.go:1032 # 0x64ec82 crypto/x509.(*Certificate).VerifyHostname+0x2a2 crypto/x509/verify.go:1188 # 0x64cad9 crypto/x509.(*Certificate).Verify+0x1b9 crypto/x509/verify.go:828 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 224] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x186fd32 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x186fd31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x111 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1176 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17ad3b8 0x16da72e 0x1ff14ba 0x23f6c24 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17ad3b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:213 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6c23 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x1a3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25354bb 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25354ba github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x6ba github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:488 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186f917 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x10d51e5 0x10e5215 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10d51e4 net/smtp.(*Client).Auth+0x64 net/smtp/smtp.go:202 # 0x10e5214 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x354 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:198 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x2371ea5 0x23997e5 0x23940bf 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2371ea4 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x224 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x23997e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1523 # 0x23940be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9be github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1049 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 6912] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 2816] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17e1efb 0x16e0e5a 0x1ff8982 0x239a466 0x239b985 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17e1efa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x2da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:120 # 0x16e0e59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9257 # 0x1ff8981 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7364 # 0x239a465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1635 # 0x239b984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4cf3 0x16b57dd 0x182bc47 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4cf2 github.com/mattermost/squirrel.(*updateData).ToSql+0x9d2 github.com/mattermost/squirrel@v0.5.0/update.go:137 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [18: 2016] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16b5c90 0x1830197 0x1830171 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1830196 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:117 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 384] @ 0x16b19e5 0x16b19b3 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 304] @ 0xae0285 0xae023a 0xae0239 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae0284 errors.New+0x9e4 errors/errors.go:65 # 0xae0239 encoding/gob.overflow+0x999 encoding/gob/decode.go:109 # 0xae0238 encoding/gob.(*Decoder).decOpFor+0x998 encoding/gob/decode.go:864 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [16: 20480] @ 0x12578b9 0x125c637 0x182b7ac 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 704] @ 0xc0e56c 0xc0e56d 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e56b github.com/tinylib/msgp/msgp.ReadStringBytes+0xd2b github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e56c github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xd2c github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 768] @ 0x11ec73c 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11ec73b github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x47b github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:53 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 1920] @ 0x74f7ae 0x74f7b9 0x74fdeb 0x5717e3 0x5722e9 0x572545 0x6cd7a5 0x775d90 0x775dab 0x750c27 0x755918 0x483fe1 # 0x74f7ad sync.NewCond+0x4d sync/cond.go:49 # 0x74f7b8 net/http.(*connReader).lock+0x58 net/http/server.go:669 # 0x74fdea net/http.(*connReader).Read+0x2a net/http/server.go:771 # 0x5717e2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x5722e8 bufio.(*Reader).ReadSlice+0x28 bufio/bufio.go:380 # 0x572544 bufio.(*Reader).ReadLine+0x24 bufio/bufio.go:409 # 0x6cd7a4 net/textproto.(*Reader).readLineSlice+0xa4 net/textproto/reader.go:64 # 0x775d8f net/textproto.(*Reader).ReadLine+0xaf net/textproto/reader.go:44 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [18: 2304] @ 0x49ca98 0x49cd1f 0x4cc91f 0x4ca5ed 0x6058c9 0x6240b6 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x49ca97 syscall.anyToSockaddr+0x37 syscall/syscall_linux.go:643 # 0x49cd1e syscall.Accept4+0x7e syscall/syscall_linux.go:699 # 0x4cc91e internal/poll.accept+0x1e internal/poll/sock_cloexec.go:17 # 0x4ca5ec internal/poll.(*FD).Accept+0x1ac internal/poll/fd_unix.go:611 # 0x6058c8 net.(*netFD).accept+0x28 net/fd_unix.go:172 # 0x6240b5 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [4: 256] @ 0x16b4669 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b4668 github.com/mattermost/squirrel.(*updateData).ToSql+0x348 github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 36864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1483c58 0x202698e 0x2037e25 0x202cb23 0x202c97c 0x202aaf4 0x245b9b2 0x245b9ad 0x245a177 0xbf187e 0x483fe1 # 0x1483c57 github.com/mattermost/mattermost/server/v8/config.GenerateClientConfig+0x35d7 github.com/mattermost/mattermost/server/v8/config/client.go:147 # 0x202698d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:218 # 0x2037e24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:447 # 0x202cb22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:245 # 0x202c97b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:273 # 0x202aaf3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x10b3 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x245b9b1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x245b9ac github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1333 # 0x245a176 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1178 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 1008] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 11264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e778 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e777 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x8d7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3464 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [12: 384] @ 0x409dd2 0x408e4d 0x40d905 0x24fc9cc 0x24fc967 0x24fc949 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fc9cb net/textproto.MIMEHeader.Set+0xceb net/textproto/header.go:22 # 0x24fc966 net/http.Header.Set+0xc86 net/http/header.go:40 # 0x24fc948 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc68 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:432 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 13312] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 448] @ 0x461d32 0x4612a5 0x46140a 0x1851cb6 0x1851c97 0x11adcb0 0x483fe1 # 0x1851cb5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f5 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 640] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 896] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1852777 0x18526d7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852776 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x356 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x18526d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:435 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0xb78dca 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203f68c 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203f68b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9ab github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 3840] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 336] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x5655f1 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 528] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [6: 96] @ 0x6cf347 0x6cf157 0x2611a6f 0x2611a5e 0x2611a40 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf156 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:656 # 0x2611a6e net/textproto.MIMEHeader.Set+0x110e net/textproto/header.go:22 # 0x2611a5d net/http.Header.Set+0x10fd net/http/header.go:40 # 0x2611a3f github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x10df github.com/mattermost/mattermost/server/v8/channels/api4/system.go:195 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [7: 4032] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 176] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 10368] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 336] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1440] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2040a14 0x2046ec5 0x2029802 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2040a13 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x573 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [19: 3040] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 640] @ 0xbf69ce 0x2047b05 0x2046acf 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbf69cd github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x2d github.com/mattermost/mattermost/server/public/model/session.go:93 # 0x2047b04 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).SetSession+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:400 # 0x2046ace github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x88e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:264 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 1232] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1120] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 2048] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1568] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x110df30 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x110df2f github.com/lib/pq/scram.(*Client).clientProof+0x18f github.com/lib/pq@v1.10.9/scram/scram.go:243 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x26877f6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x26877f5 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x235 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829e57 0x179cdf0 0x16d76b1 0x1feddfd 0x1f4eb5b 0x1f4a72e 0x1f4a394 0x1f49d4a 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829e56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:140 # 0x179cdef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:187 # 0x16d76b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6671 # 0x1feddfc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5350 # 0x1f4eb5a github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x1f4a72d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1cd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 120] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x1643ee5 0x1643e96 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643ee4 path/filepath.Join+0x164 path/filepath/path.go:131 # 0x1643e95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x115 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1664] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16b499a 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16b4999 github.com/mattermost/squirrel.(*updateData).ToSql+0x679 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [41: 5904] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [16: 5632] @ 0x12578b9 0x125c637 0x182b7ac 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 4032] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [8: 64] @ 0x897945 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2c25 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x897944 github.com/mattermost/go-i18n/i18n/language.Parse+0x544 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2c24 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x16b0a7c 0x17c1d78 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x17c1d77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x637 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3200] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17be22a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17be229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:601 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 640] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 960] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [23: 368] @ 0x16b15eb 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 168] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1122d92 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1122d91 github.com/lib/pq.NewConnector+0x31 github.com/lib/pq@v1.10.9/connector.go:49 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 312] @ 0x763091 0x7630d4 0x77642d 0x750c27 0x755918 0x483fe1 # 0x763090 io.LimitReader+0x530 io/io.go:461 # 0x7630d3 net/http.readTransfer+0x573 net/http/transfer.go:573 # 0x77642c net/http.readRequest+0x74c net/http/request.go:1158 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [2: 64] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x18392ec 0x1839636 0x1842098 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18392eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x64b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:157 # 0x1839635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:185 # 0x1842097 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:986 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x2046ec5 0x2029802 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [4: 19456] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x65064b 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x65064a crypto/x509.(*policyGraph).insert+0x12aa crypto/x509/verify.go:1310 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x24e221e 0x24e31e9 0x24e31ad 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e221d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:64 # 0x24e31e8 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x448 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:324 # 0x24e31ac github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x40c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:220 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0x172042c 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x172042b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x36b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:451 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 720] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [3: 528] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [8: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x264920f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264920e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x68e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:327 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0xad507a 0x48ea11 0xaeb5d3 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xad5079 encoding/gob.init.func1+0x19 encoding/gob/encode.go:44 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xaeb5d2 encoding/gob.(*Encoder).encodeInterface+0x732 encoding/gob/encode.go:417 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [3: 48] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 6912] @ 0x12578b9 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x72e788 0x72e774 0x72e6de 0x72e257 0x70fd48 0x483fe1 # 0x72e787 bufio.NewWriterSize+0x4e7 bufio/bufio.go:600 # 0x72e773 bufio.NewWriter+0x4d3 bufio/bufio.go:609 # 0x72e6dd net/http.(*http2Transport).newClientConn+0x43d net/http/h2_bundle.go:8281 # 0x72e256 net/http.(*http2Transport).NewClientConn+0x36 net/http/h2_bundle.go:8240 # 0x70fd47 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:923 0: 0 [7: 43008] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3456] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 1376256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x16b6ab1 0x16b6b70 0x183091a 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b6ab0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x1830919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x859 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:129 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 1792] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0xc16b72 0x20522d4 0x2051cd7 0x483fe1 # 0xc16b71 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xb1 github.com/mattermost/mattermost/server/public/model/websocket_message.go:227 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [61: 2928] @ 0xae002f 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae002e encoding/gob.(*Decoder).decOpFor+0x78e encoding/gob/decode.go:884 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [6: 192] @ 0x535245 0x535350 0x53a585 0x171fa05 0x1742778 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x171fa04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:376 # 0x1742777 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 14336] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [18: 6336] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x2652490 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x265248f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1049 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 2560] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 5184] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 416] @ 0x186883e 0x16f462e 0x200ecda 0x1f7f55a 0x24b695b 0x483fe1 # 0x186883d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x15d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:536 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24b695a github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7a github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:764 0: 0 [7: 3136] @ 0x24fb805 0x24faf64 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fb804 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x744 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:173 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0xbfc4ba 0xbfc477 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 13824] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 384] @ 0x479c9a 0x479caf 0x1851d65 0x11adcb0 0x483fe1 # 0x1851d64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x620165 0x61a07b 0x61973b 0x60e6b8 0x621587 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x620164 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x61a07a net.(*netFD).dial+0x83a net/sock_posix.go:143 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [21: 137088] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1852251 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x184ffd2 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184ffd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 960] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x1f79ba6 0x1f79b8d 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f79ba5 github.com/mattermost/mattermost/server/public/model.NewPostList+0x205 github.com/mattermost/mattermost/server/public/model/post_list.go:24 # 0x1f79b8c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:99 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 336] @ 0xb08baa 0xb081e9 0x113e93d 0x483fe1 # 0xb08ba9 github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xa9 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:177 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [4: 1280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 16384] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [9: 43776] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [34: 139264] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [39: 159744] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 17280] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [25: 86400] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [7: 9856] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 32] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4cfde8 0x4cf59d 0x4cf6e8 0x118d46f 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfde7 os.(*File).readdir+0x587 os/dir_unix.go:141 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 2112] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 55296] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 64] @ 0x50f21d 0xadda85 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadda84 encoding/gob.(*Decoder).decodeMap+0x2c4 encoding/gob/decode.go:603 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [13: 8320] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [9: 36864] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1857c59 0x1859a74 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x1857c58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x698 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:762 # 0x1859a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:939 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16ae4b7 0x16aee9a 0x16aed98 0x16b00bd 0x17c1152 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1151 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:846 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 4096] @ 0x543d27 0xbd75b6 0x240888d 0x24080e5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbd75b5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:355 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x24080e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1064 github.com/mattermost/mattermost/server/v8/channels/app/post.go:824 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 39936] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [48: 147456] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [74: 198912] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [9: 288] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x6d00fc 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x186d9b7 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d9b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:940 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [2: 288] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 720] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 11264] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2040a14 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2040a13 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x573 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x207cc85 0x208de5b 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x207cc84 github.com/getsentry/sentry-go/internal/otel/baggage.Baggage.Members+0x64 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:522 # 0x208de5a github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x5a github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:27 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1850017 0x184fff3 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850016 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8f6 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184fff2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x8d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:311 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e088 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x184e087 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:143 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184dcd7 0x184dcb1 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a007c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a007b github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:606 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1343488] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2555904] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb0fef5 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fef4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4f4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 48640] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17f2791 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f2790 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 688128] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 5226496] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x6e7ad1 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7ad0 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f8b2 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x186f8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 4608] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 200] @ 0x208fe6a 0x208fe13 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208fe69 github.com/getsentry/sentry-go.NewHub+0x89 github.com/getsentry/sentry-go@v0.36.0/hub.go:69 # 0x208fe12 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.36.0/hub.go:120 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [28: 8064] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184460d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x184460c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1169 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 5632] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 288] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0x175cb6d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cb6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x70c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 9728] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [53: 61056] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 96] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 4320] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4608] @ 0x6752c7 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6752c6 crypto/tls.(*certCache).newCert+0x106 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [9: 144] @ 0xc0d9d2 0xc0d9d3 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d9d1 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d9d2 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 1120] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1850451 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850450 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xd30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:339 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1836cfd 0x202799f 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1836cfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1017 # 0x202799e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 7680] @ 0x675187 0x67517d 0x421f31 0x483fe1 # 0x675186 crypto/tls.(*certCache).evict+0x46 crypto/tls/cache.go:73 # 0x67517c crypto/tls.(*certCache).active.func1+0x3c crypto/tls/cache.go:65 # 0x421f30 runtime.runfinq+0x3d0 runtime/mfinal.go:275 0: 0 [2: 32] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e1cd 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1728] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x772e8e 0x772ee1 0x772e29 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x772e8d net/textproto.MIMEHeader.Set+0x28d net/textproto/header.go:22 # 0x772ee0 net/http.Header.Set+0x2e0 net/http/header.go:40 # 0x772e28 net/http.(*persistConn).roundTrip+0x228 net/http/transport.go:2773 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 768] @ 0x461f4a 0x10e115c 0x10e04a5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10e115b github.com/jaytaylor/html2text.(*textifyTraverseContext).emit+0x9b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:443 # 0x10e04a4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0xb84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:275 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69751e 0x693725 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [14: 4032] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b5c75 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5c74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184e025 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184e024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184e13d 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x46140a 0x183ecdf 0x183ecc0 0x184386a 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183ecde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xfe github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 256] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x2629bca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2629bc9 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x269 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x16b0825 0x16b07b9 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 2640] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 880] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [14: 2688] @ 0x543d27 0xc135df 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc135de github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x11e github.com/mattermost/mattermost/server/public/model/utils.go:314 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 9216] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [4: 256] @ 0x84793e 0x842cf9 0x84297d 0x483fe1 # 0x84793d github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1bd github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x842cf8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x84297c github.com/mattermost/logr/v2.(*TargetHost).start+0xfc github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [11: 528] @ 0x1643dcb 0x1643d9b 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1643dca bytes.NewReader+0x4a bytes/reader.go:159 # 0x1643d9a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x1a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:78 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184f2d0 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f2cf github.com/mattermost/squirrel.SelectBuilder.Join+0x40f github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 640] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 14336] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 48] @ 0x539cff 0x111cf5c 0x111cf3c 0x111f938 0x111c230 0x111908c 0x1121765 0x23eb695 0x7e919d 0x23eb3c5 0x118baea 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x111cf5b strings.Split+0x27b strings/strings.go:361 # 0x111cf3b github.com/lib/pq.(*conn).parseComplete+0x25b github.com/lib/pq@v1.10.9/conn.go:1500 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x23eb694 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:134 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eb3c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x118bae9 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 2560] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x22d3df2 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x22d3df1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2833 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3456] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x4bb82e 0x5717e3 0x571913 0x11c68f0 0x11c6e6f 0x242a252 0x242a0e8 0x2428d71 0x24275a5 0x2424d6d 0x242393b 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x5717e2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x571912 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x11c68ef image.sniff+0x10f image/format.go:75 # 0x11c6e6e image.DecodeConfig+0x18e image/format.go:103 # 0x242a251 github.com/mattermost/mattermost/server/v8/channels/app.parseImages+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:924 # 0x242a0e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3a7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:902 # 0x2428d70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8f0 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:787 # 0x24275a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x364 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:660 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 184] @ 0xadf966 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x695ac9 0x695a4f 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695ac8 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x4a8 crypto/internal/fips140/tls13/tls13.go:112 # 0x695a4e crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42e crypto/tls/handshake_client_tls13.go:518 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 480] @ 0xb76113 0xb760ee 0xb70d4e 0xb705ca 0xb72b8b 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb70d4d github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x2ad github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:452 # 0xb705c9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xb72b8a github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xaa github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1760] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 16896] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 704] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 592] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x110cc65 0x110cc55 0x111b0ff 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x110cc64 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:168 # 0x110cc54 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.10.9/scram/scram.go:84 # 0x111b0fe github.com/lib/pq.(*conn).auth+0xc9e github.com/lib/pq@v1.10.9/conn.go:1291 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 880] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 448] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x4f056b 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4f056a strconv.AppendInt+0xaa strconv/itoa.go:42 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 3328] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184fced 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184fcec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 7200] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 1792] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [29: 14848] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x48f3a8 0x48e925 0x77702e 0x7550db 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48f3a7 sync.(*poolChain).pushHead+0xe7 sync/poolqueue.go:243 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x7550da net/http.(*conn).finalFlush+0x7a net/http/server.go:1792 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [2: 96] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a99fe 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 6272] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 3200] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1088] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb72918 0xb7279e 0xb7067a 0xb73327 0xb7248a 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f70265 0x2392477 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72917 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x117 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:122 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb73326 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c6 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:265 # 0xb72489 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f70264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:311 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [2: 192] @ 0x2716257 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x16b080f 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 7168] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 55552] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x17b8bcc 0x17ba49f 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x17ba49e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x153e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 9216] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0x2434445 0x2434446 0x20cbcdb 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x2434444 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x984 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2434445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x985 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x20cbcda github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices.MakeWorker.func2+0x9a github.com/mattermost/mattermost/server/v8/channels/jobs/product_notices/worker.go:25 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 512] @ 0x48f3f2 0x48e925 0x77702e 0x754e13 0x755be5 0x483fe1 # 0x48f3f1 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77702d net/http.putBufioWriter+0xed net/http/server.go:909 # 0x754e12 net/http.(*response).finishRequest+0x52 net/http/server.go:1716 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1791e9c 0x1791e51 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1791e9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1791e50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1477 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [33: 42240] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x18525bf 0x1852506 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18525be github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1852505 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1040] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1920] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817c98 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817c97 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1536] @ 0x79d7f1 0x79d2cb 0x1829e25 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79d7f0 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:628 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x16b15fc 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 240] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1120] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 80] @ 0x4d4f2f 0x4d527d 0x4d2fbe 0xbc2e0e 0xbc2e05 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d4f2e os.newFile+0x4e os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2e0d os.Open+0x3cd os/file.go:370 # 0xbc2e04 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3c4 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1408] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x16aad15 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc16038 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc16037 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [31: 496] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 512] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x535245 0x535350 0x53a585 0x16b4987 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16b4986 github.com/mattermost/squirrel.(*updateData).ToSql+0x666 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aadcd 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 2464] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e225 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e224 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3446 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 560] @ 0x461d32 0x4612a5 0x46140a 0x175c59f 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c59e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x13e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 672] @ 0x16b0825 0x16b07b9 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 7200] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b080f 0x17277e5 0x172778d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17277e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172778c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184dcd7 0x184dcb1 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [23: 2208] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184dcd7 0x184dcb1 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184dcd6 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184dcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [42: 672] @ 0x6cf347 0x6cf157 0x6ccfa8 0x73fe18 0x2458eb8 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf156 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:656 # 0x6ccfa7 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x73fe17 net/http.Header.Get+0x17 net/http/header.go:50 # 0x2458eb7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x117 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17417f3 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17417f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3006 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x8ed126 0x8f65f4 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ed125 golang.org/x/net/html.(*parser).addText+0x185 golang.org/x/net@v0.46.0/html/parse.go:325 # 0x8f65f3 golang.org/x/net/html.inTableIM+0x7b3 golang.org/x/net@v0.46.0/html/parse.go:1434 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17bdf0f 0x17bde51 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17bdf0e github.com/mattermost/squirrel.SelectBuilder.From+0x46e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17bde50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:592 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c211 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c210 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x630 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:915 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 256] @ 0x58b4b3 0x5cd9fb 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x58b4b2 math/big.(*Int).Bytes+0x32 math/big/int.go:524 # 0x5cd9fa crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [11: 9856] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [10: 160] @ 0x4cfd25 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfd24 os.(*File).readdir+0x4c4 os/dir_unix.go:132 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x22d3c85 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x22d3c84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2818 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 11264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e128 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e127 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x287 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 400] @ 0x23a6d88 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a6d87 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x147 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:526 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x632125 0x242917c 0x24272d5 0x2424207 0x2423568 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x632124 net/url.(*URL).Parse+0x24 net/url/url.go:1099 # 0x242917b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:801 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2046b26 0x2046b14 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2046b25 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).SetConnectionID+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:324 # 0x2046b13 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x8d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:267 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1852251 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 768] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x461d32 0x4612a5 0x4614c5 0x1b792ed 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b792ec github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [13: 208] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1664] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x24a8ffd 0x24a8fca 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x24a8ffc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x7fc github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a8fc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x7c9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2778 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 256] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x122358f 0x12246d1 0x48e78b 0x122434f 0x1224323 0x1232dac 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x122358e github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2ae github.com/yuin/goldmark@v1.7.13/parser/parser.go:768 # 0x12246d0 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:844 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x122434e sync.(*Once).Do+0x6e sync/once.go:69 # 0x1224322 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.7.13/parser/parser.go:841 # 0x1232dab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.7.13/markdown.go:117 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x240cb94 0x240cb10 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x240cb93 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0xf3 github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x240cb0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 1680] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x179ae4b 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x179ae4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1838085 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1838084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 256] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x173704e 0x1737004 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x173704d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2ad github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1737003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2232 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c6b9c 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6b9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3db github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 2560] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 288] @ 0xadbf98 0xadc81f 0xae05a8 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 2912] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aac85 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x173a44a 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x173a449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x309 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 264] @ 0x4c2fbf 0x4c2fa7 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2fbe internal/filepathlite.(*lazybuf).append+0x91e internal/filepathlite/path.go:45 # 0x4c2fa6 internal/filepathlite.Clean+0x906 internal/filepathlite/path.go:126 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 1792] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 3744] @ 0x461e06 0x24fca52 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fca51 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd71 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 560] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184fa54 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184fa53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184f89c 0x184f7c6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184f89b github.com/mattermost/squirrel.SelectBuilder.From+0x17b github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184f7c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x2652aa6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x2652aa5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1089 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x4125d4 0x76d149 0x76c318 0x76c155 0x483fe1 # 0x76d148 net/http.(*Transport).dialConn+0x128 net/http/transport.go:1741 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [11: 1232] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 131072] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 10400] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2421d89 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x208 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:69 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 720] @ 0x24a8d66 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a8d65 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x565 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2758 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182bda5 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182bda4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:287 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 13920] @ 0x1f7e925 0x1f7e90f 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7e924 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7e90e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:177 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x1829e57 0x18643c5 0x16f9111 0x1fb2e0d 0x20141dd 0x249a76d 0x249a72f 0x2499a25 0x2656ced 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829e56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:140 # 0x18643c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:292 # 0x16f9110 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16001 # 0x1fb2e0c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.(*SearchUserStore).Update+0x2c github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/user_layer.go:76 # 0x20141dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12621 # 0x249a76c github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3ec github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:202 # 0x249a72e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x3ae github.com/mattermost/mattermost/server/v8/channels/app/user.go:1357 # 0x2499a24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1233 # 0x2656cec github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xdac github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1477 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x265691b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x265691a github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x9da github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1443 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [9: 1008] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x1853be5 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1853be4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x17bdd96 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdd95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x2f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:588 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x16b0825 0x16b07b9 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x64fb45 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64fb44 crypto/x509.policiesValid+0x7a4 crypto/x509/verify.go:1488 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [10: 640] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 8448] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x52f3fd 0x52e9db 0x111edcb 0x111ed3c 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x52f3fc fmt.newScanState+0x3c fmt/scan.go:384 # 0x52e9da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x111edca fmt.Sscanf+0x1aa fmt/scan.go:114 # 0x111ed3b github.com/lib/pq.(*conn).processParameterStatus+0x11b github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x543d27 0x23a7365 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x23a7364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x204 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:560 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2401f19 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2401f18 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2518 github.com/mattermost/mattermost/server/v8/channels/app/post.go:405 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [13: 416] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 4096] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1664] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 3520] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 11616] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x23f9ed7 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x23f9ed6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x576 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:203 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 6400] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2560] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x5411a5 0x543aa6 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5411a4 encoding/json.(*decodeState).convertNumber+0x104 encoding/json/decode.go:841 # 0x543aa5 encoding/json.(*decodeState).literalInterface+0x145 encoding/json/decode.go:1149 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x4125d4 0x4aaf08 0x92ef5d 0x48ea11 0x93171e 0x934ec5 0x9349f2 0x51ab97 0xb083c9 0x113e93d 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x92ef5c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x93171d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x51ab96 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [9: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb72b6e 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72b6d github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0x8d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:163 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1728] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x646129 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x646128 crypto/x509.parseCertificate+0x208 crypto/x509/parser.go:922 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [19: 2128] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x184e0bf 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184e0be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:141 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x5275a6 0x16a960d 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a960c github.com/mattermost/squirrel.Eq.toSQL+0xa6c github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x461d32 0x4612a5 0x46140a 0x17921ae 0x1792170 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17921ad github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x62d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x179216f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1489 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b6b4c 0x16b6a7b 0x16b6b70 0x173b1a6 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b6b4b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6a7a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x16b6b6f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x173b1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1065 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2562 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x183a7a5 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x11adbf1 0x24a8b09 0x266ec31 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11adbf0 golang.org/x/sync/errgroup.(*Group).Go+0x50 golang.org/x/sync@v0.17.0/errgroup/errgroup.go:78 # 0x24a8b08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x308 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2723 # 0x266ec30 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xd90 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 524288] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x1644bbd 0x1644b96 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232e0c9 0x232de29 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x1644bbc io.Copy+0xfc io/io.go:388 # 0x1644b95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232e0c8 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1+0x208 github.com/mattermost/mattermost/server/v8/channels/app/file.go:968 # 0x232de28 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x88 github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1024000] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae390 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae38f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x48f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:115 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b65a5 0x16b6573 0x1831209 0x16ec004 0x2005484 0x20414c6 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b65a4 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1831208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x2e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:166 # 0x16ec003 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12455 # 0x2005483 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9812 # 0x20414c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x665 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2688] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c1997 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1996 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 43776] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc14273 0x2660eb0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc14272 github.com/mattermost/mattermost/server/public/model.MapFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:472 # 0x2660eaf github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 229376] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 1359872] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x171f045 0x171f474 0x1741cf8 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171f044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x7e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:260 # 0x171f473 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:303 # 0x1741cf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x697 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 20480] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1376256] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17381d4 0x1738121 0x16c2c47 0x1fd6e6d 0x1f702a6 0x2392477 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17381d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1738120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2312 # 0x16c2c46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1412 # 0x1fd6e6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1217 # 0x1f702a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:316 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [3: 48] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1872] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x171daf9 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171daf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x198 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:123 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 3584] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [20: 11520] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x2739450 0x695879 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x273944f crypto/internal/fips140/tls13.NewEarlySecret[...]+0x4f crypto/internal/fips140/tls13/tls13.go:74 # 0x695878 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x258 crypto/tls/handshake_client_tls13.go:511 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x12575bb 0x125c637 0x182a1ef 0x17bc719 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x17bc718 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x6d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:405 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 672] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 32] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 256] @ 0xb159ae 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb159ad github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x24d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:203 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x242554e 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x242554d github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:446 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x24fa9b6 0x24fa944 0x24f9bbc 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fa9b5 github.com/mattermost/logr/v2.Logger.With+0x2915 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x24fa943 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x28a3 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 7168] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 1152] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 640] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [8: 1920] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 1440] @ 0xc16ae5 0xc16ad8 0x20522d4 0x2051cd7 0x483fe1 # 0xc16ae4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x24 github.com/mattermost/mattermost/server/public/model/websocket_message.go:282 # 0xc16ad7 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:226 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [7: 672] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18535ae 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18535ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x26d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:560 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [37: 592] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 480] @ 0x83d1d5 0x839af5 0x840f90 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83d1d4 github.com/mattermost/logr/v2.NewLogRec+0x1b4 github.com/mattermost/logr/v2@v2.0.22/logrec.go:41 # 0x839af4 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x840f8f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 2976] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x240bbda 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x240bbd9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:966 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x53dab7 0xbdb44f 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x56458a 0x5647d5 0x5654cb 0x5fd209 0x5fd1d1 0x5fe606 0x601ae5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5647d4 context.(*cancelCtx).propagateCancel+0x74 context/context.go:469 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5fd208 context.WithDeadline+0x2e8 context/context.go:617 # 0x5fd1d0 net.(*Resolver).exchange+0x2b0 net/dnsclient_unix.go:182 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x173adb9 0x173acb2 0x173aca3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x173adb8 github.com/lann/builder.Append+0xc78 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x173acb1 github.com/mattermost/squirrel.UpdateBuilder.Set+0xb71 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x173aca2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xb62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2559 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x1735887 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1735886 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x326 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1851ee5 0x1851e43 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1851ee4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 576] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 7040] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1850414 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xcf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:339 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186f917 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 80] @ 0x23f9f71 0x23f9f56 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23f9f70 github.com/mattermost/mattermost/server/v8/channels/app.New+0x610 github.com/mattermost/mattermost/server/v8/channels/app/app.go:31 # 0x23f9f55 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5f5 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:207 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 880] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 2880] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 120] @ 0x175aeb7 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175aeb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 25920] @ 0x12575bb 0x125c637 0x182b7ac 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 640] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [7: 448] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 5184] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 4800] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f27c8 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f27c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17f24a9 0x17f2478 0x17f2476 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f24a8 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x68 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17f2477 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17f2475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:90 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461e06 0xc124d8 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc124d7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 5760] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184f0f9 0x184f0b1 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f0f8 github.com/mattermost/squirrel.SelectBuilder.Join+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f0b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 2688] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 1152] @ 0x49cbcd 0x49ce52 0x605a6c 0x61d9bb 0x61cbb0 0x75b08c 0x2457c85 0x483fe1 # 0x49cbcc syscall.anyToSockaddr+0x16c syscall/syscall_linux.go:675 # 0x49ce51 syscall.Getsockname+0x71 syscall/syscall_linux.go:713 # 0x605a6b net.(*netFD).accept+0x1cb net/fd_unix.go:188 # 0x61d9ba net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x61cbaf net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [2: 160] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1f83aa5 0x24364e8 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83aa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Reaction+0x64 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:413 # 0x24364e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 8960] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 3520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x25199e5 0x2519977 0x2519959 0x25194b2 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25199e4 net/textproto.MIMEHeader.Set+0x104 net/textproto/header.go:22 # 0x2519976 net/http.Header.Set+0x96 net/http/header.go:40 # 0x2519958 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x78 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:72 # 0x25194b1 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 896] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 2112] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 192] @ 0x54362a 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543629 encoding/json.(*decodeState).arrayInterface+0xa9 encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0x16b1ff1 0x16b20b0 0x175b39f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1ff0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x175b39e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 2560] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3584] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 6144] @ 0x78848d 0x78843a 0x787aef 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 # 0x78848c regexp/syntax.(*compiler).inst+0x8c regexp/syntax/compile.go:164 # 0x788439 regexp/syntax.(*compiler).quest+0x39 regexp/syntax/compile.go:220 # 0x787aee regexp/syntax.(*compiler).compile+0x106e regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x747dd3 0x11ac795 0x11ac76a 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x747dd2 net/http.NewRequestWithContext+0x232 net/http/request.go:912 # 0x11ac794 net/http.NewRequest+0x154 net/http/request.go:863 # 0x11ac769 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x129 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:21 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 11520] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 10752] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 70483968] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 71565312] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1152] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1152] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 33914880] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 30621696] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184f9fe 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x184f9fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:286 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 2400] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 64] @ 0x113e23e 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e23d net/rpc.(*Client).Call+0x31d net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [12: 3244032] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [44: 2112] @ 0x53ff05 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x16b080f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x5d158a 0x646448 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5d1589 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xc9 crypto/x509/pkix/pkix.go:151 # 0x646447 crypto/x509.parseCertificate+0x527 crypto/x509/parser.go:964 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [31: 496] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x185263f 0x18525f7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x185263e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 12288] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [31: 17856] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [77: 3696] @ 0x461d32 0x4612a5 0x46159d 0x24f88f7 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f88f6 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x856 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:215 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 11264] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 4368] @ 0xc135ec 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc135eb github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x12b github.com/mattermost/mattermost/server/public/model/utils.go:315 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 384] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 344064] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3285 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3284 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [4: 229376] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 3031040] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x18511fc 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18511fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1adb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:371 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 256] @ 0x755b15 0x483fe1 # 0x755b14 net/http.(*conn).serve+0x594 net/http/server.go:2089 0: 0 [17: 82688] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 560] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x182f070 0x182efa2 0x182ee0c 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [8: 896] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x5bcf85 0x6405dd 0x6465aa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6405dc crypto/x509.parseName+0x29c crypto/x509/parser.go:130 # 0x6465a9 crypto/x509.parseCertificate+0x689 crypto/x509/parser.go:980 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 160] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x24882fe 0x262963b 0x2629503 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x262963a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x29a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2629502 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x162 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:562 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x24f115c 0x25e6fda 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f115b github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1bb github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x25e6fd9 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x139 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:936 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [49: 3920] @ 0xc16be8 0x20522d4 0x2051cd7 0x483fe1 # 0xc16be7 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:230 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb12666 0xb1271c 0xb1261b 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb12665 container/list.New+0x65 container/list/list.go:62 # 0xb1271b github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb1261a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 4928] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e825 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e824 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x984 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3466 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x63cbe5 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63cbe4 crypto/x509.(*CertPool).addCertFunc+0x284 crypto/x509/cert_pool.go:210 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [20: 3840] @ 0x5f8735 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x5f8734 net.(*Dialer).DialContext+0x434 net/dial.go:565 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [7: 2240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 512] @ 0x270c5cd 0x2731e0f 0x272d5f9 0x5c86d0 0x5c85d2 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2731e0e crypto/internal/fips140/rsa.encrypt+0x10e crypto/internal/fips140/rsa/rsa.go:390 # 0x272d5f8 crypto/internal/fips140/rsa.verifyPSS+0x198 crypto/internal/fips140/rsa/pkcs1v22.go:342 # 0x5c86cf crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x32f crypto/internal/fips140/rsa/pkcs1v22.go:323 # 0x5c85d1 crypto/rsa.VerifyPSS+0x231 crypto/rsa/fips.go:169 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x65064b 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x65064a crypto/x509.(*policyGraph).insert+0x12aa crypto/x509/verify.go:1310 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 933888] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [2: 3072] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4734976] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 7488] @ 0x12575bb 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a605 0x175c3cd 0x175bd05 0x16c709d 0x1fdb73d 0x22e2564 0x22aed95 0x25588b0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoryT+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:338 # 0x175c3cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoryT+0x64c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:487 # 0x175bd04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategory+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:454 # 0x16c709c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2405 # 0x1fdb73c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategory+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1985 # 0x22e2563 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategory+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:90 # 0x22aed94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToCategory+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:217 # 0x25588af github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x14f github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:323 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 39424] @ 0x12578b9 0x125c637 0x1829914 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x2557b25 0x2557aae 0x2558c0d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x2557b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x2557aad github.com/mattermost/mattermost/server/v8/channels/api4.validateSidebarCategory+0x4d github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:260 # 0x2558c0c github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x4ac github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:343 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x186f97b 0x186f918 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x186f97a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ba github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 1120] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 5120] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x2732f5a 0x2738225 0x2737f09 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c59b2 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c59b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x4f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1256 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18392ec 0x1839636 0x1843d05 0x1843b8b 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18392eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x64b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:157 # 0x1839635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:185 # 0x1843d04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:205 # 0x1843b8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1137 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1850185 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:322 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [35: 560] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x2048a6a 0x2047f27 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2048a69 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:580 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 208] @ 0x12578b9 0x125c637 0x1829914 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1056] @ 0x12575bb 0x125c637 0x182b7ac 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 2688] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [5: 80] @ 0x461d32 0x4612a5 0x46140a 0x17bdc35 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdc34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x194 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:580 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 6912] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [13: 832] @ 0xadd965 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd964 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 48] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184dd88 0x184dcd8 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184dd87 github.com/mattermost/squirrel.SelectBuilder.From+0x187 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184dcd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 2112] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 9216] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [46: 1104] @ 0x16b0ab4 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 3072] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [18: 2016] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x183797e 0x1837923 0x1837931 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x183797d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1837922 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1837930 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:39 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22b07c7 0x2405777 0x2029802 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22b07c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 3121152] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x2737e4d 0x2737a25 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2737e4c crypto/internal/fips140/tls13.deriveSecret[...]+0x6c crypto/internal/fips140/tls13/tls13.go:51 # 0x2737a24 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 144] @ 0x479bf3 0x408dc5 0x408db8 0x40cf54 0x6515d2 0x651395 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6515d1 crypto/x509.newPolicyGraphNode+0x2231 crypto/x509/verify.go:1281 # 0x651394 crypto/x509.policiesValid+0x1ff4 crypto/x509/verify.go:1499 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 768] @ 0x272bcb1 0x272c1f7 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x272bcb0 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x272c1f6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x60e05e 0x60ce0e 0x60de12 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x60e05d net.(*Resolver).internetAddrList.func1+0x15d net/ipsock.go:275 # 0x60ce0d net.filterAddrList+0x14d net/ipsock.go:137 # 0x60de11 net.(*Resolver).internetAddrList+0x691 net/ipsock.go:308 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [9: 432] @ 0x5275a6 0x23e48c5 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x23e48c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xc16bcd 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16bcc github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:229 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [5: 560] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184392a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1843929 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 448] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 576] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x754c57 0x7549ea 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754c56 net/http.(*response).write+0x1d6 net/http/server.go:1688 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0xadd9e8 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd9e7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 2688] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 48] @ 0x17b5b27 0x17b5af3 0x17b5af2 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b5b26 github.com/mattermost/squirrel.newPart+0x266 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x17b5af2 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b5af1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:48 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 78479360] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x23338b5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x23338b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreviewForInfos.func1+0x54 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1264 0: 0 [1: 48] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 6144] @ 0x543d27 0xbd75b6 0x240888d 0x238913b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbd75b5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:355 # 0x240888c github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:847 # 0x238913a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xae3a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:716 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 442368] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3661824] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1056] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 288] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x1829ac9 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829ac8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 15360] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 10320] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [32: 1024] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0xb165ba 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165b9 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:67 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x23336ec 0x2412cd8 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23336eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreviewForInfos+0x8b github.com/mattermost/mattermost/server/v8/channels/app/file.go:1262 # 0x2412cd7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x197 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2464] @ 0x2422492 0x2422486 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 524288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2816] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b08ff 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 480] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x177b314 0x177b25b 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x177b313 github.com/mattermost/squirrel.SelectBuilder.From+0x1f3 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x177b25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:355 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15eb 0x183a7a5 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183a7a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:336 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 14400] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [12: 327168] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 72] @ 0x535245 0x535350 0x53a585 0x18396e7 0x1842098 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x18396e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x206 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:190 # 0x1842097 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:986 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 4224] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1850939 0x1850889 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1850938 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1218 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1850888 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [49: 28224] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 176] @ 0x497ccb 0x1122e70 0x1122d7e 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x497cca syscall.Environ+0xca syscall/env_unix.go:143 # 0x1122e6f os.Environ+0x10f os/env.go:140 # 0x1122d7d github.com/lib/pq.NewConnector+0x1d github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16b0825 0x16b07b9 0x177292a 0x17727f2 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1772929 github.com/mattermost/squirrel.StatementBuilderType.Select+0x209 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17727f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:66 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x24016e5 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x24016e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ce4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:385 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2220032] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 192] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x461d32 0x4612a5 0x46140a 0x184458d 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x184458c github.com/mattermost/squirrel.SelectBuilder.Join+0x2cc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x67c590 0x68112a 0x68275e 0x76fb46 0x5732f5 0x77258c 0x483fe1 # 0x67c58f crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:522 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68275d crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1248 # 0x76fb45 net/http.persistConnWriter.Write+0x25 net/http/transport.go:1960 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x77258b net/http.(*persistConn).writeLoop+0x1cb net/http/transport.go:2606 0: 0 [1: 48] @ 0x173e7f5 0x173e723 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173e7f4 github.com/mattermost/squirrel.Expr+0x394 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x173e722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x2c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2808 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 352] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x54eb70 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 272] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 576] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 49152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1904] @ 0x8ed126 0x8efd08 0x8f8198 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ed125 golang.org/x/net/html.(*parser).addText+0x185 golang.org/x/net@v0.46.0/html/parse.go:325 # 0x8efd07 golang.org/x/net/html.inBodyIM+0x167 golang.org/x/net@v0.46.0/html/parse.go:896 # 0x8f8197 golang.org/x/net/html.inCellIM+0x397 golang.org/x/net@v0.46.0/html/parse.go:1794 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [19: 311296] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2400039 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x17c55be 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c55bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1240 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x794a3f 0x7945f4 0x79b88d 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x794a3e regexp/syntax.(*Regexp).Simplify+0x87e regexp/syntax/simplify.go:98 # 0x7945f3 regexp/syntax.(*Regexp).Simplify+0x433 regexp/syntax/simplify.go:23 # 0x79b88c regexp.compile+0x6c regexp/regexp.go:175 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x6514ba 0x651395 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6514b9 crypto/x509.newPolicyGraphNode+0x2119 crypto/x509/verify.go:1278 # 0x651394 crypto/x509.policiesValid+0x1ff4 crypto/x509/verify.go:1499 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 640] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 9216] @ 0x12578b9 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 2176] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [25: 800] @ 0xbfa8e5 0xbfa8e6 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa8e4 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa8e5 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 384] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x22d3c85 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x22d3c84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2818 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 4960] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1779b6d 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1779b6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:220 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 90112] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 11264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e2ca8 0x2508bf1 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e2ca7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x587 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:161 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 480] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c23fa 0x17c23f5 0x16db8a2 0x1ff2874 0x1f79822 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c23f9 github.com/mattermost/squirrel.SelectBuilder.MustSql+0x3d9 github.com/mattermost/squirrel@v0.5.0/select.go:229 # 0x17c23f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x16db8a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7851 # 0x1ff2873 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6261 # 0x1f79821 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:82 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x2543455 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2543454 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1660 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 208] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [88: 30976] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [13: 5408] @ 0x1854338 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1854337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xff7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:607 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 192] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 57216] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 256] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x54b539 0x54b93a 0x54e6e2 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54e6e1 encoding/json.(*Decoder).readValue+0x121 encoding/json/stream.go:103 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 38912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 913920] @ 0x543d27 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16a6fbb 0x16a6eb3 0x17ada71 0x16da44e 0x1ff1134 0x2021b24 0x23e471c 0x23e46f4 0x1135a78 0x117306d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a6fba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a6eb2 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x17ada70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:235 # 0x16da44d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7511 # 0x1ff1133 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5990 # 0x2021b23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:232 # 0x23e471b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePluginKey+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:99 # 0x23e46f3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1081 # 0x1135a77 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x117306c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5336 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 7680] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18589b7 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18589b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x2f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:815 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4928] @ 0x171e07e 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171e07d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c190f 0x17c1851 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c190e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1850 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:887 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a24c5 0x16a3955 0x16a3bc5 0x16a53cd 0x16a5233 0x184fe9e 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16a53cc github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x184fe9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x77d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x17e2805 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17e2804 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184e1cd 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:150 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [14: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x7db215 0x7dc125 0x7dc6ed 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x7db214 database/sql/driver.defaultConverter.ConvertValue+0x2d4 database/sql/driver/types.go:280 # 0x7dc124 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7dc6ec database/sql.driverArgsConnLocked+0x56c database/sql/convert.go:179 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1830573 0x183047c 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830572 github.com/lann/builder.Append+0x4b2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183047b github.com/mattermost/squirrel.UpdateBuilder.Set+0x3bb github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 8] @ 0x182e72d 0x182b95a 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 12672] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2688] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 160] @ 0x16ae8ad 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [15: 1200] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 1872] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2b74 0xbc2b00 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2b73 path/filepath.Join+0x133 path/filepath/path.go:131 # 0xbc2aff github.com/mattermost/mattermost/server/public/model.FindManifest+0xbf github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 4864] @ 0x540f4d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16aadcd 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16aadcc github.com/mattermost/squirrel.conj.join+0x2cc github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x184efb9 0x184ef93 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184efb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184ef92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x22d3c85 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x22d3c84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2818 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 336] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 5280] @ 0x12575bb 0x125c637 0x182b7ac 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x1a0a4b0 0x1a0a52c 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a4af github.com/klauspost/compress/flate.newHuffmanEncoder+0x14f github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a52b github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1cb github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:152 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [8: 2816] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e17c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3444 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x547766 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [12: 384] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x23eb695 0x7e919d 0x23eb3c5 0x118baea 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x23eb694 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:134 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eb3c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x118bae9 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 30720] @ 0x4e20f4 0x4e1b1d 0x20487ed 0x20487e3 0x2047f27 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x20487ec bytes.(*Buffer).Grow+0xec bytes/buffer.go:168 # 0x20487e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:558 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [69: 4416] @ 0x9317a5 0x935726 0x935abe 0xafa3d2 0xafac2f 0xafa758 0x113eea5 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x935725 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x935abd github.com/hashicorp/yamux.(*Stream).Close+0x1dd github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0xafa3d1 net/rpc.(*gobServerCodec).Close+0x31 net/rpc/server.go:436 # 0xafac2e net/rpc.(*Server).ServeCodec+0x3ee net/rpc/server.go:483 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 896] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1773ecb 0x1773e4e 0x16ce95b 0x1fe42e6 0x230e2eb 0x2592045 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1773eca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x84a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1773e4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x7cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:149 # 0x16ce95a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4433 # 0x1fe42e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3624 # 0x230e2ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x2592044 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 73728] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [18: 288] @ 0xb08bce 0xb081e9 0x113e52d 0x483fe1 # 0xb08bcd github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xcd github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:176 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [2: 64] @ 0xb0fc90 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fc8f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x28f github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f272d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f272c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 1152] @ 0x16b0f34 0x16b0e53 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xb7295b 0xb7279e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7e5e7 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7295a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x15a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:130 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e5e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x126 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:125 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [70: 1120] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2048] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184f7c5 0x184f7a1 0x184f786 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184f7c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184f7a0 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x184f785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17b0286 0x17b022c 0x17b01cd 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b0285 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x145 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17b022b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xeb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17b01cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 32256] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 80] @ 0x16b15fc 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18438c5 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18438c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x4e1b85 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0x2543534 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2543533 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c19f9 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c19f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:888 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b0825 0x16b07b9 0x1791d4c 0x1791d1d 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1791d4b github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1791d1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1475 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2816] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0a05 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x2417c0b 0x25eb132 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x2417c0a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostInfo+0x16a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2356 # 0x25eb131 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1305 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2880] @ 0xc473ce 0xc473c2 0x2619d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x2619d27 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf07 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x10e129f 0x10e0ff0 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x10e129e github.com/jaytaylor/html2text.(*textifyTraverseContext).emit+0x1de github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:453 # 0x10e0fef github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x6f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:417 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 13440] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x653545 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x653544 crypto/x509.checkSignature+0x1a4 crypto/x509/x509.go:992 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 384] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 2560] @ 0x68c08e 0x68c07b 0x68cd5d 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x68c08d crypto/internal/fips140/mlkem.(*EncapsulationKey768).Bytes+0xd0d crypto/internal/fips140/mlkem/mlkem768.go:143 # 0x68c07a crypto/tls.(*Conn).makeClientHello+0xcfa crypto/tls/handshake_client.go:175 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 32] @ 0x535245 0x535350 0x5af86e 0x646f98 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x5af86d encoding/asn1.ObjectIdentifier.String+0x4d encoding/asn1/asn1.go:233 # 0x646f97 crypto/x509.parseCertificate+0x1077 crypto/x509/parser.go:1044 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 4480] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1853610 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185360f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:561 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x172073e 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x172073d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x67d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:470 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 160] @ 0x12578b9 0x125c637 0x1829914 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 2304] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 416] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xb7295b 0xb7279e 0xb7067a 0xb73327 0xb7248a 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f70265 0x2392477 0x483fe1 # 0xb7295a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x15a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:130 # 0xb7279d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb73326 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c6 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:265 # 0xb72489 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f70264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:311 # 0x2392476 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x76 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [3: 960] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xc0e8cf 0xc0e8d0 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e8ce github.com/tinylib/msgp/msgp.ReadStringBytes+0x108e github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e8cf github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x108f github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:666 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 1824] @ 0x540f4d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b0eeb 0x184f2d0 0x184f288 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184f2cf github.com/mattermost/squirrel.SelectBuilder.Join+0x40f github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184f287 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:244 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x185062c 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x185062b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xf0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:345 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x183df1f 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x183df1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:657 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 104] @ 0xbfb57a 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb579 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xdb9 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb0fe71 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fe70 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x470 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x18537b0 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18537af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [52: 139776] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 11520] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 3072] @ 0x7dd325 0x7dd356 0x7de70a 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7de709 database/sql.convertAssignRows+0x1ce9 database/sql/convert.go:437 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266d925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266d924 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3386 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x17bc587 0x17bc4f7 0x16def11 0x1faffbb 0x1ff64fd 0x2407cee 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x17bc586 github.com/mattermost/squirrel.InsertBuilder.Columns+0x546 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17bc4f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x4b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:399 # 0x16def10 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8669 # 0x1faffba github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:81 # 0x1ff64fc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6916 # 0x2407ced github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xc6d github.com/mattermost/mattermost/server/v8/channels/app/post.go:791 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x266f265 0x266f1b3 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x266f264 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x184 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x266f1b2 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0xd2 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3491 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0xb76113 0xb760ee 0xb760a5 0xb72b6e 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb72b6d github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0x8d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:163 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1829d10 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17e199f 0x17e0c67 0x16e14e4 0x1ff9064 0x243020e 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17e199e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x17e0c66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x16e14e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9362 # 0x1ff9063 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7444 # 0x243020d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 5760] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1817c0b 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1817c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x12a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x461f4a 0xb0b9fd 0xb0b725 0xb11ea5 0xb124dd 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0b9fc github.com/mattermost/mattermost/server/public/shared/markdown.trimTrailingCharactersFromLink+0x5c github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:174 # 0xb0b724 github.com/mattermost/mattermost/server/public/shared/markdown.parseURLAutolink+0x244 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:104 # 0xb11ea4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0xe4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:509 # 0xb124dc github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x13c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x794b36 0x794af3 0x7945f4 0x79b88d 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x794b35 regexp/syntax.simplify1+0x975 regexp/syntax/simplify.go:148 # 0x794af2 regexp/syntax.(*Regexp).Simplify+0x932 regexp/syntax/simplify.go:100 # 0x7945f3 regexp/syntax.(*Regexp).Simplify+0x433 regexp/syntax/simplify.go:23 # 0x79b88c regexp.compile+0x6c regexp/regexp.go:175 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x5275a6 0x16aae05 0x16be4a5 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x461d32 0x4612a5 0x4614c5 0x17c95c5 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c95c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1558 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 6336] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dfd90 0x25dfd7b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dfd8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dfd7a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:293 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25c71da 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25c71d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 768] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 7776] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1851393 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1851392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:404 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 720] @ 0x461d32 0x4612a5 0x46159d 0xbc1bbd 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1bbc github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x1fc github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x52455b 0x897f18 0x898388 0x8e09ba 0x8e03ba 0x8e2ef5 0x8e12a6 0xc13b54 0xc13a98 0x258440d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x52455a fmt.Errorf+0x9a fmt/errors.go:26 # 0x897f17 github.com/mattermost/go-i18n/i18n/language.newOperands+0x2b7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x898387 github.com/mattermost/go-i18n/i18n/language.(*PluralSpec).Plural+0x27 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/pluralspec.go:32 # 0x8e09b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x299 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:380 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x8e12a5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc13b53 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc13a97 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x258440c github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xac github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x74f8e5 0x764474 0x7641df 0x4bb4e3 0x4bb94d 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74ea69 0x754e25 0x755be5 0x483fe1 # 0x74f8e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:686 # 0x764473 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7641de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb94c io.discard.ReadFrom+0x6c io/io.go:666 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74ea68 net/http.(*chunkWriter).close+0x28 net/http/server.go:408 # 0x754e24 net/http.(*response).finishRequest+0x64 net/http/server.go:1717 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [26: 3328] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x203efc8 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203efc7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x702ebf 0x702eaa 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x702ebe net/http.send.func1+0x51e net/http/client.go:233 # 0x702ea9 net/http.send+0x509 net/http/client.go:255 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 3520] @ 0x766d54 0x766d1c 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x766d53 net/http.setupRewindBody+0x393 net/http/transport.go:777 # 0x766d1b net/http.(*Transport).roundTrip+0x35b net/http/transport.go:612 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [18: 737280] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x2382ab0 0x2382a89 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x2382aaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x47af github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x2382a88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4788 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:423 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x544613 0x5443d2 0x54eb70 0x2654c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2654c7d github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x8fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1324 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 288] @ 0xb08baa 0xb081e9 0x113e52d 0x483fe1 # 0xb08ba9 github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xa9 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:177 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [1: 48] @ 0x1779a7b 0x1779a47 0x1779a46 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1779a7a github.com/mattermost/squirrel.newPart+0x13a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1779a46 github.com/mattermost/squirrel.SelectBuilder.From+0x106 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1779a45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:219 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 16896] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 24576] @ 0x78848d 0x78843a 0x787aef 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 # 0x78848c regexp/syntax.(*compiler).inst+0x8c regexp/syntax/compile.go:164 # 0x788439 regexp/syntax.(*compiler).quest+0x39 regexp/syntax/compile.go:220 # 0x787aee regexp/syntax.(*compiler).compile+0x106e regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x2413130 0x241311e 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x241312f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x6f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x241311d github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1876 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1792] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x16b1634 0x16b15db 0x184e13d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184e13c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 120] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x76e69c 0x76e64a 0x76c318 0x76c155 0x483fe1 # 0x76e69b bufio.NewWriterSize+0x167b bufio/bufio.go:599 # 0x76e649 net/http.(*Transport).dialConn+0x1629 net/http/transport.go:1942 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [3: 192] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1152] @ 0xbfaa65 0xbfaa66 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaa64 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2a4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaa65 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2a5 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185352d 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185352c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:559 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 3520] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4928] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 4480] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1440] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 23040] @ 0x69c4f5 0x69c4c5 0x69c3d7 0x5be6e2 0x5bea71 0x69c38c 0x69c138 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69c4f4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69c4c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69c3d6 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69c38b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x32b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c137 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd7 crypto/tls/handshake_messages.go:366 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [11: 704] @ 0x24f824a 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8249 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:151 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 10752] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 6720] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ab645 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2040425 0x2053a27 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ab644 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2040424 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x2053a26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.2+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:637 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2650f54 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2650f53 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2f53 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:974 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x263303b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x263303a github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1226 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x24fc991 0x24fc967 0x24fc949 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fc990 net/textproto.MIMEHeader.Set+0xcb0 net/textproto/header.go:22 # 0x24fc966 net/http.Header.Set+0xc86 net/http/header.go:40 # 0x24fc948 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc68 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:432 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 2560] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 5760] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 7072] @ 0x1f7f3c6 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1408] @ 0x17c68be 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c68bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1280] @ 0x48f312 0x48e925 0x776ca9 0x75508d 0x755138 0x756b48 0x755d13 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x776ca8 net/http.putBufioReader+0x128 net/http/server.go:873 # 0x75508c net/http.(*conn).finalFlush+0x2c net/http/server.go:1784 # 0x755137 net/http.(*conn).close+0x17 net/http/server.go:1799 # 0x756b47 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1959 # 0x755d12 net/http.(*conn).serve+0x792 net/http/server.go:2138 0: 0 [5: 160] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 1920] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [34: 816] @ 0x50f21d 0xafb2dc 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2db net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:562 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 1440] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25a1745 0x25a171e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25a1744 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x264 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25a171d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x23d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:713 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x25df09d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x25df09c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x9fc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:247 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17cb4cc 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17cb4cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1672 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1792] @ 0x125388e 0x24f0f33 0x24f0cd5 0x25eebcd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125388d github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x50d github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x24f0cd4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x25eebcc github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9cc github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:150 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2542d6c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2542d6b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0xeb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1622 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 8352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 6272] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3584] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4928] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3840] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x1872a55 0x16f42f5 0x200e902 0x236eff8 0x25c7292 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1872a54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x2d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1407 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x236eff7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x157 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x25c7291 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0xf1 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 516096] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x271626f 0x27332f5 0x2738366 0x2737a4d 0x695f77 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2737a4c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x695f76 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x956 crypto/tls/handshake_client_tls13.go:540 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 288] @ 0x76e4eb 0x76e4c1 0x76c318 0x76c155 0x483fe1 # 0x76e4ea bufio.NewReaderSize+0x14ca bufio/bufio.go:56 # 0x76e4c0 net/http.(*Transport).dialConn+0x14a0 net/http/transport.go:1941 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563bd9 0x563b9d 0x767285 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563bd8 context.withCancel+0x58 context/context.go:278 # 0x563b9c context.WithCancelCause+0x1c context/context.go:269 # 0x767284 net/http.(*Transport).roundTrip+0x8c4 net/http/transport.go:646 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 384] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 24] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x18537b0 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18537af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3072] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 896] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 244224] @ 0x12231b1 0x1232a8d 0x1232be5 0x1245f12 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x12231b0 github.com/yuin/goldmark/parser.NewParser+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:735 # 0x1232a8c github.com/yuin/goldmark.DefaultParser+0x32c github.com/yuin/goldmark@v1.7.13/markdown.go:16 # 0x1232be4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.7.13/markdown.go:102 # 0x1245f11 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x111 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:53 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x239c48d 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x239c48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xbac github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:80 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18589b7 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x18589b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x2f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:815 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17ca01b 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3200] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b0556 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b0555 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x415 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:152 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x183db9b 0x16ecee4 0x20066b6 0x247c768 0x2633208 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183db9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:641 # 0x16ecee3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12776 # 0x20066b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10067 # 0x247c767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:896 # 0x2633207 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1244 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 9216] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 3248] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x17c1b7f 0x17c1ac6 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17c1b7e github.com/mattermost/squirrel.SelectBuilder.From+0x43e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x385 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:892 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2816] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266dc4a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266dc49 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4e9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3401 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24f10b3 0x266f16b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f10b2 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x266f16a github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3489 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x79d536 0x79cfe5 0x10e0fd5 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10dffa5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e063d 0x10dff93 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10dfbc5 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e0105 0x10e1005 0x10e1079 0x10e1010 0x10df61f 0x10df789 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x79d535 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:617 # 0x79cfe4 regexp.(*Regexp).ReplaceAllString+0xe4 regexp/regexp.go:577 # 0x10e0fd4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x54 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:415 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dffa4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x684 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:286 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e063c github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler+0x3c github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:308 # 0x10dff92 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x672 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:284 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10dfbc4 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x2a4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:213 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e0104 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement+0x7e4 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:299 # 0x10e1004 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x84 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:420 # 0x10e1078 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren+0x38 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:426 # 0x10e100f github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse+0x8f github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:408 # 0x10df61e github.com/jaytaylor/html2text.FromHTMLNode+0x9e github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:77 # 0x10df788 github.com/jaytaylor/html2text.FromReader+0x68 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:98 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [4: 6144] @ 0x69c4f5 0x69c4c5 0x69c3d7 0x5be6e2 0x5bea71 0x69c38c 0x69c138 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x69c4f4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69c4c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69c3d6 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69c38b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x32b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c137 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd7 crypto/tls/handshake_messages.go:366 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [17: 139264] @ 0x68bfd5 0x68bfeb 0x68cd5d 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x68bfd4 crypto/internal/fips140/mlkem.NewDecapsulationKey768+0xc54 crypto/internal/fips140/mlkem/mlkem768.go:200 # 0x68bfea crypto/tls.(*Conn).makeClientHello+0xc6a crypto/tls/handshake_client.go:171 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 5376] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x65d817 0x27162be 0x65d785 0x6bf1be 0x697f73 0x693756 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x6bf1bd crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:38 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a9737 0x23a05d6 0x23a5dbc 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a9736 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:724 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [7: 28672] @ 0x6cf605 0x6cf5d7 0x6cf57b 0x10d450a 0x10e54c5 0x483fe1 # 0x6cf604 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x6cf5d6 bufio.NewReader+0x76 bufio/bufio.go:63 # 0x6cf57a net/textproto.NewConn+0x1a net/textproto/textproto.go:67 # 0x10d4509 net/smtp.NewClient+0x49 net/smtp/smtp.go:65 # 0x10e54c4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced.func1+0x84 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:164 0: 0 [1: 288] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [18: 244224] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x870365 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x870364 text/template.(*state).walk+0x224 text/template/exec.go:287 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 48] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x609719 0x61b891 0x61b872 0x7555db 0x483fe1 # 0x609718 net.IP.String+0xd8 net/ip.go:315 # 0x61b890 net.ipEmptyString+0x50 net/ip.go:332 # 0x61b871 net.(*TCPAddr).String+0x31 net/tcpsock.go:48 # 0x7555da net/http.(*conn).serve+0x5a net/http/server.go:1939 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2240] @ 0x17b859a 0x17b8bb3 0x1853725 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x1853724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 9856] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x461d32 0x4612a5 0x4614c5 0x61ba66 0x61b9b3 0x7555db 0x483fe1 # 0x61ba65 net.JoinHostPort+0x225 net/ipsock.go:242 # 0x61b9b2 net.(*TCPAddr).String+0x172 net/tcpsock.go:52 # 0x7555da net/http.(*conn).serve+0x5a net/http/server.go:1939 0: 0 [10: 1280] @ 0x709152 0x23f9dbb 0x23f9db2 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9dba net/http.(*Request).Cookies+0x45a net/http/request.go:429 # 0x23f9db1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x451 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:194 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 240] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x18815cf 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18815ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1817bdc 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817bdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 32] @ 0x7e6bb3 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e6bb2 database/sql.(*DB).execDC+0x4f2 database/sql/sql.go:1719 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 9216] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 6272] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 926976] @ 0x1252d94 0x1252d95 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x1252d93 bytes.(*Buffer).String+0xb3 bytes/buffer.go:71 # 0x1252d94 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0xb4 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:134 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [35: 954240] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x870365 0x87045d 0x86fbda 0x88f7c5 0x88f7a4 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x870364 text/template.(*state).walk+0x224 text/template/exec.go:287 # 0x87045c text/template.(*state).walk+0x31c text/template/exec.go:280 # 0x86fbd9 text/template.(*Template).execute+0x299 text/template/exec.go:224 # 0x88f7c4 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x88f7a3 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 28672] @ 0x122bbc7 0x122bb8a 0x122bc58 0x1232de4 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x122bbc6 bufio.NewWriterSize+0x126 bufio/bufio.go:600 # 0x122bb89 bufio.NewWriter+0xe9 bufio/bufio.go:609 # 0x122bc57 github.com/yuin/goldmark/renderer.(*renderer).Render+0x1b7 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:159 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 90112] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 10240] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 336] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2016] @ 0xc473ce 0xc473c2 0x24165e7 0x2461bc5 0xbf187e 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x24165e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2266 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 3744] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xaddbda 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xaddbd9 encoding/gob.(*Decoder).decodeMap+0x419 encoding/gob/decode.go:608 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [5: 16000] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 32] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16aac85 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x184fa95 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x184fa94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x374 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [19: 5136384] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x203efc8 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203efc7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1872fbb 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1872fba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x83a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1440 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [9: 2592] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1850338 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:332 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 1680] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [23: 4416] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [8: 1664] @ 0x4d8da8 0x4d89ec 0x6166b3 0x6163fa 0x5f5de6 0x5f5825 0x613a47 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x6166b2 net.(*nsswitchConfig).tryUpdate+0x152 net/nss.go:65 # 0x6163f9 net.getSystemNSS+0x19 net/nss.go:34 # 0x5f5de5 net.(*conf).lookupOrder+0x425 net/conf.go:351 # 0x5f5824 net.(*conf).hostLookupOrder+0x84 net/conf.go:238 # 0x613a46 net.(*Resolver).lookupIP+0xa6 net/lookup_unix.go:64 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [11: 3872] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 40960] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 9152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e825 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e824 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x984 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3466 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 480] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2304] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 65280] @ 0x79955a 0x79b459 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x799559 regexp.onePassCopy+0x39 regexp/onepass.go:226 # 0x79b458 regexp.compileOnePass+0x198 regexp/onepass.go:499 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x632125 0x242917c 0x24272d5 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x632124 net/url.(*URL).Parse+0x24 net/url/url.go:1099 # 0x242917b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:801 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1792] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4928] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3136] @ 0x17b859a 0x17b8d5f 0x184fa66 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8d5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:119 # 0x184fa65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x345 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 576] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 98304] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 1613824] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb0d85d 0xb0cdeb 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0d85c github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).AddChild+0x7c github.com/mattermost/mattermost/server/public/shared/markdown/document.go:20 # 0xb0cdea github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x8ca github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17f2e49 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17f2e48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:114 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 5120] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x2407579 0x240754f 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2407578 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f8 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x240754e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x4ce github.com/mattermost/mattermost/server/v8/channels/app/post.go:720 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 188416] @ 0x8fb546 0x8fba86 0x8fd374 0x8fabad 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fb545 golang.org/x/net/html.(*Tokenizer).readByte+0x85 golang.org/x/net@v0.46.0/html/token.go:249 # 0x8fba85 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.46.0/html/token.go:337 # 0x8fd373 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.46.0/html/token.go:1029 # 0x8fabac golang.org/x/net/html.(*parser).parse+0xcc golang.org/x/net@v0.46.0/html/parse.go:2346 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [4: 2304] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x23a01d2 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x23a01d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x811 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:379 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 96] @ 0x461d32 0x4612a5 0x4614c5 0x239ce5d 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x239ce5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x157c github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:106 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [8: 512] @ 0x64d4ad 0x64dbc6 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64d4ac crypto/x509.alreadyInChain+0xac crypto/x509/verify.go:919 # 0x64dbc5 crypto/x509.(*Certificate).buildChains.func1+0xc5 crypto/x509/verify.go:965 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 96] @ 0x5d6ccd 0x5d6e13 0x5d6570 0x60a95e 0x692cfc 0x692ceb 0x68b50d 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5d6ccc net/netip.parseIPv4Fields+0x2ec net/netip/netip.go:185 # 0x5d6e12 net/netip.parseIPv4+0x32 net/netip/netip.go:198 # 0x5d656f net/netip.ParseAddr+0x4f net/netip/netip.go:119 # 0x60a95d net.parseIP+0x1d net/ip.go:535 # 0x692cfb net.ParseIP+0xbb net/ip.go:528 # 0x692cea crypto/tls.hostnameInSNI+0xaa crypto/tls/handshake_client.go:1291 # 0x68b50c crypto/tls.(*Conn).makeClientHello+0x18c crypto/tls/handshake_client.go:78 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [23: 552] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x23d4305 0x25d91e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23d4304 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetActivePluginManifests+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:404 # 0x25d91e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x66 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x185253b 0x1852507 0x1852506 0x11adcb0 0x483fe1 # 0x185253a github.com/mattermost/squirrel.newPart+0x11a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1852506 github.com/mattermost/squirrel.SelectBuilder.From+0xe6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1852505 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 11264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e17c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3444 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186eb4c 0x186eaf1 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186eb4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186eaf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1050 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 61440] @ 0x7889fb 0x7889a6 0x786d73 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x17c190f 0x17c1851 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c190e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1850 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x110 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:887 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1440] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 1440] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x6311e5 0x6324d9 0x6324af 0x266e7cd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e7cc github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x92c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3465 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 15360] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16aedcd 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 3072] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb165ba 0xb0d685 0xb15b8f 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165b9 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:67 # 0xb0d684 github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x84 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:150 # 0xb15b8e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x798fc5 0x798f61 0x79a09f 0x799ccb 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x798fc4 regexp.mergeRuneSets.func2+0x5a4 regexp/onepass.go:182 # 0x798f60 regexp.mergeRuneSets+0x540 regexp/onepass.go:196 # 0x79a09e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x799cca regexp.makeOnePass+0x32a regexp/onepass.go:442 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x8ed126 0x8f65f4 0x8f7da7 0x8faab9 0x8fab38 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8ed125 golang.org/x/net/html.(*parser).addText+0x185 golang.org/x/net@v0.46.0/html/parse.go:325 # 0x8f65f3 golang.org/x/net/html.inTableIM+0x7b3 golang.org/x/net@v0.46.0/html/parse.go:1434 # 0x8f7da6 golang.org/x/net/html.inRowIM+0x546 golang.org/x/net@v0.46.0/html/parse.go:1744 # 0x8faab8 golang.org/x/net/html.(*parser).parseCurrentToken+0x58 golang.org/x/net@v0.46.0/html/parse.go:2324 # 0x8fab37 golang.org/x/net/html.(*parser).parse+0x57 golang.org/x/net@v0.46.0/html/parse.go:2354 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 128] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [4: 1280] @ 0x766d54 0x766d1c 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x766d53 net/http.setupRewindBody+0x393 net/http/transport.go:777 # 0x766d1b net/http.(*Transport).roundTrip+0x35b net/http/transport.go:612 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 64] @ 0x122b809 0x122b7fd 0x1245b6f 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122b808 github.com/yuin/goldmark/renderer.NewConfig+0x28 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:21 # 0x122b7fc github.com/yuin/goldmark/renderer.NewRenderer+0x1c github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:107 # 0x1245b6e github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x12e github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:24 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [5: 2880] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x186d97c 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d97b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:937 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x24f9386 0x24f942b 0x24f925b 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f9385 net/textproto.MIMEHeader.Set+0x12e5 net/textproto/header.go:22 # 0x24f942a net/http.Header.Set+0x138a net/http/header.go:40 # 0x24f925a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x11ba github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:240 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 6528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x41c9ac 0x41c98e 0x47a145 0xaf28bf 0xaf28af 0xaf2299 0xaee445 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x114a908 0x114a8bd 0x1196a15 0x241b9ec 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x241b9a5 0x2029802 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0xaf28be maps.Clone[...]+0x5fe maps/maps.go:55 # 0xaf28ae encoding/gob.buildTypeInfo+0x5ee encoding/gob/type.go:783 # 0xaf2298 encoding/gob.getTypeInfo+0xf8 encoding/gob/type.go:725 # 0xaee444 encoding/gob.(*Encoder).sendActualType+0x84 encoding/gob/encoder.go:97 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114a907 net/rpc.(*Client).Call+0xe7 net/rpc/client.go:321 # 0x114a8bc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageHasBeenDeleted+0x9c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:310 # 0x1196a14 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageHasBeenDeleted+0x54 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:126 # 0x241b9eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).CleanUpAfterPostDeletion.func2.1+0x2b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2774 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x241b9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CleanUpAfterPostDeletion.func2+0x44 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2773 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [8: 38912] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x204c2a3 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x204c2a2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:925 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [16: 256] @ 0x540f4d 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 416] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [0: 0] @ 0x1f33c9a 0x1f3442f 0x1f33f49 0x1f3214b 0x1f67bef 0xc3e542 0x1f6d779 0x7770ee 0x755ba5 0x483fe1 # 0x1f33c99 runtime/pprof.printStackRecord+0x339 runtime/pprof/pprof.go:562 # 0x1f3442e runtime/pprof.writeHeapInternal+0x4ae runtime/pprof/pprof.go:685 # 0x1f33f48 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:599 # 0x1f3214a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:377 # 0x1f67bee net/http/pprof.handler.ServeHTTP+0x52e net/http/pprof/pprof.go:272 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x1f6d778 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd8 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 176] @ 0xc0df17 0xc0df18 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0df16 github.com/tinylib/msgp/msgp.ReadStringBytes+0x6d6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0df17 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x6d7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:570 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 18432] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [40: 5120] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [41: 1117824] @ 0x461e06 0x10df813 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10df812 github.com/jaytaylor/html2text.FromString+0x32 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:103 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 112] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2414e5d 0x2414ddb 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2414e5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x11c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x2414dda github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x9a github.com/mattermost/mattermost/server/v8/channels/app/post.go:2134 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 161024] @ 0x8fdba7 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdba6 golang.org/x/net/html.(*Tokenizer).Token+0xa6 golang.org/x/net@v0.46.0/html/token.go:1237 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [14: 96768] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x772dec 0x772de0 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x772deb net/http.(*transportRequest).extraHeaders+0x1eb net/http/transport.go:528 # 0x772ddf net/http.(*persistConn).roundTrip+0x1df net/http/transport.go:2773 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 2816] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 3344] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 400] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x461d32 0x4612a5 0x46140a 0x1875a35 0x18759b8 0x187e2fe 0x11adcb0 0x483fe1 # 0x1875a34 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xf4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18759b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1653 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 224] @ 0x22a817b 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x22a817a github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0xba github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1876eaa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1876ea9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1750 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 160] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x60121f 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x60121e net.(*Resolver).goLookupIPCNAMEOrder+0x12de net/dnsclient_unix.go:750 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [14: 9856] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x179208f 0x1791fee 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x179208e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x50e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1791fed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1480 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b04f5 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b04f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 34048] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2648ca5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2648ca4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:301 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 4480] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 20736] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 68096] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 3200] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4032] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 9152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e27d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e27c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3447 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1792151 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1792150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1484 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x27381e5 0x2737f09 0x6bf31e 0x6bf2c3 0x6975dd 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x27381e4 crypto/internal/fips140/tls13.ExpandLabel[...]+0x224 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6bf31d crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x7d crypto/internal/fips140/tls13/tls13.go:155 # 0x6bf2c2 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x22 crypto/tls/key_schedule.go:46 # 0x6975dc crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x41c crypto/tls/handshake_client_tls13.go:747 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 72] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253bdbe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253bdbd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1062 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 256] @ 0x85a16e 0x23fadfd 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x85a16d github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x1cd github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:280 # 0x23fadfc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x149c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:250 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x703a96 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703a95 net/http.setRequestCancel+0x275 net/http/client.go:391 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817bdc 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817bdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [10: 4800] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 480] @ 0x79ef1d 0x209cec8 0x209e286 0x20950a5 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79ef1c regexp.(*Regexp).FindSubmatch+0xbc regexp/regexp.go:889 # 0x209cec7 github.com/getsentry/sentry-go.(*Span).updateFromSentryTrace+0x27 github.com/getsentry/sentry-go@v0.36.0/tracing.go:451 # 0x209e285 github.com/getsentry/sentry-go.ParseTraceParentContext+0x65 github.com/getsentry/sentry-go@v0.36.0/tracing.go:675 # 0x20950a4 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0xc4 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:66 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0x11acc0f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x11acc0e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x5ce github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:46 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 3520] @ 0xbdca93 0xbdca4b 0x2423d2a 0x25e4605 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdca92 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xf2 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdca4a github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xaa github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e4604 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa84 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x4617a5 0x461b85 0x10d439b 0x10e49c5 0x10d5256 0x10e5215 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x10d439a net/smtp.(*plainAuth).Start+0x11a net/smtp/auth.go:73 # 0x10e49c4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.(*authChooser).Start+0x304 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:86 # 0x10d5255 net/smtp.(*Client).Auth+0xd5 net/smtp/smtp.go:202 # 0x10e5214 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x354 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:198 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x185a65f 0x185a5a6 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185a65e github.com/mattermost/squirrel.SelectBuilder.From+0x17e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x185a5a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1059 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x64584c 0x647187 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x64584b crypto/x509.processExtensions+0x17cb crypto/x509/parser.go:746 # 0x647186 crypto/x509.parseCertificate+0x1266 crypto/x509/parser.go:1051 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 24192] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 2112] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x182c706 0x1856c2b 0x1859ba7 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182c705 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:327 # 0x1856c2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:720 # 0x1859ba6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:973 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [6: 768] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 640] @ 0x4e1b85 0x4e1e19 0x4babf4 0x16ae556 0x16aee9a 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16aee99 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x99 github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbddca5 0xbddb5f 0x240f32a 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbddca4 github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x3e4 github.com/mattermost/mattermost/server/public/model/post_list.go:136 # 0xbddb5e github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x29e github.com/mattermost/mattermost/server/public/model/post_list.go:153 # 0x240f329 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1451 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1008] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0x1643fa5 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x1643fa4 os.Open+0x64 os/file.go:370 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 90112] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 131072] @ 0x6e7c2c 0x6e7bae 0x6eab46 0x6ea478 0x7745e6 0x7745bd 0x70658a 0x4bb4e3 0x54ea48 0x54e645 0x54e315 0x2059533 0x23be374 0x24280d9 0x2427572 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7c2b compress/flate.(*dictDecoder).init+0x18b compress/flate/dict_decoder.go:43 # 0x6e7bad compress/flate.NewReader+0x10d compress/flate/inflate.go:815 # 0x6eab45 compress/gzip.(*Reader).readHeader+0x365 compress/gzip/gunzip.go:238 # 0x6ea477 compress/gzip.(*Reader).Reset+0x297 compress/gzip/gunzip.go:113 # 0x7745e5 compress/gzip.NewReader+0x65 compress/gzip/gunzip.go:94 # 0x7745bc net/http.(*gzipReader).Read+0x3c net/http/transport.go:3032 # 0x706589 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:972 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2059532 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x23be373 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:152 # 0x24280d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5b8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:736 # 0x2427571 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x331 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:658 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x270ec4b 0x270d3ef 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x270d3ee crypto/internal/fips140/bigmod.rr+0x2ae crypto/internal/fips140/bigmod/nat.go:517 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x6257f2 0x620275 0x619bc7 0x61973b 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6257f1 net.ipToSockaddr+0x71 net/ipsock_posix.go:228 # 0x620274 net.(*UDPAddr).sockaddr+0x34 net/udpsock_posix.go:39 # 0x619bc6 net.(*netFD).dial+0x386 net/sock_posix.go:121 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17f2886 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17f2885 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x445 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17caf90 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x25e037f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17caf8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1654 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x25e037e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:334 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 640] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 896] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x461d32 0x4612a5 0x46140a 0x171da2f 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171da2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:120 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 4224] @ 0x48edbc 0x48ec06 0x48e97c 0x740379 0x740825 0x754170 0x753f04 0x74e817 0x5732f5 0x754e05 0x755be5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x740378 net/http.Header.sortedKeyValues+0x38 net/http/header.go:168 # 0x740824 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x75416f net/http.Header.WriteSubset+0x190f net/http/header.go:187 # 0x753f03 net/http.(*chunkWriter).writeHeader+0x16a3 net/http/server.go:1577 # 0x74e816 net/http.(*chunkWriter).Write+0x36 net/http/server.go:376 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x754e04 net/http.(*response).finishRequest+0x44 net/http/server.go:1715 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [7: 560] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 14592] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0x25c35a5 0x25c3592 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x25c35a4 github.com/mattermost/mattermost/server/public/model.MapToJSON+0x344 github.com/mattermost/mattermost/server/public/model/utils.go:458 # 0x25c3591 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x331 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:50 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [8: 512] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x620165 0x61a07b 0x61973b 0x60e6b8 0x621587 0x61fe14 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x620164 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x61a07a net.(*netFD).dial+0x83a net/sock_posix.go:143 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x61fe13 net.DialUDP+0x1d3 net/udpsock.go:300 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [4: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 7680] @ 0x6752c7 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6752c6 crypto/tls.(*certCache).newCert+0x106 crypto/tls/cache.go:91 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [8: 896] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2016] @ 0x5aeaba 0x5aead0 0x27162be 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 1440] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [22: 25344] @ 0x6751fe 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6751fd crypto/tls.(*certCache).newCert+0x3d crypto/tls/cache.go:81 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 2448] @ 0x479c9a 0x479caf 0xae3a65 0xafa535 0x113eea5 0x483fe1 # 0xae3a64 encoding/gob.NewDecoder+0x224 encoding/gob/decoder.go:54 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [47: 2256] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x86628b 0x866693 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x86628a text/template/parse.(*Tree).startParse+0x6a text/template/parse/parse.go:223 # 0x866692 text/template/parse.(*Tree).Parse+0x1f2 text/template/parse/parse.go:249 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x17b3468 0x16e015a 0x1ff7a1a 0x242b2e7 0x243588a 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17b3467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x16e0159 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9005 # 0x1ff7a19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7172 # 0x242b2e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2435889 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:79 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 458752] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 32768] @ 0x90ef25 0x90eed3 0x90eff4 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x90ef24 bufio.NewReaderSize+0x184 bufio/bufio.go:57 # 0x90eed2 bufio.NewReader+0x132 bufio/bufio.go:63 # 0x90eff3 compress/zlib.(*reader).Reset+0x253 compress/zlib/reader.go:138 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 399114240] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 256] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 399114240] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1735872 0x1735827 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1735871 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x311 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x1735826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2072 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e2ca8 0x2508bf1 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e2ca7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x587 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:161 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1125186 0x1125192 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x1125185 strconv.AppendBool+0x125 strconv/atob.go:32 # 0x1125191 github.com/lib/pq.encode+0x131 github.com/lib/pq@v1.10.9/encode.go:50 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 802816] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25998cf 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25998ce github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x3ce github.com/mattermost/mattermost/server/v8/channels/api4/file.go:127 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 540672] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25998cf 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25998ce github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x3ce github.com/mattermost/mattermost/server/v8/channels/api4/file.go:127 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 33177600] @ 0x11c7f9e 0x198b63c 0x198ad1e 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198b63b github.com/anthonynsimon/bild/transform.resampleVertical+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:111 # 0x198ad1d github.com/anthonynsimon/bild/transform.Resize+0xfd github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:31 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [5: 67840] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 24576] @ 0x11c6a8b 0x11c6a62 0x11c6a5f 0x11c6a2e 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c6a8a bufio.NewReaderSize+0xaa bufio/bufio.go:57 # 0x11c6a61 bufio.NewReader+0x81 bufio/bufio.go:63 # 0x11c6a5e image.asReader+0x7e image/format.go:55 # 0x11c6a2d image.Decode+0x4d image/format.go:88 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 65814528] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a31a5 0x232dce6 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a31a4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x232dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [2: 4128768] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 278528] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 94208] @ 0x11e8165 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e8164 image/png.(*decoder).parseChunk+0x324 image/png/reader.go:934 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 332922880] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 332922880] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 440926208] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 440926208] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 3072] @ 0x11e8497 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11e8496 image/png.Decode+0x76 image/png/reader.go:970 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [28: 140378112] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [28: 140378112] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [65: 250265600] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [66: 254115840] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 82688] @ 0x6e7ad1 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e7ad0 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 2236416] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 293076992] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 293076992] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [627: 10032] @ 0x198c64c 0x198a952 0x483fe1 # 0x198c64b github.com/anthonynsimon/bild/transform.Rotate.func1+0x20b github.com/anthonynsimon/bild@v0.14.0/transform/rotate.go:112 # 0x198a951 github.com/anthonynsimon/bild/parallel.Line.func1+0x51 github.com/anthonynsimon/bild@v0.14.0/parallel/parallel.go:33 0: 0 [1: 32768] @ 0x795365 0x79629f 0x798592 0x79d64b 0x79d2cb 0x1829e25 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x795364 regexp.(*bitState).reset+0x104 regexp/backtrack.go:91 # 0x79629e regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x79d64a regexp.(*Regexp).replaceAll+0x18a regexp/regexp.go:619 # 0x79d2ca regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:597 # 0x1829e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:138 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 469762048] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 469762048] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [60: 107151360] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [885: 14160] @ 0x11c4fa5 0x11c4ec6 0x11c7ad2 0x198c679 0x198a952 0x483fe1 # 0x11c4fa4 image/color.rgbaModel+0xa4 image/color/color.go:181 # 0x11c4ec5 image/color.(*modelFunc).Convert+0x25 image/color/color.go:161 # 0x11c7ad1 image.(*RGBA).Set+0x91 image/image.go:158 # 0x198c678 github.com/anthonynsimon/bild/transform.Rotate.func1+0x238 github.com/anthonynsimon/bild@v0.14.0/transform/rotate.go:112 # 0x198a951 github.com/anthonynsimon/bild/parallel.Line.func1+0x51 github.com/anthonynsimon/bild@v0.14.0/parallel/parallel.go:33 0: 0 [63: 112508928] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 97886208] @ 0x11c7f9e 0x198c25e 0x19a295f 0x232d4c5 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198c25d github.com/anthonynsimon/bild/transform.Rotate+0x35d github.com/anthonynsimon/bild@v0.14.0/transform/rotate.go:83 # 0x19a295e github.com/mattermost/mattermost/server/v8/channels/app/imaging.MakeImageUpright+0x7e github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:46 # 0x232d4c4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:945 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 327680000] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 365428736] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 327680000] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 365428736] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 97886208] @ 0x11c7f9e 0x198aa35 0x198bf4c 0x198bf65 0x19a295f 0x232d4c5 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198bf4b github.com/anthonynsimon/bild/clone.AsShallowRGBA+0x4b github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198bf64 github.com/anthonynsimon/bild/transform.Rotate+0x64 github.com/anthonynsimon/bild@v0.14.0/transform/rotate.go:31 # 0x19a295e github.com/mattermost/mattermost/server/v8/channels/app/imaging.MakeImageUpright+0x7e github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:46 # 0x232d4c4 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:945 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 328728576] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 362807296] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x233311a 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x2333119 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x8b9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1243 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 328728576] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 2816] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x90ea49 0x4bad51 0x11e55dd 0x11e55b7 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x90ea48 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4bad50 io.ReadAtLeast+0x90 io/io.go:335 # 0x11e55dc io.ReadFull+0xa3c io/io.go:354 # 0x11e55b6 image/png.(*decoder).readImagePass+0xa16 image/png/reader.go:511 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 362807296] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [76: 2490368] @ 0x6e7c2c 0x6e7bae 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x233112a 0x2332bbe 0x2333bba 0x23e3433 0x11344be 0x116e42d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e7c2b compress/flate.(*dictDecoder).init+0x18b compress/flate/dict_decoder.go:43 # 0x6e7bad compress/flate.NewReader+0x10d compress/flate/inflate.go:815 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x2331129 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1162 # 0x2332bbd github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x35d github.com/mattermost/mattermost/server/v8/channels/app/file.go:1234 # 0x2333bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1298 # 0x23e3432 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:903 # 0x11344bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x116e42c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4751 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 110223360] @ 0x11cd030 0x11df385 0x11dfa3c 0x11de45b 0x11df016 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11cd02f image.NewYCbCr+0x18f image/ycbcr.go:190 # 0x11df384 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x11dfa3b image/jpeg.(*decoder).processSOS+0x45b image/jpeg/scan.go:150 # 0x11de45a image/jpeg.(*decoder).decode+0x19a image/jpeg/reader.go:624 # 0x11df015 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 17825792] @ 0x4e20f4 0x4e1b1d 0x232a988 0x232a970 0x232b58c 0x259deba 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x232a987 bytes.(*Buffer).Grow+0xe7 bytes/buffer.go:168 # 0x232a96f github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).init+0xcf github.com/mattermost/mattermost/server/v8/channels/app/file.go:744 # 0x232b58b github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x70b github.com/mattermost/mattermost/server/v8/channels/app/file.go:801 # 0x259deb9 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xbd9 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:478 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 50331648] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 37748736] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 18874368] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 7340032] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3670016] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 524288] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16384] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x4baf0c 0x4baeeb 0x6da445 0x259d36c 0x259d342 0x259ce65 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x6da444 mime/multipart.(*Reader).readForm+0x7e4 mime/multipart/formdata.go:171 # 0x259d36b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x259d341 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:413 # 0x259ce64 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:312 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f070 0x182efa2 0x182ee0c 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [9: 10368] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x74f8e5 0x764474 0x7641df 0x4bb7ee 0x748e5f 0x54ea48 0x54e645 0x54e315 0x2618eff 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74f8e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:686 # 0x764473 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7641de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4bb7ed io.(*teeReader).Read+0x2d io/io.go:628 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2618efe github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xde github.com/mattermost/mattermost/server/v8/channels/api4/system.go:673 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 320] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 288] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0x186d97c 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d97b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:937 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x125b823 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x125b822 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 864] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f272d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f272c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 10368] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 6144] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [1: 768] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 8064] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x4bb4e3 0x4bb250 0x4bb036 0x11992d2 0x113e77f 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x4bb4e2 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4bb035 io.CopyBuffer+0x35 io/io.go:402 # 0x11992d1 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2d1 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 2304] @ 0x17b8bcc 0x17c6805 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x17c6804 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1324 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 640] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 512] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 480] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [4: 2816] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 576] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1837955 0x1837923 0x1837931 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837954 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x74 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1837922 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1837930 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:39 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 2400] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17357ff 0x1735746 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17357fe github.com/mattermost/squirrel.SelectBuilder.From+0x29e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1735745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2071 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 2496] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x539cff 0x111cf5c 0x111cf3c 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x111cf5b strings.Split+0x27b strings/strings.go:361 # 0x111cf3b github.com/lib/pq.(*conn).parseComplete+0x25b github.com/lib/pq@v1.10.9/conn.go:1500 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 784] @ 0xb08bbd 0xb089e5 0x483fe1 # 0xb08bbc github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xbc github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:178 # 0xb089e4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:156 0: 0 [6: 96] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1680] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 2560] @ 0x5474d6 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x172e0ea 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22cc30b 0x23e043b 0x1130f13 0x1162042 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x172e0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1537 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22cc30a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2029 # 0x23e043a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:484 # 0x1130f12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x1162041 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3233 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17b5cd7 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17b5cd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:49 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1584] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1920] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0xc3e41a 0x7770ee 0x755ba5 0x483fe1 # 0xc3e419 github.com/gorilla/mux.(*Router).ServeHTTP+0xb9 github.com/gorilla/mux@v1.8.1/mux.go:196 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2880] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [26: 4160] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1872929 0x187283d 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1872928 github.com/mattermost/squirrel.SelectBuilder.From+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x187283c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1400 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 1120] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 880] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 11136] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x62eb25 0x62e809 0x2429168 0x24272d5 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x2429167 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x27 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:796 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 245760] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 20480] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 32768] @ 0x6cf74c 0x6cf70e 0x6cf6df 0x10d4ec5 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x6cf74b bufio.NewWriterSize+0x1eb bufio/bufio.go:600 # 0x6cf70d bufio.NewWriter+0x1ad bufio/bufio.go:609 # 0x6cf6de net/textproto.NewConn+0x17e net/textproto/textproto.go:68 # 0x10d4ec4 net/smtp.(*Client).StartTLS+0x164 net/smtp/smtp.go:163 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 72] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x8a01a5 0x8e0a85 0x8e03ba 0x8e2ef5 0x239c159 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x8a01a4 github.com/mattermost/go-i18n/i18n/translation.(*template).Execute+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:41 # 0x8e0a84 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translate+0x364 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:396 # 0x8e03b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage.func1+0x39 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:310 # 0x8e2ef4 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:293 # 0x239c158 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x878 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:77 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 16] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0x186d9b7 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d9b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:940 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [3: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x5bcf85 0x6408e5 0x646319 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6408e4 crypto/x509.parseAI+0x84 crypto/x509/parser.go:154 # 0x646318 crypto/x509.parseCertificate+0x3f8 crypto/x509/parser.go:949 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [9: 144] @ 0xbfc452 0xbfc418 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1248] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 3456] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x798c33 0x798bc1 0x79a09f 0x799ccb 0x79b45e 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x798c32 regexp.mergeRuneSets.func2+0x212 regexp/onepass.go:182 # 0x798bc0 regexp.mergeRuneSets+0x1a0 regexp/onepass.go:192 # 0x79a09e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x799cca regexp.makeOnePass+0x32a regexp/onepass.go:442 # 0x79b45d regexp.compileOnePass+0x19d regexp/onepass.go:502 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x69a8fd 0x69a79d 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [19: 778240] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x2382ab0 0x2382a89 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x2382aaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x47af github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x2382a88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4788 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:423 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x12575bb 0x125c637 0x182b7ac 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0xc473ce 0xc473c2 0x2442482 0x2462125 0xbf187e 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x2442481 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:25 # 0x2462124 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1803 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 128] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x83d1d5 0x839af5 0x858a85 0x858a0a 0x858a41 0x10e6133 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x83d1d4 github.com/mattermost/logr/v2.NewLogRec+0x1b4 github.com/mattermost/logr/v2@v2.0.22/logrec.go:41 # 0x839af4 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x858a84 github.com/mattermost/logr/v2.Logger.Info+0xc4 github.com/mattermost/logr/v2@v2.0.22/logger.go:78 # 0x858a09 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).Info+0x49 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:319 # 0x858a40 github.com/mattermost/mattermost/server/public/shared/mlog.Info+0x80 github.com/mattermost/mattermost/server/public/shared/mlog/global.go:91 # 0x10e6132 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2d2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:293 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 3360] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b1abb 0x16b19b3 0x1869652 0x18695e9 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1869651 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x131 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18695e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0xc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:611 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x535245 0x535350 0x53a585 0x569b7f 0x11ec6fa 0x11ec65d 0x11ecad7 0x11ecaaa 0x250cf25 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x11ec6f9 path/filepath.Join+0x439 path/filepath/path.go:131 # 0x11ec65c github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x39c github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:55 # 0x11ecad6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x156 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:83 # 0x11ecaa9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x129 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:97 # 0x250cf24 github.com/mattermost/mattermost/server/v8/channels/web.root+0x284 github.com/mattermost/mattermost/server/v8/channels/web/static.go:83 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539cff 0x8e2a48 0x8e29fe 0x24f83a5 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a47 strings.Split+0x127 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x16584fe 0x1656f09 0x1656ee1 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x16584fd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x1656f08 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x68 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x1656ee0 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x40 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:131 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 1104] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [22: 352] @ 0x539fb5 0x22af465 0x22af466 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af464 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x84 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x22af465 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x85 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 3072] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x2508bf1 0x250d570 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x250d56f github.com/mattermost/mattermost/server/v8/channels/web.root+0x8cf github.com/mattermost/mattermost/server/v8/channels/web/static.go:101 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2880] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 24] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x461d32 0x4612a5 0x17b8ef3 0x184fa66 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x17b8ef2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:135 # 0x184fa65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x345 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1536] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1248] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 8064] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 3584] @ 0x203fa19 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203fa18 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0xd38 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:199 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x461d32 0x4612a5 0x46140a 0x171db7f 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171db7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x21e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:125 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x543d27 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x12575bb 0x125c637 0x182a1ef 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 168] @ 0x503ca6 0x51542d 0xae65e5 0xae65cb 0xaea458 0xaecd39 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0xae65e4 reflect.Value.Interface+0x44 reflect/value.go:1484 # 0xae65ca encoding/gob.encStringSlice+0x2a encoding/gob/enc_helpers.go:292 # 0xaea457 encoding/gob.(*Encoder).encodeArray+0x437 encoding/gob/encode.go:339 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 48] @ 0x71520b 0x7128e7 0x7376fa 0x736b19 0x483fe1 # 0x71520a net/http.http2parseHeadersFrame+0x4a net/http/h2_bundle.go:2595 # 0x7128e6 net/http.(*http2Framer).ReadFrame+0x186 net/http/h2_bundle.go:2083 # 0x7376f9 net/http.(*http2clientConnReadLoop).run+0xd9 net/http/h2_bundle.go:9933 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [45: 720] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17c6b9c 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6b9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3db github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 768] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [11: 704] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x179f574 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179f573 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [23: 3312] @ 0x75b149 0x75b13d 0x245961b 0x483fe1 # 0x75b148 net/http.(*Server).newConn+0x3c8 net/http/server.go:632 # 0x75b13c net/http.(*Server).Serve+0x3bc net/http/server.go:3452 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 400] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 12672] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x17c6dd4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6dd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 14336] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 512] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x4a39ac 0x4a309d 0x52a09f 0x52a998 0x52d41e 0x527593 0x1f52b4d 0x1f525bb 0x483fe1 # 0x4a39ab time.Time.Format+0xeb time/format.go:650 # 0x4a309c time.Time.String+0x3c time/format.go:547 # 0x52a09e fmt.(*pp).handleMethods+0x31e fmt/print.go:673 # 0x52a997 fmt.(*pp).printArg+0x437 fmt/print.go:756 # 0x52d41d fmt.(*pp).doPrintf+0x37d fmt/print.go:1074 # 0x527592 fmt.Sprintf+0x52 fmt/print.go:239 # 0x1f52b4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x42c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:155 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [5: 320] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1830159 0x18300fe 0x183010c 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1830158 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x98 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18300fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x183010b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:116 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 1120] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x16b201b 0x16b20b0 0x175b39f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b201a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x9a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x175b39e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 544] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2df7 0xbc2da6 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2df6 path/filepath.Join+0x3b6 path/filepath/path.go:131 # 0xbc2da5 github.com/mattermost/mattermost/server/public/model.FindManifest+0x365 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x4c2ec9 0x4c2ee6 0x569b85 0x569b51 0x1643f9b 0x1643f63 0x23240b0 0x23242b6 0x23242b7 0x25a19f7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4c2ec8 internal/filepathlite.(*lazybuf).string+0x828 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x1643f9a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x1643f62 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x23240af github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:118 # 0x23242b5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:134 # 0x23242b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:153 # 0x25a19f6 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x516 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:734 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1830573 0x183047c 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830572 github.com/lann/builder.Append+0x4b2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183047b github.com/mattermost/squirrel.UpdateBuilder.Set+0x3bb github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x62598a 0x620275 0x619bc7 0x61973b 0x60e6b8 0x621587 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x625989 net.ipToSockaddr+0x209 net/ipsock_posix.go:222 # 0x620274 net.(*UDPAddr).sockaddr+0x34 net/udpsock_posix.go:39 # 0x619bc6 net.(*netFD).dial+0x386 net/sock_posix.go:121 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [1: 2048] @ 0x1a0a3f0 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 4055040] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 303104] @ 0x4bab53 0x48ea11 0x4bb908 0x4bb211 0x4baf0c 0x4baeeb 0x7544b5 0x74e817 0x5732f5 0x754e05 0x755be5 0x483fe1 # 0x4bab52 io.init.func1+0x32 io/io.go:657 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4bb907 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74e816 net/http.(*chunkWriter).Write+0x36 net/http/server.go:376 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x754e04 net/http.(*response).finishRequest+0x44 net/http/server.go:1715 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [43: 4816] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x179fb6d 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x179fb6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [10: 23040] @ 0x12575bb 0x125c637 0x182b7ac 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x539cff 0x1120488 0x112046f 0x1122e75 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1120487 strings.SplitN+0x87 strings/strings.go:333 # 0x112046e github.com/lib/pq.parseEnviron+0x6e github.com/lib/pq@v1.10.9/conn.go:2013 # 0x1122e74 github.com/lib/pq.NewConnector+0x114 github.com/lib/pq@v1.10.9/connector.go:61 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 11520] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1440] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 480] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x25070ce 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x25070cd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x200d github.com/mattermost/mattermost/server/v8/channels/web/params.go:238 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 18432] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0xae3aa5 0xafa535 0x113eea5 0x483fe1 # 0xae3aa4 encoding/gob.NewDecoder+0x264 encoding/gob/decoder.go:55 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [11: 8448] @ 0x12575bb 0x125c637 0x1829914 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x179faff 0x179fa46 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x179fafe github.com/mattermost/squirrel.SelectBuilder.From+0x1be github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x179fa45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x105 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:376 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 896] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1851c5f 0x1851ba6 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1851c5e github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1851ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [205: 55418880] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 53248] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 6144] @ 0x1a0a392 0x1a0a51d 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:149 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16b5c90 0x1830197 0x1830171 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1830196 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1830170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:117 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 2048] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [6: 96] @ 0x16b15eb 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 5632] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1851e25 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x7961b6 0x7961b7 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7961b5 regexp.newBitState+0xb5 regexp/backtrack.go:52 # 0x7961b6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 720896] @ 0x795365 0x79629f 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x795364 regexp.(*bitState).reset+0x104 regexp/backtrack.go:91 # 0x79629e regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 1152] @ 0x479c9a 0x479caf 0x179ea8d 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x179ea8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [29: 9280] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 144] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [64: 4194304] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x2029771 0x20463ab 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2029770 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:13 # 0x20463aa github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x16a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:204 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 1008] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [8: 384] @ 0x1121cfa 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2048] @ 0x270d4d4 0x270d511 0x5cda05 0x5c8508 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d4d3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x270d510 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:551 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c8507 crypto/rsa.VerifyPSS+0x167 crypto/rsa/fips.go:156 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [11: 1584] @ 0x479bf3 0x408dc5 0x408db8 0x40cf54 0x651671 0x650685 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x651670 crypto/x509.newPolicyGraphNode+0x22d0 crypto/x509/verify.go:1281 # 0x650684 crypto/x509.policiesValid+0x12e4 crypto/x509/verify.go:1478 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [15: 21120] @ 0x69db15 0x69dae5 0x69d9f7 0x5be6e2 0x5bea71 0x69d785 0x69d737 0x5be6e2 0x5bea71 0x69d6d4 0x69d6b3 0x5be6e2 0x5bea71 0x69b50c 0x69b3af 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69db14 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69dae4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69d9f6 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d784 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d736 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x36 crypto/tls/handshake_messages.go:289 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69d6d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69d6b2 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69b50b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x262b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69b3ae crypto/tls.(*clientHelloMsg).marshalMsg+0x24ce crypto/tls/handshake_messages.go:285 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [14: 12544] @ 0x26e545a 0x6c7959 0x67b376 0x69751e 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69751d crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35d crypto/tls/handshake_client_tls13.go:734 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 336] @ 0x76d18e 0x76c318 0x76c155 0x483fe1 # 0x76d18d net/http.(*Transport).dialConn+0x16d net/http/transport.go:1744 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x25103ef 0x261a537 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25103ee github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x2e github.com/mattermost/mattermost/server/v8/channels/web/web.go:106 # 0x261a536 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x1716 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:758 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x1857c31 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:762 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 864] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [8: 2560] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [13: 11648] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 4160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 6912] @ 0x75b149 0x75b13d 0x2457c85 0x483fe1 # 0x75b148 net/http.(*Server).newConn+0x3c8 net/http/server.go:632 # 0x75b13c net/http.(*Server).Serve+0x3bc net/http/server.go:3452 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [2: 192] @ 0x2716257 0x2732f5a 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x65002d 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x65002c crypto/x509.policiesValid+0xc8c crypto/x509/verify.go:1595 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 1792] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x409dd2 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x266e1d0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e1cf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x32f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3445 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184de4d 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184de4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x24c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [28: 32256] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [24: 384] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 384] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [13: 5408] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [4: 576] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0x2716350 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x49cac5 0x49d6b2 0x605227 0x619bfc 0x61973b 0x60e6b8 0x61d507 0x61d3a9 0x61d3aa 0x5fa2ae 0x5f9a8e 0x5f9167 0x5f89ac 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x49cac4 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:667 # 0x49d6b1 syscall.Getpeername+0x71 syscall/syscall_unix.go:309 # 0x605226 net.(*netFD).connect+0x726 net/fd_unix.go:161 # 0x619bfb net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x61973a net.socket+0x29a net/sock_posix.go:70 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x61d506 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x61d3a8 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x61d3a9 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x5fa2ad net.(*sysDialer).dialSingle+0x3cd net/dial.go:721 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x6014a5 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6014a4 net.(*Resolver).goLookupIPCNAMEOrder+0x1564 net/dnsclient_unix.go:735 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [6: 393216] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 6823936] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x179f614 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179f613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:358 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [10: 7680] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 256] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 8448] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 8208] @ 0x12575bb 0x125c637 0x182b7ac 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 448] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [14: 224] @ 0x54b539 0x54b93a 0x54e6e2 0x54e315 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54e6e1 encoding/json.(*Decoder).readValue+0x121 encoding/json/stream.go:103 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1120] @ 0x5aeaba 0x5aead0 0x271626f 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 80] @ 0x461d32 0x4612a5 0x46140a 0x18537ab 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18537aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c1c7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c1c7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x53c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:896 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [22: 528] @ 0x50ee35 0xade451 0xae0633 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [7: 896] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1123110 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112310f github.com/lib/pq.NewConnector+0x3af github.com/lib/pq@v1.10.9/connector.go:93 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4608] @ 0x633c7e 0x633c93 0x6c7914 0x67b376 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x633c7d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x633c92 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6c7913 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:551 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 720] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [11: 4928] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [9: 4320] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 19008] @ 0x5fbee8 0x5fcffb 0x5fe606 0x601ae5 0x483fe1 # 0x5fbee7 net.newRequest+0x47 net/dnsclient_unix.go:61 # 0x5fcffa net.(*Resolver).exchange+0xda net/dnsclient_unix.go:171 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [3: 48] @ 0x4f092b 0x4f05c5 0x112510f 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4f092a strconv.formatBits+0x18a strconv/itoa.go:190 # 0x4f05c4 strconv.AppendInt+0x104 strconv/itoa.go:44 # 0x112510e github.com/lib/pq.encode+0xae github.com/lib/pq@v1.10.9/encode.go:34 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1791fcd 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1791fcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1479 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x461d32 0x4612a5 0x4614c5 0x1792195 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1792194 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1489 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x65d817 0x271626f 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x68c0e5 0x68c0be 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x68c0e4 crypto/ecdh.(*PublicKey).Bytes+0xd64 crypto/ecdh/ecdh.go:71 # 0x68c0bd crypto/tls.(*Conn).makeClientHello+0xd3d crypto/tls/handshake_client.go:176 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [7: 2016] @ 0x24fd4aa 0x24f9aa5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fd4a9 github.com/mattermost/mattermost/server/v8/channels/web.(*Handler).checkCSRFToken+0x469 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:503 # 0x24f9aa4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a04 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:282 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x250511f 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1858875 0x18587b1 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 3520] @ 0x23a6a25 0x23a68ee 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a6a24 encoding/json.NewDecoder+0x5c4 encoding/json/stream.go:32 # 0x23a68ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x48d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x25ef9ed 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x25ef9ec github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x2ec github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x26d7c71 0x26dd052 0x2715912 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26d7c70 crypto/internal/fips140/sha512.(*Digest).Sum+0x150 crypto/internal/fips140/sha512/sha512.go:260 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x2715911 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1f1 crypto/internal/fips140/ecdsa/hmacdrbg.go:167 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x184ed4d 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ed4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 2080] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2421636 0x240c9db 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421635 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessiblePost+0x55 github.com/mattermost/mattermost/server/v8/channels/app/post_helpers.go:217 # 0x240c9da github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/post.go:1079 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x1791d05 0x1791ca6 0x1791cb4 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1791d04 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x184 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1791ca5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x125 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1791cb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1474 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1664] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x5bcf85 0x640dda 0x646efa 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x640dd9 crypto/x509.parseExtension+0x79 crypto/x509/parser.go:202 # 0x646ef9 crypto/x509.parseCertificate+0xfd9 crypto/x509/parser.go:1040 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0x1853bbe 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x87d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x5be9e5 0x699625 0x6994fd 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5be9e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x224 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x699624 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x744 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6994fc crypto/tls.(*clientHelloMsg).marshalMsg+0x61c crypto/tls/handshake_messages.go:137 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [9: 2880] @ 0x702ebf 0x702eaa 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x702ebe net/http.send.func1+0x51e net/http/client.go:233 # 0x702ea9 net/http.send+0x509 net/http/client.go:255 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 16] @ 0x7e8365 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17f1c7d 0x16e4272 0x1ffc44b 0x1f7a4f2 0x243583c 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e8364 database/sql.(*DB).begin+0x44 database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17f1c7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:33 # 0x16e4271 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10139 # 0x1ffc44a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8036 # 0x1f7a4f1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.Save+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:28 # 0x243583b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:67 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x259f8c7 0x259f82b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x259f8c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0xec6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x259f82a github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xe2a github.com/mattermost/mattermost/server/v8/channels/api4/file.go:574 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c8eb1 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c8eb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x310 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1512 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x12578b9 0x125c637 0x182a1ef 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x17799ae 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17799ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:215 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d104 0xb7d105 0xb7ca85 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d103 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7d104 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xb7ca84 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1152] @ 0x12575bb 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b08ff 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b08fe github.com/mattermost/squirrel.SelectBuilder.Columns+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1456] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2337d76 0x2333b5b 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2337d75 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessibleFile+0x55 github.com/mattermost/mattermost/server/v8/channels/app/file_helper.go:116 # 0x2333b5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x5a github.com/mattermost/mattermost/server/v8/channels/app/file.go:1290 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 6272] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb7c78a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb7c789 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111ce6a 0x111d4b5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x2412b02 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x2412b01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration.func1+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1777 0: 0 [1: 16] @ 0x17c1d11 0x16dda28 0x1ff4cd2 0x2412b02 0x483fe1 # 0x17c1d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:898 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x2412b01 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration.func1+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1777 0: 0 [2: 48] @ 0x185098a 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1850989 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17788b3 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17788b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x1778955 0x17788fa 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1778954 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x454 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17788f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x54602e 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x54602d encoding/json.intEncoder+0x12d encoding/json/encode.go:527 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 832] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0xb1299c 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1299b github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a3970 0x1779a0f 0x17799b4 0x17799c2 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1779a0e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xce github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17799b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17799c1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x81 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:217 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17f2d71 0x16e39ae 0x1ffba5a 0x2435603 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17f2d70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:111 # 0x16e39ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9992 # 0x1ffba59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7924 # 0x2435602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x122 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:30 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x2611bce 0x2611ba1 0x2611b83 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2611bcd net/textproto.MIMEHeader.Set+0x126d net/textproto/header.go:22 # 0x2611ba0 net/http.Header.Set+0x1240 net/http/header.go:40 # 0x2611b82 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1222 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:198 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [15: 240] @ 0xbfaaeb 0xbfaaec 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaaea github.com/tinylib/msgp/msgp.ReadStringBytes+0x32a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaaeb github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x32b github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 528] @ 0x539cff 0x111cf5c 0x111cf3c 0x111f938 0x111c230 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x111cf5b strings.Split+0x27b strings/strings.go:361 # 0x111cf3b github.com/lib/pq.(*conn).parseComplete+0x25b github.com/lib/pq@v1.10.9/conn.go:1500 # 0x111f937 github.com/lib/pq.(*conn).readExecuteResponse+0x197 github.com/lib/pq@v1.10.9/conn.go:1940 # 0x111c22f github.com/lib/pq.(*stmt).Exec+0xef github.com/lib/pq@v1.10.9/conn.go:1421 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3456] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 1472] @ 0xb18ff7 0xc13c73 0x23f99c9 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23f99c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:163 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0efc 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 192] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x5fd209 0x5fd1d1 0x5fe606 0x601ae5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x5fd208 context.WithDeadline+0x2e8 context/context.go:617 # 0x5fd1d0 net.(*Resolver).exchange+0x2b0 net/dnsclient_unix.go:182 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [1: 128] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1040384] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 5760] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c6cb4 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6cb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x4f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 464] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 4224] @ 0x48edbc 0x48ec06 0x48e97c 0x79619e 0x7961b7 0x798592 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x79619d regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7961b6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 1728] @ 0x12578b9 0x125c637 0x182a1ef 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x122b8f1 0x1232b98 0x1232bf4 0x1245bb8 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122b8f0 github.com/yuin/goldmark/renderer.NewRenderer+0x110 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:115 # 0x1232b97 github.com/yuin/goldmark.DefaultRenderer+0xd7 github.com/yuin/goldmark@v1.7.13/markdown.go:24 # 0x1232bf3 github.com/yuin/goldmark.New+0x33 github.com/yuin/goldmark@v1.7.13/markdown.go:103 # 0x1245bb7 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x177 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 589824] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 4685824] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 15360] @ 0x270ec4b 0x270d3ef 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x270d3ee crypto/internal/fips140/bigmod.rr+0x2ae crypto/internal/fips140/bigmod/nat.go:517 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 3040] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 1728] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 8448] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb1050a 0xb104f6 0xb10479 0xb12534 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb10509 container/list.(*List).insertValue+0x569 container/list/list.go:104 # 0xb104f5 container/list.(*List).PushBack+0x555 container/list/list.go:152 # 0xb10478 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x4d8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:249 # 0xb12533 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x193 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 14336] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 640] @ 0x111ce6a 0x111d4b5 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 288] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370a9 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x308 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 3520] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [27: 8640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 14208] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb78dca 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7bec5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7bec4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:130 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x16b19e5 0x16b19b3 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 400] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 3584] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 80] @ 0x50f21d 0x53fe27 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x16a98b3 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x1844358 0x1844326 0x1844334 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1844357 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x97 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1844325 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1844333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1165 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 912] @ 0x4aaf08 0xb08211 0xb081c5 0x113e93d 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0xb08210 time.After+0x70 time/sleep.go:203 # 0xb081c4 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:61 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x25dfd4b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25dfd4a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:287 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [6: 1152] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 9216] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [40: 960] @ 0x50d0da 0xadbab2 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50d0d9 reflect.Value.Slice+0x99 reflect/value.go:2265 # 0xadbab1 encoding/gob.decUint8Slice+0x431 encoding/gob/decode.go:396 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [17: 1088] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a6b9 0xb7a53c 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a6b8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:104 # 0xb7a53b github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 256] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 960] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 32] @ 0x16a99a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17c6b9c 0x17c6b51 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17c6b9b github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3db github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6b50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x24255c5 0x2425b8b 0x2423fcd 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x24255c4 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:450 # 0x2425b8a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:485 # 0x2423fcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:295 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 192] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4032] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111ed59 0x111a37f 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111ed58 github.com/lib/pq.(*conn).processParameterStatus+0x138 github.com/lib/pq@v1.10.9/conn.go:1785 # 0x111a37e github.com/lib/pq.(*conn).startup+0x77e github.com/lib/pq@v1.10.9/conn.go:1194 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 256] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [15: 1680] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1852505 0x18524df 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1852504 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18524de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:430 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 5760] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x1852251 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 1440] @ 0x17b8bcc 0x1853725 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x1853724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 64512] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16b0825 0x16b07b9 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 90112] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 180224] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 3072] @ 0x270ec4b 0x270d3ef 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x270d3ee crypto/internal/fips140/bigmod.rr+0x2ae crypto/internal/fips140/bigmod/nat.go:517 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 1536] @ 0x270e339 0x270e2f6 0x270e2fa 0x270f53e 0x270d3ef 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270f53d crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0x9dd crypto/internal/fips140/bigmod/nat.go:844 # 0x270d3ee crypto/internal/fips140/bigmod.rr+0x2ae crypto/internal/fips140/bigmod/nat.go:517 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 768] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17ad2ff 0x16da72e 0x1ff14ba 0x23f6b18 0x23e4695 0x23e4674 0x113598a 0x1172ccd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17ad2fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x27e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:212 # 0x16da72d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7574 # 0x1ff14b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6038 # 0x23f6b17 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:76 # 0x23e4694 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x23e4673 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1077 # 0x1135989 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1012 # 0x1172ccc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 384] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1568] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1851ee5 0x1851e43 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1851ee4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 960] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [52: 10816] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 1232] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x18524c7 0x1852446 0x1852444 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18524c6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1852445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1852443 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:429 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x16b0e85 0x16b0e53 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x175cc85 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x824 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 4096] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18536ec 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x177b4a5 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x177b4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:360 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 4480] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 24576] @ 0x72e8a5 0x72e849 0x72e81d 0x72e257 0x70fd48 0x483fe1 # 0x72e8a4 bufio.NewReaderSize+0x604 bufio/bufio.go:57 # 0x72e848 bufio.NewReader+0x5a8 bufio/bufio.go:63 # 0x72e81c net/http.(*http2Transport).newClientConn+0x57c net/http/h2_bundle.go:8287 # 0x72e256 net/http.(*http2Transport).NewClientConn+0x36 net/http/h2_bundle.go:8240 # 0x70fd47 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:923 0: 0 [1: 16] @ 0x16b0efc 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 12544] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x2421bdd 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bdc github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4928] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x264b178 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x264b177 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:523 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 1248] @ 0xbfa9da 0xbfa9db 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa9d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x219 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa9da github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x21a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:493 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 4992] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [71: 1136] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 12288] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 768] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 208] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262099 0x12607e9 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262098 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 672] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [51: 7344] @ 0x12578b9 0x125c637 0x182b7ac 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 12096] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x1851cbb 0x1851c97 0x11adcb0 0x483fe1 # 0x1851cba github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1fa github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x16b15eb 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 960] @ 0x16b1585 0x16b15db 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 3520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x70baef 0x70ba67 0x70ba2d 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x70baee net/textproto.MIMEHeader.Set+0xc0e net/textproto/header.go:22 # 0x70ba66 net/http.Header.Set+0xb86 net/http/header.go:40 # 0x70ba2c net/http.serveContent+0xb4c net/http/fs.go:419 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 2000] @ 0x2517ea5 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2517ea4 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x124 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:28 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x18308d1 0x18307e0 0x18307de 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18308d0 github.com/lann/builder.Append+0x810 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18307df github.com/mattermost/squirrel.UpdateBuilder.Set+0x71f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18307dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:128 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 224] @ 0x204832b 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204832a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x36a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:505 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x182ffef 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182ffee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x12578b9 0x125c637 0x1829914 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [13: 1456] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x1844549 0x184448e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1844548 github.com/mattermost/squirrel.SelectBuilder.From+0x288 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184448d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1167 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 800] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 480] @ 0x6cf347 0x6cf172 0x24f8c92 0x24f8c81 0x24f8ab3 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x24f8c91 net/textproto.MIMEHeader.Set+0xbf1 net/textproto/header.go:22 # 0x24f8c80 net/http.Header.Set+0xbe0 net/http/header.go:40 # 0x24f8ab2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa12 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1779c08 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1779c07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:221 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 524288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 5376] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 13312] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [66: 23232] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 3072] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x1727a99 0x1727a33 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1727a98 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3f8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1727a32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1071 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [120: 2211840] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x41c9ac 0x41c98e 0x47a145 0x2027738 0x2027728 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0x2027737 maps.Clone[...]+0x97 maps/maps.go:55 # 0x2027727 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x87 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:339 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x18379f5 0x1837997 0x1837996 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x18379f4 github.com/mattermost/squirrel.InsertBuilder.Into+0x114 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1837996 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1837995 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 3360] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 5760] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x18687ca 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18687c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:530 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16b07a8 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 1344] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1198562 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1198561 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [28: 448] @ 0x54b539 0x54b93a 0x53e4bd 0x54011a 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x540119 encoding/json.(*decodeState).object+0xb39 encoding/json/decode.go:746 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x1115f78 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1115f77 github.com/lib/pq.parseOpts+0x2b7 github.com/lib/pq@v1.10.9/conn.go:500 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 384] @ 0xad8c45 0xadd112 0xade4e5 0xae0633 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xad8c44 encoding/gob.decStringSlice+0x1a4 encoding/gob/dec_helpers.go:378 # 0xadd111 encoding/gob.(*Decoder).decodeArrayHelper+0x91 encoding/gob/decode.go:540 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [13: 34944] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [3: 144] @ 0x16b0825 0x16b07b9 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3456] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x63ca94 0x63c99a 0x692111 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x63ca93 crypto/x509.(*CertPool).addCertFunc+0x133 crypto/x509/cert_pool.go:204 # 0x63c999 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x692110 crypto/tls.(*Conn).verifyServerCertificate+0xa30 crypto/tls/handshake_client.go:1143 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [12: 1728] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x1852305 0x185226c 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1852304 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x324 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b1abb 0x16b19b3 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2432] @ 0x6059e5 0x60598f 0x6240b6 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x6059e4 net.newFD+0x144 net/fd_unix.go:27 # 0x60598e net.(*netFD).accept+0xee net/fd_unix.go:180 # 0x6240b5 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [9: 288] @ 0xc0e56c 0xc0e56d 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e56b github.com/tinylib/msgp/msgp.ReadStringBytes+0xd2b github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e56c github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xd2c github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 2688] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 16] @ 0x539fb5 0x22ad808 0x22ad809 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22ad807 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:266 # 0x22ad808 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 12160] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 24] @ 0x408f2e 0x40d905 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 768] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 2304] @ 0x54b539 0x54b85d 0x53e4bd 0x54011a 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x540119 encoding/json.(*decodeState).object+0xb39 encoding/json/decode.go:746 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1280] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 7680] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x16b15fc 0x18502a5 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18502a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:320 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 528] @ 0x479c9a 0x479caf 0x26109f4 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x26109f3 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x93 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:139 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [41: 83968] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [17: 272] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 1232] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 25088] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [32: 1024] @ 0xc02037 0xc02038 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02037 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x2046ec5 0x2029802 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2046ec4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 16544] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x2629b0d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2629b0c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/team.go:588 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x74f8e5 0x755b76 0x483fe1 # 0x74f8e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:686 # 0x755b75 net/http.(*conn).serve+0x5f5 net/http/server.go:2091 0: 0 [7: 448] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 34560] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [39: 936] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 96] @ 0xc0e35d 0xc0e35e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e35c github.com/tinylib/msgp/msgp.ReadStringBytes+0xb1c github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e35d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb1d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 6400] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [31: 496] @ 0x539cff 0x8e2a48 0x8e29fe 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a47 strings.Split+0x127 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 2288] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1844549 0x184448e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1844548 github.com/mattermost/squirrel.SelectBuilder.From+0x288 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184448d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1167 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a99a9 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99a8 github.com/mattermost/squirrel.Eq.toSQL+0xe08 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 1120] @ 0xbfa85a 0xbfa85b 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa859 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa85a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 1536] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7d65 0xaf6eff 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7d64 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xaf6efe net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [21: 336] @ 0x5437e7 0x5437d0 0x543519 0x543848 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 432] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18382ae 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18382ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 624] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 128] @ 0x7e741a 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e7419 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xaf7f66 0x114d1ca 0x114d17f 0x1197332 0x2046e03 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046d89 0x2029802 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x114d1c9 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x114d17e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketConnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:620 # 0x1197331 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketConnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:187 # 0x2046e02 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func2.1+0x62 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:277 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046d88 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func2+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:276 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [35: 11200] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 384] @ 0x543a2d 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543a2c encoding/json.(*decodeState).literalInterface+0xcc encoding/json/decode.go:1143 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 896] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 272] @ 0xb636ae 0xb6363b 0xc13c33 0xc13c50 0x24f82a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb636ad github.com/google/uuid.NewRandomFromReader+0x2d github.com/google/uuid@v1.6.0/version4.go:48 # 0xb6363a github.com/google/uuid.NewRandom+0x5a github.com/google/uuid@v1.6.0/version4.go:41 # 0xc13c32 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc13c4f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 11520] @ 0x5275a6 0x1808313 0x180838f 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1808312 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:356 # 0x180838e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:366 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x50f21d 0x53fe27 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 2112] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 4992] @ 0x48edbc 0x48ec06 0x48e97c 0x797adb 0x797af4 0x7985bb 0xc4258d 0xc42568 0xc42556 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x797ada regexp.newOnePassMachine+0x9a regexp/exec.go:384 # 0x797af3 regexp.(*Regexp).doOnePass+0xb3 regexp/exec.go:403 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0xc4258c regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0xc42567 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:527 # 0xc42555 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x17e27ea 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17e27e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [66: 4224] @ 0xafa499 0xafa470 0xafa413 0x113eea5 0x483fe1 # 0xafa498 bufio.NewWriterSize+0x98 bufio/bufio.go:599 # 0xafa46f bufio.NewWriter+0x6f bufio/bufio.go:609 # 0xafa412 net/rpc.(*Server).ServeConn+0x12 net/rpc/server.go:446 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [26: 4160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 9216] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175c62d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c62c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:501 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1837c65 0x1837ba4 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1837c64 github.com/lann/builder.Append+0x384 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837ba3 github.com/mattermost/squirrel.InsertBuilder.Values+0x2c3 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 528] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 3744] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [44: 2816] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0xb09ca5 0xb09c53 0x119ac6b 0x119ab38 0x119242e 0x1193d7e 0x1193c3b 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0xb09ca4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb09c52 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:172 # 0x119ac6a github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xaa github.com/mattermost/mattermost/server/public/plugin/supervisor.go:228 # 0x119ab37 github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:204 # 0x119242d github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xad github.com/mattermost/mattermost/server/public/plugin/environment.go:641 # 0x1193d7d github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x1193c3a github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x17a github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [22: 352] @ 0x24e43f4 0x24e4397 0x24e4365 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e43f3 net/textproto.MIMEHeader.Add+0xd3 net/textproto/header.go:15 # 0x24e4396 net/http.Header.Add+0x76 net/http/header.go:31 # 0x24e4364 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:483 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 3312] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [34: 816] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1872] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x5654cb 0x5fd209 0x5fd1d1 0x5fe606 0x601ae5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x5654ca context.WithDeadlineCause+0x12a context/context.go:634 # 0x5fd208 context.WithDeadline+0x2e8 context/context.go:617 # 0x5fd1d0 net.(*Resolver).exchange+0x2b0 net/dnsclient_unix.go:182 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [20: 960] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 192] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2128] @ 0x565474 0x565c8d 0x565c4f 0x23eaa49 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x23eaa48 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x108 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:63 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [80: 5120] @ 0xae9758 0xae95ea 0xae9efe 0xaec8ce 0xaea4d4 0xaecd39 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9757 encoding/gob.(*encBuffer).WriteString+0x277 encoding/gob/encode.go:60 # 0xae95e9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [19: 9728] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 960] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17c6a3e 0x17c69e4 0x17c69da 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c6a3d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x27d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17c69e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x223 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17c69d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1335 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 24192] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x539cff 0x8e2a48 0x8e29fe 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a47 strings.Split+0x127 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 6656] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3970 0x17c6b29 0x17c6a6e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x17c6b28 github.com/mattermost/squirrel.SelectBuilder.From+0x368 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c6a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x12575bb 0x125c637 0x1829914 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [19: 1824] @ 0x446b89 0x458d66 0x931a33 0x934ec5 0x9349f2 0x5732f5 0xafa293 0xaf98e5 0xaf9dca 0x483fe1 # 0x931a32 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x392 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xafa292 net/rpc.(*gobServerCodec).WriteResponse+0x272 net/rpc/server.go:427 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [37: 592] @ 0x24f9085 0x24f9058 0x24f9043 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f9084 net/textproto.MIMEHeader.Set+0xfe4 net/textproto/header.go:22 # 0x24f9057 net/http.Header.Set+0xfb7 net/http/header.go:40 # 0x24f9042 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xfa2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:231 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 4224] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x179d569 0x179d4be 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x179d568 github.com/mattermost/squirrel.UpdateBuilder.Set+0x688 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x179d4bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x5dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:208 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [12: 576] @ 0x16b0825 0x16b07b9 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0x5275a6 0xbc1b88 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xbc1b87 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x1c7 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x535245 0x535350 0x53a585 0x1f7bde5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x1f7bde4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:119 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15fc 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 3072] @ 0x16a98b3 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 39040] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5275a6 0x16a94c9 0x16a9bb8 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9bb7 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a99d5 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99d4 github.com/mattermost/squirrel.Eq.toSQL+0xe34 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 168] @ 0x182ff1d 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182ff1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 2352] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x18379f5 0x1837997 0x1837996 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18379f4 github.com/mattermost/squirrel.InsertBuilder.Into+0x114 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1837996 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1837995 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x186f957 0x186f918 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f956 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x196 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x186f917 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1131 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 224] @ 0x16b080f 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 480] @ 0x4ba82a 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba829 path.Join+0x69 path/path.go:163 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17f2886 0x17f282d 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17f2885 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x445 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17f282c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 168] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [44: 704] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [13: 1872] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 400] @ 0x16b15fc 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 832] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 512] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 352] @ 0x6cf347 0x6cf172 0x24f89fb 0x24f89ea 0x24f89af 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x24f89fa net/textproto.MIMEHeader.Set+0x95a net/textproto/header.go:22 # 0x24f89e9 net/http.Header.Set+0x949 net/http/header.go:40 # 0x24f89ae github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x90e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:221 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 17920] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0xc1612b 0xc160cb 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc1612a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc160ca github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 2560] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [11: 176] @ 0xb08bce 0xb081e9 0x113e93d 0x483fe1 # 0xb08bcd github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xcd github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:176 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [34: 1088] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 336] @ 0xbfc4ba 0xbfc477 0xc0e27e 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 1152] @ 0x565d65 0x755645 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0x755644 net/http.(*conn).serve+0xc4 net/http/server.go:1941 0: 0 [4: 448] @ 0xbfc4ba 0xbfc477 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 1568] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 696] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1568] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x185217f 0x18520c6 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185217e github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18520c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 3072] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 576] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [81: 18144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [9: 576] @ 0x203f43d 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203f43c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x75c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1024] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 800] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 2640] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 7488] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18514b6 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18514b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x1b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:407 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 23296] @ 0x83d59f 0x83c93e 0x483fe1 # 0x83d59e github.com/mattermost/logr/v2.(*LogRec).prep+0x2de github.com/mattermost/logr/v2@v2.0.22/logrec.go:67 # 0x83c93d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [5: 80] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 61440] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 11968] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25dec2a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25dec29 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x589 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:207 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 864] @ 0xb18fbd 0xc13c73 0x23f99c9 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23f99c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:163 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x179fa45 0x179fa11 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x179fa44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x179fa10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0xd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:375 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x179fa45 0x179fa11 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x179fa44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x179fa10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0xd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:375 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 120] @ 0x1837c3b 0x1837ba4 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837c3a github.com/lann/builder.Append+0x35a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837ba3 github.com/mattermost/squirrel.InsertBuilder.Values+0x2c3 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 544] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1920] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 4608] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x175b2e9 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x175b2e8 github.com/mattermost/squirrel.SelectBuilder.From+0x528 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1837b73 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837b72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x292 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18526b9 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 560] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x16b0f34 0x16b0e53 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 3600] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [15: 1680] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 29184] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 1792] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 448] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 384] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x5274b7 0x16ae90a 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x5274b6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x16ae909 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1e9 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [14: 1568] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 11968] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 960] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [22: 704] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 160] @ 0x175b170 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:411 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x565474 0x5fd209 0x5fd1d1 0x5fe606 0x601ae5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x5fd208 context.WithDeadline+0x2e8 context/context.go:617 # 0x5fd1d0 net.(*Resolver).exchange+0x2b0 net/dnsclient_unix.go:182 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [16: 256] @ 0x50f21d 0xafb2c5 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2c4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:560 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [8: 2304] @ 0x543d27 0xc135df 0x24fca45 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc135de github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x11e github.com/mattermost/mattermost/server/public/model/utils.go:314 # 0x24fca44 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 368] @ 0x24f8bae 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8bad github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb0d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x408105 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x171ef4f 0x171f954 0x17421f8 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x171ef4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x6ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:254 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x17421f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x377 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0xc1f048 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1f047 github.com/mattermost/mattermost/server/public/model.SidebarCategoryType.MarshalJSON+0x27 github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:92 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x24e2e25 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e24 net/textproto.MIMEHeader.Set+0x84 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x1f81b27 0x22af5b0 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22af5af github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x8f github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [50: 7200] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 1456] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x17c6e65 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 7168] @ 0x22ceb95 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22ceb94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2312 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 1664] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x16584fe 0x1657179 0x1657145 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x16584fd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x1657178 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x1657144 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:146 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 8960] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 17024] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x184ecfd 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x184ecfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:217 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x238b596 0x238b544 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x238b595 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xd295 github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x238b543 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd243 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:857 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 5376] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [21: 2352] @ 0x56458a 0x7e45fe 0x7e65d4 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e65d3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 96] @ 0x1f7b313 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b312 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x292 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:76 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1852305 0x185226c 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1852304 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x324 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x185226b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:446 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 400] @ 0x16b0a7c 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 4864] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x16b1634 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 384] @ 0x16b1585 0x16b15db 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16b48e8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b48e7 github.com/mattermost/squirrel.(*updateData).ToSql+0x5c7 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x175b2bf 0x175b22f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b2be github.com/mattermost/squirrel.SelectBuilder.From+0x4fe github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x175b22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 2688] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 240] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 672] @ 0xae1de5 0xae1da1 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae1de4 errors.New+0x264 errors/errors.go:65 # 0xae1da0 encoding/gob.(*Decoder).compileSingle+0x220 encoding/gob/decode.go:1111 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [20: 4160] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 152] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 672] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 464] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 168] @ 0x20998bb 0x209bc8e 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20998ba github.com/getsentry/sentry-go.(*spanRecorder).record+0x11a github.com/getsentry/sentry-go@v0.36.0/span_recorder.go:36 # 0x209bc8d github.com/getsentry/sentry-go.StartSpan+0x3ad github.com/getsentry/sentry-go@v0.36.0/tracing.go:198 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [69: 3312] @ 0x479c9a 0x479caf 0xae3a33 0xafa535 0x113eea5 0x483fe1 # 0xae3a32 encoding/gob.NewDecoder+0x1f2 encoding/gob/decoder.go:53 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 3840] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 52864] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 1056] @ 0xbfa8e5 0xbfa8e6 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa8e4 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa8e5 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x535245 0x535350 0x53a585 0x16a973d 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16a973c github.com/mattermost/squirrel.Eq.toSQL+0xb9c github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x112145c 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 960] @ 0x24e265a 0x48ea11 0x24e4539 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2659 github.com/klauspost/compress/gzhttp.init.func1+0x19 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:458 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x24e4538 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x218 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:490 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 672] @ 0x4ba53b 0x4ba53c 0x4ba94a 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba53a path.(*lazybuf).string+0x5da path/path.go:50 # 0x4ba53b path.Clean+0x5db path/path.go:137 # 0x4ba949 path.Join+0x189 path/path.go:172 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 360] @ 0xbfaaeb 0xbfaaec 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaaea github.com/tinylib/msgp/msgp.ReadStringBytes+0x32a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaaeb github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x32b github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 4992] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [98: 100352] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 7392] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [87: 6960] @ 0xaf7f66 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1736ecc 0x1736e9d 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1736ecb github.com/mattermost/squirrel.StatementBuilderType.Select+0x12b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1736e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2220 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 2880] @ 0x2095c59 0x245907a 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2095c58 github.com/getsentry/sentry-go.(*Scope).SetRequest+0xf8 github.com/getsentry/sentry-go@v0.36.0/scope.go:133 # 0x2459079 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2d9 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:120 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 624] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xc0e56c 0xc0e56d 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e56b github.com/tinylib/msgp/msgp.ReadStringBytes+0xd2b github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e56c github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xd2c github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0xc12e45 0xc12de0 0x24f1aaa 0x24fc5e5 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc12e44 strings.(*Builder).WriteString+0x204 strings/builder.go:108 # 0xc12ddf github.com/mattermost/mattermost/server/public/model.(*AppError).Error+0x19f github.com/mattermost/mattermost/server/public/model/utils.go:256 # 0x24f1aa9 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x1e9 github.com/mattermost/mattermost/server/v8/channels/web/context.go:113 # 0x24fc5e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x904 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:410 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 4784] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 39168] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 224] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x179fc4c 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179fc4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 400] @ 0x16b07a8 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 34496] @ 0x24fb61d 0x24faf49 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fb61c github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x55c github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:166 # 0x24faf48 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ea8 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:361 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16ab751 0x16ac827 0x182a286 0x182f205 0x182f3a7 0x16ebe12 0x200524b 0x2042963 0x20424d0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x182f3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:67 # 0x16ebe11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12413 # 0x200524a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9780 # 0x2042962 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x20424cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [66: 7392] @ 0x4125d4 0x4aaf08 0x93154b 0x93153a 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x93154a time.After+0x2a time/sleep.go:203 # 0x931539 github.com/hashicorp/yamux.(*Session).keepalive+0x19 github.com/hashicorp/yamux@v0.1.2/session.go:367 0: 0 [3: 48] @ 0x16b0005 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 136] @ 0x114daf7 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x114daf6 net/rpc.(*Client).Call+0xf6 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [4: 64] @ 0x175cb6d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cb6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x70c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 720] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [49: 784] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 720] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x539cff 0x8e2a72 0x8e29fe 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a71 strings.Split+0x151 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 5184] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 624] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 32640] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 34048] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 224] @ 0x565474 0x565c8d 0x565c4f 0x182c7db 0x182c28e 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182c7da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:338 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 2112] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2402ae2 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2402ae1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:213 0: 0 [1: 32] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 4480] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0x17b860a 0x17b85f8 0x17ba5d4 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x17b8609 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x17b85f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:91 # 0x17ba5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c8d1d 0x17c8c6d 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c8d1c github.com/mattermost/squirrel.SelectBuilder.From+0x17c github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c8c6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1509 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 1344] @ 0x113e225 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e224 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x304 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 480] @ 0x5437e7 0x5437d0 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [32: 12288] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x565d65 0xc40bdf 0xc3e47a 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0xc40bde github.com/gorilla/mux.requestWithVars+0x5e github.com/gorilla/mux@v1.8.1/mux.go:449 # 0xc3e479 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 19712] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x22ad5af 0x24f95ef 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x22ad5ae github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1ee github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 12800] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [30: 30720] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [30: 480] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [60: 960] @ 0x563ac5 0x7510ca 0x755918 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7510c9 net/http.(*conn).readRequest+0x6c9 net/http/server.go:1083 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [2: 32] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 10080] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17e2827 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17e2826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xa6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 2688] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [9: 720] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 208] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [52: 1664] @ 0xbfa8e5 0xbfa8e6 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa8e4 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa8e5 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c1850 0x17c1821 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c184f github.com/mattermost/squirrel.StatementBuilderType.Select+0x10f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c1820 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xe0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:886 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x1853bbe 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1853bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x87d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 792] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 96] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16b1c88 0x172877a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1c87 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1728779 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1132 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 35200] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1600] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2407242 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [48: 3840] @ 0x20522e8 0x2051cd7 0x483fe1 # 0x20522e7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:690 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [11: 6336] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [21: 1008] @ 0x479c9a 0x479caf 0x23e48d4 0x23e4843 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23e48d3 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xd3 github.com/mattermost/mattermost/server/public/model/websocket_message.go:271 # 0x23e4842 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x42 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7eac65 0x1262379 0x1260b22 0x182bf16 0x182bece 0x182c1c5 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7eac64 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x1262378 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x182bf15 github.com/jmoiron/sqlx.(*Tx).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x182becd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x182c1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:305 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18535ae 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18535ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x26d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:560 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 40960] @ 0xae9758 0xae95ea 0xae9efe 0xaec8ce 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9757 encoding/gob.(*encBuffer).WriteString+0x277 encoding/gob/encode.go:60 # 0xae95e9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 3072] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c1209 0x17c11a2 0x16db47b 0x1ff23d0 0x240cc58 0x23e2b0d 0x113365e 0x116aecd 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c1208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1cc8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c11a1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:852 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x23e2b0c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPostThread+0x6c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:813 # 0x113365d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPostThread+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:774 # 0x116aecc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPostThread+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4333 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 80] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x186f917 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 32640] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3840] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16a526f 0x16a5263 0x16a5233 0x1853ab3 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a526e github.com/mattermost/squirrel.newPart+0x4e github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16a5262 github.com/mattermost/squirrel.newWhenPart+0x42 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x16a5232 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1853ab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 6336] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [46: 1472] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 768] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 208] @ 0x16b080f 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 1008] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x187009f 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x187009e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1184 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 176] @ 0x2516894 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2516893 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0x73 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:19 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 960] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 5184] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 432] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17f281c 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x3db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17f2605 0x17f24f1 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17f2604 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1c4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17f24f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:91 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 784] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 448] @ 0x12578b9 0x125c637 0x1829914 0x172e165 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x172e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1543 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x543d27 0x25fe4db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25fe4da github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 3360] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [55: 49280] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54362a 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543629 encoding/json.(*decodeState).arrayInterface+0xa9 encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 960] @ 0x4cfde8 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfde7 os.(*File).readdir+0x587 os/dir_unix.go:141 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 2112] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x179afa8 0x16d7375 0x1feda4e 0x1f4e163 0x20cc117 0x1f52f84 0x1f522fa 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x179afa7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x727 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20cc116 github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x36 github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 432] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 17408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 880] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [132: 67584] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [50: 19200] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2080] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1024] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [33: 528] @ 0x933e73 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933e72 github.com/hashicorp/yamux.newStream+0x52 github.com/hashicorp/yamux@v0.1.2/stream.go:70 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [45: 7200] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0xb18fbd 0xc13c73 0x23eaa93 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23eaa92 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x152 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:69 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x16b0eeb 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [36: 10368] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17285ad 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17285ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x32c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1123 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [52: 2496] @ 0x479c9a 0x479caf 0xae3a05 0xafa535 0x113eea5 0x483fe1 # 0xae3a04 encoding/gob.NewDecoder+0x1c4 encoding/gob/decoder.go:52 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [29: 2320] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 352] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 3584] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2560] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [18: 2592] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 408] @ 0x535245 0x535350 0x53a585 0x569b7f 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [40: 3840] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x18520fb 0x18520c7 0x18520c6 0x11adcb0 0x483fe1 # 0x18520fa github.com/mattermost/squirrel.newPart+0x11a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x18520c6 github.com/mattermost/squirrel.SelectBuilder.From+0xe6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18520c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [20: 23040] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [37: 33152] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 144] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x1858875 0x18587b1 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x238b3fa 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1858874 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1b4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18587b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x238b3f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xd0f9 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:817 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 3520] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0a05 0x16b09d3 0x1853be5 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1853be4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 9216] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 17920] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x2430557 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2430556 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x536 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:75 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 216] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x112145c 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 2832] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x23f9ed7 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x23f9ed6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x576 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:203 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x479c9a 0x479caf 0x241dac7 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x241dac6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x86 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:156 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x53dab7 0xbdb44f 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xbdb44e github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x14e github.com/mattermost/mattermost/server/public/model/post.go:908 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x2629b0d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2629b0c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/team.go:588 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 192] @ 0x6311e5 0x6324d9 0x6324af 0x25de779 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de778 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:188 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3520] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [4: 1920] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c5a65 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1257 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x10ce665 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10ce664 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x344 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 4224] @ 0x7889fb 0x7889a6 0x786d73 0x787d65 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787ac5 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787ac4 regexp/syntax.(*compiler).compile+0x1044 regexp/syntax/compile.go:137 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 4224] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2560] @ 0x12578b9 0x125c637 0x1829914 0x1736365 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2144 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x172dd77 0x172dd56 0x18a7f8a 0x16c3368 0x1fd7612 0x1f7143e 0x1f8b032 0x22de915 0x22b9da5 0x22b9d9c 0x25357e8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x172dd76 github.com/mattermost/squirrel.SelectBuilder.From+0x136 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x172dd55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x115 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1526 # 0x18a7f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1520 # 0x16c3367 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1517 # 0x1fd7611 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1297 # 0x1f7143d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:417 # 0x1f8b031 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:399 # 0x22de914 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3928 # 0x22b9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3686 # 0x22b9d9b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:317 # 0x25357e7 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [87: 77952] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 624] @ 0x16b0efc 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 456] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [29: 1392] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 432] @ 0x16ae766 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [33: 528] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x54eb70 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 9216] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 17920] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x18077bc 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18077bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x13b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:216 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [90: 138240] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 704] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2e0e 0xbc2e05 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2e0d os.Open+0x3cd os/file.go:370 # 0xbc2e04 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3c4 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 2816] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [6: 288] @ 0x16b0825 0x16b07b9 0x1852505 0x18524df 0x11adcb0 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1852504 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18524de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:430 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [42: 9408] @ 0x24fb385 0x24faf49 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fb384 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x24faf48 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ea8 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:361 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a3970 0x16a3bc5 0x1830686 0x1830595 0x1830594 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830685 github.com/lann/builder.Append+0x5c5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1830594 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4d4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1830593 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 896] @ 0xc0d09d 0xc0d05b 0x10ce415 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7f5a8 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d09c github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc0d05a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7f5a7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x227 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [50: 800] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [30: 480] @ 0x7ed233 0x483fe1 # 0x7ed232 database/sql.(*Rows).awaitDone+0x172 database/sql/sql.go:3011 0: 0 [3: 48] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [27: 432] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x16b0f34 0x16b0e53 0x175b7ce 0x175b783 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b7cd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xa0d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175b782 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 384] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 6864] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [15: 3120] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185192e 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185192d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x62d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:483 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 2800] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [93: 83328] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 7296] @ 0x6059e5 0x60598f 0x61d9bb 0x61cbb0 0x75b08c 0x2457c85 0x483fe1 # 0x6059e4 net.newFD+0x144 net/fd_unix.go:27 # 0x60598e net.(*netFD).accept+0xee net/fd_unix.go:180 # 0x61d9ba net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x61cbaf net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [1: 32] @ 0x1728c90 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728c8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xa0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1155 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [122: 3904] @ 0xae1bd4 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae1bd3 encoding/gob.(*Decoder).compileSingle+0x53 encoding/gob/decode.go:1099 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 48] @ 0x16a567a 0x16a61bd 0x17722e5 0x16cdfd2 0x1fe37ab 0x20be090 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x16a5679 github.com/mattermost/squirrel.(*deleteData).ToSql+0x39 github.com/mattermost/squirrel@v0.5.0/delete.go:40 # 0x16a61bc github.com/mattermost/squirrel.DeleteBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x17722e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDesktopTokensStore).DeleteOlderThan+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/desktop_tokens_store.go:113 # 0x16cdfd1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDesktopTokensStore).DeleteOlderThan+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4265 # 0x1fe37aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDesktopTokensStore).DeleteOlderThan+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3496 # 0x20be08f github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens.MakeWorker.func2+0xcf github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens/worker.go:24 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [27: 2160] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [26: 1248] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 2704] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 2080] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 8320] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 11264] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [14: 1344] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 3680] @ 0xaf7f66 0xb09ca5 0xb09c53 0x119ac6b 0x119ab38 0x119242e 0x1193d7e 0x1193c3b 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0xb09ca4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb09c52 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:172 # 0x119ac6a github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xaa github.com/mattermost/mattermost/server/public/plugin/supervisor.go:228 # 0x119ab37 github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:204 # 0x119242d github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xad github.com/mattermost/mattermost/server/public/plugin/environment.go:641 # 0x1193d7d github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x1193c3a github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x17a github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [153: 12240] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 1120] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c6d19 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c6d18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x173682f 0x16c59bd 0x1fd9f43 0x22ce093 0x240eeb0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173682e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x16c59bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2069 # 0x1fd9f42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1729 # 0x22ce092 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2243 # 0x240eeaf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1411 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 10208] @ 0xbc19eb 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc19ea github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x2a github.com/mattermost/mattermost/server/public/model/manifest.go:255 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 528] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x250d505 0x250d493 0x250d475 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250d504 net/textproto.MIMEHeader.Set+0x864 net/textproto/header.go:22 # 0x250d492 net/http.Header.Set+0x7f2 net/http/header.go:40 # 0x250d474 github.com/mattermost/mattermost/server/v8/channels/web.root+0x7d4 github.com/mattermost/mattermost/server/v8/channels/web/static.go:100 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [66: 2112] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [152: 1245184] @ 0x4e5531 0x250d45c 0x250d3f4 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e5530 bytes.Replace+0xf0 bytes/bytes.go:1188 # 0x250d45b bytes.ReplaceAll+0x7bb bytes/bytes.go:1215 # 0x250d3f3 github.com/mattermost/mattermost/server/v8/channels/web.root+0x753 github.com/mattermost/mattermost/server/v8/channels/web/static.go:97 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 864] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [123: 5904] @ 0x479c9a 0x479caf 0x209c0fe 0x2458ff7 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209c0fd github.com/getsentry/sentry-go.(*Span).SetData+0x9d github.com/getsentry/sentry-go@v0.36.0/tracing.go:254 # 0x2458ff6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x256 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:109 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 448] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [31: 11904] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2736] @ 0x2422505 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422504 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:123 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 624] @ 0x16b080f 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [11: 88] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 48] @ 0x16b0005 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [21: 6048] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x185145e 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185145d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x15d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:406 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1791f3f 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1791f3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x3be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1478 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 3328] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [38: 5472] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 864] @ 0x76d1a5 0x76c318 0x76c155 0x483fe1 # 0x76d1a4 net/http.(*Transport).dialConn+0x184 net/http/transport.go:1737 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [12: 10752] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x2716350 0x65d785 0x110dde5 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110dde4 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.10.9/scram/scram.go:235 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x11137bb 0x111d4a5 0x111d1cf 0x7ef2e9 0x7efa11 0x7ef11e 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x111d1ce github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.10.9/conn.go:1544 # 0x7ef2e8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ef11d database/sql.(*Rows).close+0x13d database/sql/sql.go:3455 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16a99fe 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2128] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x23eaa49 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x23eaa48 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x108 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:63 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 192] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1120] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 408] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x1728c4b 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728c4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x9ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2304] @ 0x48edbc 0x48ec06 0x48e97c 0xb78da9 0xb78d9d 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb78da8 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xb78d9c github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 4896] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c6e0c 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6e0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x64b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1342 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 4608] @ 0x175cc85 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175cc84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x824 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 1344] @ 0x859fd3 0x23fadfd 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x859fd2 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x32 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x23fadfc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x149c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:250 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1344] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2560] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [56: 6272] @ 0x56458a 0x5647d5 0x563ab9 0x563a7d 0x7510ca 0x755918 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x5647d4 context.(*cancelCtx).propagateCancel+0x74 context/context.go:469 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7510c9 net/http.(*conn).readRequest+0x6c9 net/http/server.go:1083 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [4: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [25: 400] @ 0x1839165 0x1839636 0x1842098 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1839164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x4c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:139 # 0x1839635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:185 # 0x1842097 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:986 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 896] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x175b39f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x175b39e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 480] @ 0x75b1ab 0x2457c85 0x483fe1 # 0x75b1aa net/http.(*Server).Serve+0x42a net/http/server.go:3454 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [31: 10912] @ 0x16b07a8 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 1792] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2128] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 496] @ 0x16b0a7c 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [31: 10912] @ 0x171d9c9 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171d9c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:118 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 2496] @ 0x7630df 0x77642d 0x750c27 0x755918 0x483fe1 # 0x7630de net/http.readTransfer+0x57e net/http/transfer.go:573 # 0x77642c net/http.readRequest+0x74c net/http/request.go:1158 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [14: 224] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 9984] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 32] @ 0x63316c 0x63312b 0x633123 0x631365 0x23f9f08 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x63316b slices.AppendSeq[...]+0x6b slices/iter.go:50 # 0x63312a slices.Collect[...]+0x2a slices/iter.go:58 # 0x633122 slices.Sorted[...]+0x22 slices/iter.go:64 # 0x631364 net/url.Values.Encode+0x84 net/url/url.go:1008 # 0x23f9f07 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5a7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:205 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817cee 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817ced github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [16: 18432] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x18533e5 0x18533c3 0x18533a8 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18533e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18533c2 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x18533a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2400039 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 1056] @ 0xbfa85a 0xbfa85b 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa859 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa85a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x16ae99e 0x16ae9a1 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182dde5 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182dde4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:440 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [69: 847872] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [35: 560] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 48] @ 0x173577b 0x1735747 0x1735746 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173577a github.com/mattermost/squirrel.newPart+0x21a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1735746 github.com/mattermost/squirrel.SelectBuilder.From+0x1e6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1735745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2071 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 352] @ 0xbfaaeb 0xbfaaec 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaaea github.com/tinylib/msgp/msgp.ReadStringBytes+0x32a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaaeb github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x32b github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 3200] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [9: 72] @ 0xae2fb1 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fb0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1190 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x18446ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18446cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x24b5df4 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x24b5df3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x953 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:814 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x7889fb 0x7889a6 0x787fff 0x787ca8 0x787812 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0xbb78d8 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x787ffe regexp/syntax.(*compiler).compile+0x157e regexp/syntax/compile.go:101 # 0x787ca7 regexp/syntax.(*compiler).compile+0x1227 regexp/syntax/compile.go:154 # 0x787811 regexp/syntax.(*compiler).compile+0xd91 regexp/syntax/compile.go:129 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbb78d7 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:163 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 336] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 352] @ 0x12578b9 0x125c637 0x1829914 0x17c788e 0x16ddb92 0x1ff4e4f 0x22b0646 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x17c788d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x16ddb91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8348 # 0x1ff4e4e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6661 # 0x22b0645 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 64] @ 0xb13ab0 0xb13337 0x2426425 0x24233f8 0x2400c7c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb13aaf github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x56f github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:62 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x2400c7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x127b github.com/mattermost/mattermost/server/v8/channels/app/post.go:331 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x83bd51 0x83bc9d 0x839b05 0x8410d0 0x23e4fc8 0x1136542 0x11447f2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83bd50 github.com/mattermost/logr/v2.LimitString+0x3d0 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x83bc9c github.com/mattermost/logr/v2.(*Logr).enqueue+0x31c github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x839b04 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x8410cf github.com/mattermost/logr/v2.Sugar.Warnw+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x23e4fc7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1131 # 0x1136541 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1092 # 0x11447f1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1011 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 352] @ 0x543d27 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [76: 1216] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 3168] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24a7b34 0x24a7afd 0x2517a39 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24a7b33 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x153 github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x24a7afc github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x11c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2620 # 0x2517a38 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x478 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 336] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [41: 5904] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [91: 2912] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 31680] @ 0x12575bb 0x125c637 0x182b7ac 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 528] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17bf78b 0x16db47b 0x1ff23d0 0x2407242 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17bf78a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x24a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:723 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2304] @ 0x12575bb 0x125c637 0x182b7ac 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x16b0e85 0x16b0e53 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x16b4367 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b4366 github.com/mattermost/squirrel.(*updateData).ToSql+0x46 github.com/mattermost/squirrel@v0.5.0/update.go:67 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1728551 0x1728503 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1728550 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1728502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x282 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1121 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 512] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x271626f 0x2732f5a 0x2738225 0x6befee 0x67b367 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6befed crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:28 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 672] @ 0x183a6fe 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x183a6fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:334 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [74: 9472] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [40: 23040] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0x479c9a 0x479caf 0x186f9bd 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f9bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [106: 5088] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x175b3f7 0x175b3ad 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b3f6 github.com/mattermost/squirrel.Expr+0x636 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x175b3ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:425 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x182edd4 0x182ece1 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x182edd3 github.com/mattermost/squirrel.InsertBuilder.Columns+0x253 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x182ece0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x160 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:47 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [49: 112896] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 10368] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 304] @ 0x24f8a17 0x24f89ea 0x24f89af 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8a16 net/textproto.MIMEHeader.Set+0x976 net/textproto/header.go:22 # 0x24f89e9 net/http.Header.Set+0x949 net/http/header.go:40 # 0x24f89ae github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x90e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:221 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 768] @ 0x479c9a 0x479caf 0x182fefb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182fefa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x5a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x18521ff 0x18521b7 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18521fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [33: 14784] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x175c56f 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175c56e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 2976] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [18: 27648] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 53760] @ 0xba4ee5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xba4ee4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x44 github.com/mattermost/mattermost/server/public/model/config.go:3901 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 448] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 64] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15fc 0x184defc 0x184e2b2 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184defb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:131 # 0x184e2b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 352] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x7d5f2e 0x1198562 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x7d5f2d net/http/httptest.(*ResponseRecorder).Write+0x4d net/http/httptest/recorder.go:110 # 0x1198561 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x266e1d0 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x266e1cf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x32f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3445 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b034c 0x16b03d0 0x173a496 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b034b github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0xab github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x173a495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x355 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2551 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2816] @ 0xb652fa 0xb6b213 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb652f9 github.com/gorilla/websocket.newConn+0x139 github.com/gorilla/websocket@v1.5.3/conn.go:308 # 0xb6b212 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2448] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16aee3c 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 4320] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1725573 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1725572 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:885 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 896] @ 0x17b859a 0x17b8bb3 0x17ba49f 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x17ba49e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x153e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 21216] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 24320] @ 0x543d27 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 720896] @ 0x11eb84c 0x11eb899 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11eb84b bufio.NewWriterSize+0xeb bufio/bufio.go:600 # 0x11eb898 image/png.(*encoder).writeIDATs+0x138 image/png/writer.go:552 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 2367488] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 2367488] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 2367488] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x11e8497 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e8496 image/png.Decode+0x76 image/png/reader.go:970 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 393216] @ 0x4bc0f1 0x4bb15d 0x1644bbd 0x1644b96 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232b6e3 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bc0f0 io.(*multiReader).WriteTo+0x30 io/multi.go:45 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x1644bbc io.Copy+0xfc io/io.go:388 # 0x1644b95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232b6e2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x862 github.com/mattermost/mattermost/server/v8/channels/app/file.go:811 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4608] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x8e02d5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2b2b 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8e02d4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x134 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2b2a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:274 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x17beb7a 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17beb79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:650 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4032] @ 0x125388e 0x24f0f33 0x24f0cd5 0x266faa2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125388d github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x50d github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x24f0f32 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x232 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x24f0cd4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x266faa1 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x9c1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3515 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 163840] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 464] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1792] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x266ee6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ee6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfcc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3478 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x18511fc 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x18511fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1adb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:371 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [21: 10080] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x16b0005 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 1792] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 224] @ 0x2389c45 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2389c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xb944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:867 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2560] @ 0x23739e5 0x2373117 0x2398a51 0xb1350a 0xb13d9c 0xb1348e 0xb13702 0xb13337 0x2398967 0x2380ac5 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23739e4 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x124 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x2373116 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x3d6 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x2398a50 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1390 # 0xb13509 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb13d9b github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x15b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:94 # 0xb1348d github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x10d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:26 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2398966 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x86 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1385 # 0x2380ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27c4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:244 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x2398b17 0x2398927 0x23940d7 0x2380118 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2398b16 github.com/mattermost/mattermost/server/v8/channels/app.getMentionsEnabledFields+0x56 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1416 # 0x2398926 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x46 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1382 # 0x23940d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x9d6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1051 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 448] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0x2611f85 0x2611f86 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2611f84 github.com/mattermost/mattermost/server/public/model.ToJSON+0x1624 github.com/mattermost/mattermost/server/public/model/utils.go:574 # 0x2611f85 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1625 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1344] @ 0x5aeaba 0x5aead0 0x2715b22 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2715b21 crypto/internal/fips140/ecdsa.newDRBG[...]+0xe1 crypto/internal/fips140/ecdsa/hmacdrbg.go:60 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 256] @ 0x7630df 0x74aba5 0x771f51 0x770d14 0x483fe1 # 0x7630de net/http.readTransfer+0x57e net/http/transfer.go:573 # 0x74aba4 net/http.ReadResponse+0x464 net/http/response.go:199 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x173cb36 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173cb35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x29f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2590 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xbdcaff 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdcafe github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x15e github.com/mattermost/mattermost/server/public/model/post_list.go:39 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x25fe48a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x25fe489 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1829d45 0x18815f2 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x18815f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:40 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb165ba 0xb0d685 0xb15b8f 0xb0d4b5 0xb0c818 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb165b9 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:67 # 0xb0d684 github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x84 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:150 # 0xb15b8e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb0d4b4 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb0c817 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x2f7 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 1664] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0x5735ad 0xaee15f 0xaef0e8 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x5735ac bufio.(*Writer).Write+0xcc bufio/bufio.go:687 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaef0e7 encoding/gob.(*Encoder).EncodeValue+0x447 encoding/gob/encoder.go:253 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x171dc57 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dc56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x2f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:128 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 672] @ 0x770ede 0x483fe1 # 0x770edd net/http.(*persistConn).readLoop+0x4bd net/http/transport.go:2354 0: 0 [7: 784] @ 0x16b4d5f 0x16b4cfd 0x16b57dd 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16b4d5e bytes.(*Buffer).String+0xa3e bytes/buffer.go:71 # 0x16b4cfc github.com/mattermost/squirrel.(*updateData).ToSql+0x9dc github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x2404864 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x2404863 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:543 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 240] @ 0x12578b9 0x125cf77 0x182c26f 0x17ba7b8 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125cf76 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x182c26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x17ba7b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1857 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:228 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x1777ab4 0x16cf5db 0x1fe5086 0x231160f 0x2597007 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1777ab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.Search+0x1b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:120 # 0x16cf5da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).Search+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4643 # 0x1fe5085 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).Search+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3784 # 0x231160e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchEmoji+0xae github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:280 # 0x2597006 github.com/mattermost/mattermost/server/v8/channels/api4.searchEmojis+0x206 github.com/mattermost/mattermost/server/v8/channels/api4/emoji.go:314 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1408] @ 0x7889fb 0x7889a6 0x787fff 0x787ca8 0x787812 0x787d87 0x7868d5 0x79b897 0x79c3ac 0x79c3a0 0xbb78d8 0xbb7d1f 0x25113af 0x2510aca 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x787ffe regexp/syntax.(*compiler).compile+0x157e regexp/syntax/compile.go:101 # 0x787ca7 regexp/syntax.(*compiler).compile+0x1227 regexp/syntax/compile.go:154 # 0x787811 regexp/syntax.(*compiler).compile+0xd91 regexp/syntax/compile.go:129 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xbb78d7 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:163 # 0xbb7d1e github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbe github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:199 # 0x25113ae github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xcae github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x2510ac9 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3c9 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x461d32 0x4612a5 0x46140a 0xb129c6 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb129c5 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c96fd 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c96fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1559 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3584] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x24b600d 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x24b600c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb6c github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:850 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 960] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x17a2745 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17a2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:85 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x12578b9 0x125c637 0x182b7ac 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 912] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2e0e 0xbc2e05 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2e0d os.Open+0x3cd os/file.go:370 # 0xbc2e04 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3c4 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 192] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 6144] @ 0x54e9ae 0x54e645 0x54e315 0x23a6a6b 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x23a6a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x60a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17727da 0x1772780 0x177277e 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17727d9 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb9 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x177277f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x177277d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:65 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 2400] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [3: 864] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x173a3e5 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173a3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2547 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [9: 2592] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b0825 0x16b07b9 0x17c8c6c 0x17c8c46 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c8c6b github.com/mattermost/squirrel.StatementBuilderType.Select+0xcb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c8c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 7488] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 5184] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f9fe 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f9fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x23d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1134 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1536] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x270c5cd 0x2731e0f 0x272d5f9 0x5c86d0 0x5c85d2 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2731e0e crypto/internal/fips140/rsa.encrypt+0x10e crypto/internal/fips140/rsa/rsa.go:390 # 0x272d5f8 crypto/internal/fips140/rsa.verifyPSS+0x198 crypto/internal/fips140/rsa/pkcs1v22.go:342 # 0x5c86cf crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x32f crypto/internal/fips140/rsa/pkcs1v22.go:323 # 0x5c85d1 crypto/rsa.VerifyPSS+0x231 crypto/rsa/fips.go:169 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 48] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0xc105c5 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc105c4 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [20: 2560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16ab7e3 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 9728] @ 0x11e9afa 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x11e9af9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [2: 9728] @ 0x11e5532 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11e5531 image/png.(*decoder).readImagePass+0x991 image/png/reader.go:507 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 3653632] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [14: 1568] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 4368] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x240c665 0x240c5ee 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x240c664 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0xc4 github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x240c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 320] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x7e50aa 0x7e4f76 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7e50a9 database/sql.(*DB).addDepLocked+0xb89 database/sql/sql.go:759 # 0x7e4f75 database/sql.(*DB).conn+0xa55 database/sql/sql.go:1447 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 28672] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 5184] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x461d32 0x4612a5 0x46140a 0x171dd3d 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:131 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1792] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1852691 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:433 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 2464] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17befa5 0x17bef41 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17befa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17bef40 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x14a0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:683 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 10368] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17bef12 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x25e4425 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17bef11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:679 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x25e4424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:710 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0xb1299c 0xb13445 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1299b github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb13444 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0x16b0825 0x16b07b9 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x17410c5 0x1741068 0x1741067 0x16c101a 0x1fd4e1a 0x22a6410 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17410c4 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1741067 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1741066 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AnalyticsCountAll+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2970 # 0x16c1019 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AnalyticsCountAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:959 # 0x1fd4e19 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AnalyticsCountAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:851 # 0x22a640f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getStandardAnalytics.func1+0x6f github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:77 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184e959 0x184e911 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184e958 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x238 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x184e910 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x18536ec 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18536eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x184e7db 0x184e781 0x184e777 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e7da github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x184e780 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x184e776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 1440] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [37: 179968] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [52: 26624] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 88] @ 0xadf966 0xadff4b 0xae0230 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae022f encoding/gob.(*Decoder).decOpFor+0x98f encoding/gob/decode.go:863 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 48] @ 0x1f81b27 0x22cee1c 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22cee1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 672] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 4718592] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x461d32 0x4612a5 0x46140a 0x171dcf1 0x17277c5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171dcf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x390 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:130 # 0x17277c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 5120] @ 0xc1716b 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc1716a github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x12a github.com/mattermost/mattermost/server/public/model/websocket_message.go:195 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 16] @ 0x182e72d 0x182b95a 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x182b959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [26: 1248] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 144] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 800] @ 0x461d32 0x4612a5 0x46140a 0x1852616 0x18525f7 0x11adcb0 0x483fe1 # 0x1852615 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f5 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18525f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [53: 848] @ 0x543d27 0xc1abb7 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1abb6 github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x36 github.com/mattermost/mattermost/server/public/model/channel.go:465 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [31: 8928] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175b4d2 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b4d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x711 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:427 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [75: 3600] @ 0x16b0a05 0x16b09d3 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [40: 56320] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 640] @ 0x22ceb95 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22ceb94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2312 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 960] @ 0xae245d 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae245c encoding/gob.(*Decoder).compileDec+0x15c encoding/gob/decode.go:1152 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 832] @ 0x5474d6 0x5470aa 0x544613 0x5443d2 0x54eb70 0xc178ff 0x2048b50 0x2047f27 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xc178fe github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xbe github.com/mattermost/mattermost/server/public/model/websocket_message.go:366 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [33: 1056] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 13824] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [179: 5865472] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 6144] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 4160] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [22: 352] @ 0x11137bb 0x111d4a5 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x271638e 0x65d785 0x110e151 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e150 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.10.9/scram/scram.go:257 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 576] @ 0x7dd325 0x7dd356 0x7eedfa 0x7eead3 0x7ef4af 0x1868b74 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7dd324 bytes.Clone+0x904 bytes/bytes.go:1412 # 0x7dd355 database/sql.convertAssignRows+0x935 database/sql/convert.go:272 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x7ef4ae database/sql.(*Row).Scan+0x12e database/sql/sql.go:3515 # 0x1868b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:538 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 1568] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1728d4e 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728d4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1153 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 1680] @ 0x479c9a 0x479caf 0x20482e7 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20482e6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x326 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:503 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [63: 3024] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506c17 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506c16 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1b56 github.com/mattermost/mattermost/server/v8/channels/web/params.go:196 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 6144] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x16b0005 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 13056] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 153600] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [59: 944] @ 0x171ee05 0x171f954 0x1742778 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171ee04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:245 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x1742777 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x186d5b9 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x186d5b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0x186d9b7 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d9b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:940 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x23fff10 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x23fff0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x50f github.com/mattermost/mattermost/server/v8/channels/app/post.go:219 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1920] @ 0x51f836 0x1b792ca 0x1b792cb 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x51f835 encoding/base64.(*Encoding).EncodeToString+0xf5 encoding/base64/base64.go:209 # 0x1b792c9 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:99 # 0x1b792ca github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 192] @ 0x2715b46 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x2715b45 crypto/internal/fips140/ecdsa.newDRBG[...]+0x105 crypto/internal/fips140/ecdsa/hmacdrbg.go:63 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x703a85 0x702f52 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x703a84 net/http.setRequestCancel+0x264 net/http/client.go:390 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x6cf347 0x6d008e 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6d008d net/textproto.readMIMEHeader+0x20d net/textproto/reader.go:552 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [9: 2880] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [28: 32256] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x2414dc9 0x2414d9f 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x2414dc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x2414d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:2129 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 14080] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 39168] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x173edfd 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x173edfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2811 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 2016] @ 0x1736b31 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1736b30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2172 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0x2716350 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271634f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:149 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af1f5 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af1f4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3f4 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 384] @ 0x770eef 0x483fe1 # 0x770eee net/http.(*persistConn).readLoop+0x4ce net/http/transport.go:2355 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [31: 3472] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 29568] @ 0x12575bb 0x125c637 0x1829914 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x16b0ab4 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 6528] @ 0x48edbc 0x48ec06 0x48e97c 0x4cf9d2 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4cf9d1 os.(*File).readdir+0x171 os/dir_unix.go:57 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 1248] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 192] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1536] @ 0x270c5cd 0x2731e0f 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270c5cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:150 # 0x2731e0e crypto/internal/fips140/rsa.encrypt+0x10e crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [16: 1792] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 640] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [33: 9504] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175b017 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 912] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1408] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 1856] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2b74 0xbc2b00 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2b73 path/filepath.Join+0x133 path/filepath/path.go:131 # 0xbc2aff github.com/mattermost/mattermost/server/public/model.FindManifest+0xbf github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 128] @ 0x50f21d 0xaddab5 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xaddab4 encoding/gob.(*Decoder).decodeMap+0x2f4 encoding/gob/decode.go:604 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [2: 128] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 48] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 1216] @ 0xae245d 0xae300a 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae245c encoding/gob.(*Decoder).compileDec+0x15c encoding/gob/decode.go:1152 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 32] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [33: 16896] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [75: 2400] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 192] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x16b1634 0x16b15db 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16af1f5 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16af1f4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3f4 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [60: 1920] @ 0xbfa85a 0xbfa85b 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa859 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa85a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 960] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 1680] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 45312] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 2880] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1816af8 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1816af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:93 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [59: 8496] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [49: 7056] @ 0x23e4931 0x23e4843 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23e4930 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x130 github.com/mattermost/mattermost/server/public/model/websocket_message.go:272 # 0x23e4842 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x42 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [56: 16128] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [20: 320] @ 0x539fb5 0x22af369 0x22af361 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22af368 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:845 # 0x22af360 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:272 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 3072] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [4: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 1904] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [40: 20480] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 13056] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [40: 1146880] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [3: 384] @ 0x1222d94 0x1223188 0x1232a8d 0x1232be5 0x1245bb8 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x1222d93 github.com/yuin/goldmark/parser.(*withInlineParsers).SetParserOption+0x53 github.com/yuin/goldmark@v1.7.13/parser/parser.go:664 # 0x1223187 github.com/yuin/goldmark/parser.NewParser+0xc7 github.com/yuin/goldmark@v1.7.13/parser/parser.go:732 # 0x1232a8c github.com/yuin/goldmark.DefaultParser+0x32c github.com/yuin/goldmark@v1.7.13/markdown.go:16 # 0x1232be4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.7.13/markdown.go:102 # 0x1245bb7 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x177 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [33: 1056] @ 0xadc756 0xadc717 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadc755 encoding/gob.(*Decoder).newDecoderState+0x95 encoding/gob/decode.go:94 # 0xadc716 encoding/gob.(*Decoder).decodeStruct+0x56 encoding/gob/decode.go:470 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [57: 1368] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 216] @ 0x2052585 0x2051cd7 0x483fe1 # 0x2052584 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x884 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 192] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x179f494 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x179f493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0xb3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [10: 7040] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [80: 8960] @ 0x48037c 0x4aaf48 0x93154b 0x93153a 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x93154a time.After+0x2a time/sleep.go:203 # 0x931539 github.com/hashicorp/yamux.(*Session).keepalive+0x19 github.com/hashicorp/yamux@v0.1.2/session.go:367 0: 0 [10: 320] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [15: 1680] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [47: 36096] @ 0x12575bb 0x125c637 0x182b7ac 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 816] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [143: 6864] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [73: 1752] @ 0x208fe59 0x208fe13 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208fe58 github.com/getsentry/sentry-go.NewHub+0x78 github.com/getsentry/sentry-go@v0.36.0/hub.go:69 # 0x208fe12 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.36.0/hub.go:120 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1408] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x23e03b6 0x23e0394 0x1130dfe 0x1161c2d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x23e03b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x35 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x23e0393 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:480 # 0x1130dfd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x1161c2c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3202 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x11adbf1 0x1851773 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11adbf0 golang.org/x/sync/errgroup.(*Group).Go+0x50 golang.org/x/sync@v0.17.0/errgroup/errgroup.go:78 # 0x1851772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:452 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 4256] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 1408] @ 0x49cbcd 0x49cd1f 0x4cc91f 0x4ca5ed 0x6058c9 0x61d9bb 0x61cbb0 0x75b08c 0x2457c85 0x483fe1 # 0x49cbcc syscall.anyToSockaddr+0x16c syscall/syscall_linux.go:675 # 0x49cd1e syscall.Accept4+0x7e syscall/syscall_linux.go:699 # 0x4cc91e internal/poll.accept+0x1e internal/poll/sock_cloexec.go:17 # 0x4ca5ec internal/poll.(*FD).Accept+0x1ac internal/poll/fd_unix.go:611 # 0x6058c8 net.(*netFD).accept+0x28 net/fd_unix.go:172 # 0x61d9ba net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x61cbaf net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x2457c84 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x264 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1030 0: 0 [19: 4864] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 11520] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [7: 784] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1817374 0x1817319 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1817373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1817318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:138 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16aa695 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3840] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x461d32 0x4612a5 0x46140a 0x18537ab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18537aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 8] @ 0x182e72d 0x1829ac9 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829ac8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 1760] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 1152] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x6311e5 0x6324d9 0x6324af 0x25de865 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de864 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:204 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x631c73 0x631c16 0x632257 0x63213f 0x242917c 0x24272d5 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x631c72 strings.(*Builder).WriteString+0x372 strings/builder.go:108 # 0x631c15 net/url.resolvePath+0x315 net/url/url.go:1072 # 0x632256 net/url.(*URL).ResolveReference+0xd6 net/url/url.go:1121 # 0x63213e net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x242917b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:801 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8b3d 0x16dcab8 0x1ff3cf0 0x240deb8 0x240f310 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1503 # 0x16dcab7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8138 # 0x1ff3cef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6501 # 0x240deb7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1238 # 0x240f30f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4cf github.com/mattermost/mattermost/server/v8/channels/app/post.go:1448 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb0fbd0 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fbcf github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x1cf github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:222 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1152] @ 0x74a79a 0x771f51 0x770d14 0x483fe1 # 0x74a799 net/http.ReadResponse+0x59 net/http/response.go:156 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [25: 400] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [39: 189696] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1008] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x12575bb 0x125c637 0x182b7ac 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875cea 0x187e2fe 0x11adcb0 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875ce9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1666 # 0x187e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func2+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2268 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x54b539 0x54b85d 0x54b23d 0x53dad4 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 110592] @ 0x7889fb 0x7889a6 0x786d73 0x787d87 0x787d87 0x7868d5 0x79b897 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4928] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 21504] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4864] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2650e8b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2650e8a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2e8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:964 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 8448] @ 0x535245 0x535350 0x53a585 0x17b8f3b 0x184fa66 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x17b8f3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:137 # 0x184fa65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x345 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf791 0x10cf693 0x2039c43 0x10ce150 0x10d3f13 0x20396c2 0x2024565 0x203a0a6 0x26616ad 0x2661670 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x2039c42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c2 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x10ce14f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x10d3f12 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x20396c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x2024564 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:65 # 0x203a0a5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x26616ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x28c github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x266166f github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2388 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x11137bb 0x11200ef 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x11200ee github.com/lib/pq.parsePortalRowDescribe+0x12e github.com/lib/pq@v1.10.9/conn.go:1987 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0xc02138 0xc02139 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02137 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02138 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 5376] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 6656] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [35: 1680] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 10560] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x6311ad 0x6324d9 0x6324af 0x250511f 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 826880] @ 0x4bbd29 0x10df405 0x10df3fd 0x10df74c 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x10df404 io/ioutil.ReadAll+0x24 io/ioutil/ioutil.go:28 # 0x10df3fc github.com/ssor/bom.NewReaderWithoutBom+0x1c github.com/ssor/bom@v0.0.0-20170718123548-6386211fdfcf/bom.go:29 # 0x10df74b github.com/jaytaylor/html2text.FromReader+0x2b github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:90 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 1760] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x11b0fb0 0x11b0f3e 0x11b0f1d 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x11b0faf net/textproto.MIMEHeader.Set+0xaf net/textproto/header.go:22 # 0x11b0f3d net/http.Header.Set+0x3d net/http/header.go:40 # 0x11b0f1c github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0x1c github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:18 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 352] @ 0x12578b9 0x125c637 0x1829914 0x1873045 0x16f42f5 0x200e902 0x20bddba 0x1f4a0da 0x1f49d4a 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1873044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1446 # 0x16f42f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14726 # 0x200e901 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0x81 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11584 # 0x20bddb9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xd9 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x1f4a0d9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [33: 528] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [6: 672] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 2016] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18438c5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18438c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1116 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 34944] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 2592] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a9465 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [36: 576] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 10560] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25de865 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de864 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:204 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 13824] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x17e27dd 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x17e27dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:152 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [70: 4480] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [13: 1456] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b03ac 0x16b02db 0x16b03d0 0x175b22e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b03ab github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b02da github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x16b03cf github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x175b22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2592] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [76: 15808] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1851d45 0x1851cfa 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851d44 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [43: 6192] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [19: 3952] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xaddbda 0xae06e9 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xaddbd9 encoding/gob.(*Decoder).decodeMap+0x419 encoding/gob/decode.go:608 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [6: 1920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 3744] @ 0xc472ce 0xc472c2 0x11b1124 0x1816da5 0x1816d8e 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc472cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc472c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:160 # 0x11b1123 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x63 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x1816da4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x1816d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:112 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x183ec49 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [70: 22400] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [16: 256] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [45: 11520] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 11264] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [26: 832] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [3: 6144] @ 0x53a2bd 0x539fcf 0xc1514a 0x24076c5 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53a2bc strings.FieldsFunc+0x13c strings/strings.go:454 # 0x539fce strings.Fields+0x8e strings/strings.go:399 # 0xc15149 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x29 github.com/mattermost/mattermost/server/public/model/utils.go:713 # 0x24076c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x644 github.com/mattermost/mattermost/server/v8/channels/app/post.go:744 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 384] @ 0x113e0b9 0x1196172 0x23f90e7 0x11ad826 0x702f82 0x702831 0x704e49 0x11ac833 0x11ac81f 0x22a41dd 0x25222e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e0b8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x198 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:433 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23f90e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x9a6 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x11ad825 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/transport.go:56 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x11ac832 net/http.(*Client).Do+0x1f2 net/http/client.go:587 # 0x11ac81e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x1de github.com/mattermost/mattermost-plugin-ai@v1.5.0/public/bridgeclient/discovery.go:26 # 0x22a41dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x13c github.com/mattermost/mattermost/server/v8/channels/app/agents.go:90 # 0x25222e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:22 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 36864] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 2400] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [6: 960] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 163840] @ 0x682037 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x682036 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1173 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 24] @ 0x50ee35 0x53f4ea 0x53e734 0x53df7e 0x53db79 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 576] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [99: 41184] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [21: 12096] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 304] @ 0x203edf1 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203edf0 github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x110 github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:22 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [94: 9024] @ 0x203f994 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203f993 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0xcb3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:199 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1056] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0x16aee3c 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 216] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [51: 1632] @ 0x54b539 0x54b93a 0x54e6e2 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54e6e1 encoding/json.(*Decoder).readValue+0x121 encoding/json/stream.go:103 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [105: 60480] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 8960] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 2688] @ 0x461e06 0x24fca52 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fca51 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xd71 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:434 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [85: 8160] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 192] @ 0x461d32 0x4612a5 0x46159d 0xbc1bbd 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1bbc github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x1fc github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 2688] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 3328] @ 0x709152 0x22ad450 0x22ad45b 0x24f95ef 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x22ad44f net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x22ad45a github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 256] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [118: 1888] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [9: 2592] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [53: 15264] @ 0x24f84b0 0x24f85ec 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f84af github.com/mattermost/mattermost/server/public/shared/request.NewContext+0x40f github.com/mattermost/mattermost/server/public/shared/request/context.go:30 # 0x24f85eb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x54b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:183 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [265: 21200] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [153: 3672] @ 0x50ee35 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [18: 10368] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 3456] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 840] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [108: 27648] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [13: 1248] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [9: 1584] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [125: 14000] @ 0xae2488 0xae300a 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [16: 4096] @ 0x1f7efb8 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7efb7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x737 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1088] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x409dd2 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 768] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [31: 4464] @ 0x53dab7 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [59: 30208] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [107: 5136] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [5: 640] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1816bcd 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x16a48cb 0x16a4a25 0x16a3f05 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a48ca github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x16a4a24 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2176] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [32: 32768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 264] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1816bbe 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1816bbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x21d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 2560] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [416: 86528] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x184386a 0x1816de7 0x16e83ae 0x2000f9a 0x203a3f3 0x2464e13 0x23df4f3 0x112e7be 0x1158a8d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x203a3f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:147 # 0x2464e12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:248 # 0x23df4f2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:323 # 0x112e7bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x1158a8c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2057 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [111: 42624] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [77: 6160] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [11: 4576] @ 0xc105a9 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7e789 0x2392543 0x483fe1 # 0xc105a8 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x228 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:849 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7e788 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:147 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [25: 8000] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [480: 7680] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [141: 2256] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [204: 22848] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 4160] @ 0x186d5d4 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x186d5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:929 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [1: 16] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x17a26dd 0x16d7c84 0x1fee48a 0x2429368 0x24273f3 0x2424d6d 0x242393b 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17a26dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:81 # 0x16d7c83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6776 # 0x1fee489 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5430 # 0x2429367 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:825 # 0x24273f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:644 # 0x2424d6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x84c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:411 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0xb0fc90 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fc8f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x28f github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 864] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [98: 50176] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [390: 112320] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [53: 3392] @ 0x9317a5 0x934ec5 0x9349f2 0x51ab97 0xb083c9 0x113e52d 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x51ab96 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [13: 2496] @ 0x543d27 0xc16bcd 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16bcc github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:229 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [281: 395648] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [75: 31200] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [27: 648] @ 0xadfd86 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadfd85 encoding/gob.(*Decoder).decOpFor+0x4e5 encoding/gob/decode.go:895 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [23: 753664] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x259fd39 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x259fd38 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x1338 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 152] @ 0x182e72d 0x1829ac9 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x182e72c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:490 # 0x1829ac8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x228 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 2592] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [332: 79680] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [433: 6928] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [50: 12000] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 4480] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22aeb3d 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22aeb3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xdc github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:199 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2720] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 2816] @ 0x543d27 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 5760] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1440] @ 0x84157b 0x840f27 0x23e4e88 0x1136342 0x1144452 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840f26 github.com/mattermost/logr/v2.Sugar.Infow+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x23e4e87 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x1136341 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1080 # 0x1144451 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:984 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16b1585 0x16b15db 0x184ea71 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ea70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:198 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [105: 30240] @ 0x204ac07 0x204abfb 0x204ab93 0x204ad8c 0x204bc12 0x2053e7d 0x2053c30 0x2053d8d 0x20525db 0x2051cd7 0x483fe1 # 0x204ac06 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xa6 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0x204abfa github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x9a github.com/mattermost/mattermost/server/public/shared/request/context.go:114 # 0x204ab92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x32 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:805 # 0x204ad8b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x2053c2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1-range6+0x2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:724 # 0x2053d8c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6c maps/iter.go:28 # 0x20525da github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [18: 6336] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 3872] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 768] @ 0x543d27 0xc1a1eb 0x5453fa 0x548de4 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a1ea github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817d97 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:190 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 960] @ 0x208de2f 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208de2e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x2e github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [156: 44928] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 176] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 18560] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 17024] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1872] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2421d89 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x208 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:69 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 320] @ 0xae2fb1 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fb0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1190 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 80] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 192] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 464] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x610143 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x610142 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:343 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [66: 2112] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 256] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x2687cdd 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2687cdc github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x71c github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:106 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 1408] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2720] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x17c788e 0x16ddb92 0x1ff4e4f 0x22b0646 0x22b0805 0x2405777 0x2029802 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x17c788d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x16ddb91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8348 # 0x1ff4e4e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6661 # 0x22b0645 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x22b0804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x2405776 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:572 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [42: 2752512] @ 0x6e0676 0x6e0662 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e0675 compress/flate.(*compressor).initDeflate+0x4f5 compress/flate/deflate.go:370 # 0x6e0661 compress/flate.(*compressor).init+0x4e1 compress/flate/deflate.go:593 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 4071424] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 8944] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0xb71ecb 0xb7632a 0xb76717 0xb77e47 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x239235d 0x483fe1 # 0xb71eca github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xb76329 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xb76716 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x239235c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func4+0x7c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:90 0: 0 [17: 557056] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x1644bbd 0x1644b96 0x1644a6b 0x2324ba9 0x2324b06 0x2324b07 0x232e0c9 0x232dd07 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x1644bbc io.Copy+0xfc io/io.go:388 # 0x1644b95 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x1644a6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x2324ba8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:244 # 0x2324b05 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:252 # 0x2324b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:240 # 0x232e0c8 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1+0x208 github.com/mattermost/mattermost/server/v8/channels/app/file.go:968 # 0x232dd06 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x86 github.com/mattermost/mattermost/server/v8/channels/app/file.go:987 0: 0 [3: 835584] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 3645440] @ 0x11c7f9e 0x11e4f32 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x11e4f31 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 360448] @ 0x6e7c2c 0x6e7bae 0x90f285 0x90e996 0x11e4517 0x11e4501 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6e7c2b compress/flate.(*dictDecoder).init+0x18b compress/flate/dict_decoder.go:43 # 0x6e7bad compress/flate.NewReader+0x10d compress/flate/inflate.go:815 # 0x90f284 compress/zlib.(*reader).Reset+0x4e4 compress/zlib/reader.go:174 # 0x90e995 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x11e4516 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x11e4500 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbd57f1 0x25dd31a 0x25dd2d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd57f0 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x90 github.com/mattermost/mattermost/server/public/model/post.go:134 # 0x25dd319 github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2d9 github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x25dd2d1 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:88 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x1817d97 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:190 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [23: 1472] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 256] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17284f2 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17284f1 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 475136] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [48: 3538944] @ 0x6e06d8 0x6e0662 0x6e0d85 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e06d7 compress/flate.(*compressor).initDeflate+0x557 compress/flate/deflate.go:372 # 0x6e0661 compress/flate.(*compressor).init+0x4e1 compress/flate/deflate.go:593 # 0x6e0d84 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:664 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [270: 179159040] @ 0x6e0d65 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x232e41d 0x483fe1 # 0x6e0d64 compress/flate.NewWriter+0x84 compress/flate/deflate.go:663 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x232e41c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:957 0: 0 [1: 5120000] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3259 0x232de0b 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3258 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x232de0a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:982 0: 0 [1: 5120000] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3327 0x232da33 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3326 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x232da32 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:993 0: 0 [1: 5120000] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a1b65 0x232d475 0x232bf5f 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a1b64 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:84 # 0x232d474 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:937 # 0x232bf5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x10de github.com/mattermost/mattermost/server/v8/channels/app/file.go:842 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [191: 200278016] @ 0x4e20f4 0x4e1b1d 0x232a988 0x232a970 0x232b58c 0x259bd45 0x259cf72 0x25996d4 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x232a987 bytes.(*Buffer).Grow+0xe7 bytes/buffer.go:168 # 0x232a96f github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).init+0xcf github.com/mattermost/mattermost/server/v8/channels/app/file.go:744 # 0x232b58b github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x70b github.com/mattermost/mattermost/server/v8/channels/app/file.go:801 # 0x259bd44 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xde4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:370 # 0x259cf71 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2011 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:277 # 0x25996d3 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16b0a7c 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2016] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 7680] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1760] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x241340b 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x241340a github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x34a github.com/mattermost/mattermost/server/v8/channels/app/post.go:1910 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [106: 1696] @ 0x50afcb 0x4f9c71 0x547625 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 15488] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1440] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x182a286 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 208] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16b4d8e 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x16b07a8 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 10080] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175aedf 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175aede github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x11e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114faeb 0x114fa9f 0x1197af4 0x23a43d2 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x23a078e 0x23a51d2 0x23a5cff 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114faea net/rpc.(*Client).Call+0x10a net/rpc/client.go:321 # 0x114fa9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:934 # 0x1197af3 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:245 # 0x23a43d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x23a078d github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xed github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x461d32 0x4612a5 0x46159d 0x61e7d7 0x61e753 0x61fd91 0x5f221a 0x5f1c73 0x60070c 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x61e7d6 net.JoinHostPort+0x1f6 net/ipsock.go:240 # 0x61e752 net.(*UDPAddr).String+0x172 net/udpsock.go:55 # 0x61fd90 net.DialUDP+0x150 net/udpsock.go:299 # 0x5f2219 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5f1c72 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60070b net.(*Resolver).goLookupIPCNAMEOrder+0x7cb net/dnsclient_unix.go:799 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 208] @ 0x16b4d5f 0x16b4cfd 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b4d5e bytes.(*Buffer).String+0xa3e bytes/buffer.go:71 # 0x16b4cfc github.com/mattermost/squirrel.(*updateData).ToSql+0x9dc github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 864] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 368] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7d65 0xaf6eff 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7d64 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xaf6efe net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [59: 2832] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 480] @ 0x4ba82a 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba829 path.Join+0x69 path/path.go:163 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x461d32 0x4612a5 0x46140a 0x17c6c25 0x17c6bad 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6c24 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x464 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17c6bac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x3ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16aac85 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1857925 0x185781c 0x1857803 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1857924 github.com/lann/builder.Append+0x364 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x185781b github.com/mattermost/squirrel.UpdateBuilder.Set+0x25b github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1857802 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x242 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:758 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 4320] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [6: 1728] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [82: 23616] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 4160] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x2738070 0x2737f09 0x695a12 0x6958a8 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x273806f crypto/internal/fips140/tls13.ExpandLabel[...]+0xaf crypto/internal/fips140/tls13/tls13.go:32 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x695a11 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x3f1 crypto/internal/fips140/tls13/tls13.go:106 # 0x6958a7 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x287 crypto/tls/handshake_client_tls13.go:516 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16aa66c 0x16aaa9a 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa66b github.com/mattermost/squirrel.Lt.toSql+0x3ab github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x185a92c 0x16f1492 0x200b4ab 0x24ab04a 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x185a92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x44b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1067 # 0x16f1491 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13958 # 0x200b4aa github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10978 # 0x24ab049 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2940 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x18562b1 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18562b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:703 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 624] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [145: 2320] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 120] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 160] @ 0x461e06 0x11250e5 0x111cb36 0x111c217 0x111908c 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x111c216 github.com/lib/pq.(*stmt).Exec+0xd6 github.com/lib/pq@v1.10.9/conn.go:1420 # 0x111908b github.com/lib/pq.(*conn).Exec+0x1ab github.com/lib/pq@v1.10.9/conn.go:953 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [102: 182784] @ 0x543d27 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 1216] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [82: 13120] @ 0x5474d6 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x2048a6a 0x2047f27 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2048a69 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:580 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [43: 688] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [10: 800] @ 0x461d32 0x4612a5 0x46140a 0x17284c6 0x17284a7 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17284c5 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x245 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x17284a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x226 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1120 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 528] @ 0xb78dca 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 2688] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [14: 3584] @ 0x17c68be 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c68bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x18526b9 0x11adcb0 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18526b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [33: 9504] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175b09a 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b099 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:413 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 384] @ 0x503ca6 0x51542d 0x16a9868 0x16a93a6 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a9867 reflect.Value.Interface+0xcc7 reflect/value.go:1484 # 0x16a93a5 github.com/mattermost/squirrel.Eq.toSQL+0x805 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 4032] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 17024] @ 0x12578b9 0x125c637 0x182b7ac 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x7ef02d 0x7eefc6 0x1260863 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x1260862 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [89: 2136] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [13: 13312] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a3b5 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a3b4 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 4480] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 672] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [136: 1088] @ 0x5138d5 0xaf8b75 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0x5138d4 reflect.(*rtype).Method+0x474 reflect/type.go:638 # 0xaf8b74 net/rpc.suitableMethods+0x94 net/rpc/server.go:286 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [18: 2016] @ 0x1121ce9 0x1121718 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1837e39 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x1121717 github.com/lib/pq.(*conn).ExecContext+0x117 github.com/lib/pq@v1.10.9/conn_go18.go:42 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1837e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x558 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:51 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 272] @ 0x6cf347 0x6cf172 0x6ccfa8 0x24fd0d7 0x24fd0c3 0x24f9aa5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x6ccfa7 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x24fd0d6 net/http.Header.Get+0x96 net/http/header.go:50 # 0x24fd0c2 github.com/mattermost/mattermost/server/v8/channels/web.(*Handler).checkCSRFToken+0x82 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:495 # 0x24f9aa4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a04 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:282 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 10368] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1851d88 0x11adcb0 0x483fe1 # 0x1851d87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e63c 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:181 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 262144] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 11796480] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 11354112] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 9011200] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 8847360] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 544] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x184e8d3 0x184e81a 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184e8d2 github.com/mattermost/squirrel.SelectBuilder.From+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184e819 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 8624] @ 0x4125d4 0x4aaf08 0x93139c 0x931388 0x9315a5 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x93139b time.After+0x17b time/sleep.go:203 # 0x931387 github.com/hashicorp/yamux.(*Session).Ping+0x167 github.com/hashicorp/yamux@v0.1.2/session.go:349 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [67: 13936] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [43: 209152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [4: 3584] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x22d6e30 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x22d6e2f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xef github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3166 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 976] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 4992] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 4928] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 112] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 480] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 4096] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x1f81b27 0x22e1e48 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f81b26 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:437 # 0x22e1e47 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1741848 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741847 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3007 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 4096] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 3744] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 800] @ 0x461d32 0x4612a5 0x46140a 0x175b34d 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b34c github.com/mattermost/squirrel.SelectBuilder.Join+0x58c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 896] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [124: 2976] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 8192] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 5712] @ 0x5275a6 0x7462b7 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7462b6 net/http.(*Request).AddCookie+0xf6 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x172877a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1728779 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1132 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 18048] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [29: 928] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [79: 11376] @ 0x5275a6 0x7462b7 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7462b6 net/http.(*Request).AddCookie+0xf6 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 592] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 768] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 11648] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182a71b 0x182a20e 0x182a2b4 0x18565a8 0x16f2522 0x200c687 0x24ab23b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182a71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:182 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x18565a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:707 # 0x16f2521 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14189 # 0x200c686 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11154 # 0x24ab23a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2960 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [74: 26048] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [25: 11200] @ 0x17b859a 0x17b8bb3 0x17c6805 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8599 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:73 # 0x17b8bb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:101 # 0x17c6804 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1324 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 208] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1792] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x172847f 0x17283c6 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x172847e github.com/mattermost/squirrel.SelectBuilder.From+0x1fe github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17283c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1119 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2592] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 2912] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [65: 2080] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 672] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 240] @ 0x5434f7 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5434f6 encoding/json.(*decodeState).valueInterface+0x36 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 1440] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 19968] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 144] @ 0x24f81ff 0x24f81be 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f81fe github.com/mattermost/mattermost/server/v8/channels/app.New+0x15e github.com/mattermost/mattermost/server/v8/channels/app/app.go:31 # 0x24f81bd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x11d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:149 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x16b0a6b 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 1232] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [67: 47168] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [53: 61056] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 624] @ 0x54b539 0x54b93a 0x54e6e2 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54e6e1 encoding/json.(*Decoder).readValue+0x121 encoding/json/stream.go:103 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [19: 6080] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 524288] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 37888] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x16a99fe 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a99fd github.com/mattermost/squirrel.Eq.toSQL+0xe5d github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [35: 12320] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1680] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aac85 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aac84 github.com/mattermost/squirrel.conj.join+0x184 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 8352] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175b44d 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x68c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:426 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x12575bb 0x125c637 0x182a1ef 0x182a2b4 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [19: 2128] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x175ba9e 0x175ba20 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175ba9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xcdd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175ba1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 352] @ 0xadbf98 0xadd743 0xaddb45 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb44 encoding/gob.(*Decoder).decodeMap+0x384 encoding/gob/decode.go:606 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [35: 860160] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2176] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 1792] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [115: 5520] @ 0x461d32 0x4612a5 0x4614c5 0xae1dcd 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae1dcc encoding/gob.(*Decoder).compileSingle+0x24c encoding/gob/decode.go:1111 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [19: 1216] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x16b1585 0x16b15db 0x1852251 0x11adcb0 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1852250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [106: 5088] @ 0x936496 0x936471 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x936495 bytes.NewBuffer+0x155 bytes/buffer.go:472 # 0x936470 github.com/hashicorp/yamux.(*Stream).readData+0x130 github.com/hashicorp/yamux@v0.1.2/stream.go:504 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [9: 1152] @ 0xc13a09 0x258440d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc13a08 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x258440c github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xac github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16b5c90 0x18576a5 0x1857671 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b5c8f github.com/mattermost/squirrel.UpdateBuilder.Table+0x14f github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x18576a4 github.com/mattermost/squirrel.StatementBuilderType.Update+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1857670 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:756 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [101: 1616] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [54: 1728] @ 0x56555e 0x565c8d 0x565c4f 0x1829945 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [74: 5920] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [15: 240] @ 0xadffa5 0xadff55 0xadff54 0xae0230 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadffa4 errors.New+0x704 errors/errors.go:65 # 0xadff54 encoding/gob.overflow+0x6b4 encoding/gob/decode.go:109 # 0xadff53 encoding/gob.(*Decoder).decOpFor+0x6b3 encoding/gob/decode.go:882 # 0xae022f encoding/gob.(*Decoder).decOpFor+0x98f encoding/gob/decode.go:863 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [82: 2624] @ 0xafae4a 0xafb5d7 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xafae49 net/rpc.(*Server).getRequest+0xa9 net/rpc/server.go:510 # 0xafb5d6 net/rpc.(*Server).readRequestHeader+0x36 net/rpc/server.go:586 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 384] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [32: 6656] @ 0x4d8da8 0x4d89ec 0x4d6705 0x1644b2f 0x1643e73 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x4d6704 os.MkdirAll+0x24 os/path.go:21 # 0x1644b2e github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x1643e72 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x1841d3c 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x53ff05 0x53e6fe 0x53df7e 0x54e3fa 0x2618eff 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2618efe github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xde github.com/mattermost/mattermost/server/v8/channels/api4/system.go:673 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17c8fa6 0x17c8f39 0x16dd0a7 0x1ff4339 0x24132f8 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17c8fa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17c8f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x398 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1515 # 0x16dd0a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8222 # 0x1ff4338 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6565 # 0x24132f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x237 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1889 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 896] @ 0x16b07a8 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 10752] @ 0x26e545a 0x6c7959 0x67b376 0x69804c 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x69804b crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x12b crypto/tls/handshake_client_tls13.go:837 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [79: 5056] @ 0x540f4d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1852505 0x18524df 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1852504 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18524de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:430 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x461d32 0x4612a5 0x46140a 0x173707b 0x173705c 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173707a github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2da github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x173705b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2233 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [82: 23616] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 16128] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 912] @ 0x50ee35 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2: 64] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 17920] @ 0x6751fe 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6751fd crypto/tls.(*certCache).newCert+0x3d crypto/tls/cache.go:81 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [36: 14976] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a951e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 4640] @ 0x5474d6 0x5470aa 0x548a63 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 4608] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [17: 2720] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 304] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 1998848] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [41: 1312] @ 0xc020b8 0xc020b9 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc020b7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc020b8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16b07a8 0x175b205 0x175b1de 0x175b1c3 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x175b204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x444 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b1dd github.com/mattermost/squirrel.Select+0x41d github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x175b1c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x402 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 552] @ 0x25190c5 0x25190a2 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25190c4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).SendMessage+0x1344 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:471 # 0x25190a1 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x1321 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:75 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [49: 15680] @ 0xc40bff 0xc40c72 0xc3e47a 0x7770ee 0x755ba5 0x483fe1 # 0xc40bfe net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0xc40c71 github.com/gorilla/mux.requestWithVars+0xf1 github.com/gorilla/mux@v1.8.1/mux.go:450 # 0xc3e479 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x185892f 0x1858876 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x24aafeb 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185892e github.com/mattermost/squirrel.SelectBuilder.From+0x26e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1858875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x1b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:813 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x24aafea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:2934 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 80] @ 0x408105 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 4928] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x17ba6b6 0x17ba56f 0x17ba5d0 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x17ba6b5 github.com/lann/builder.Append+0x1755 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x17ba56e github.com/mattermost/squirrel.InsertBuilder.Values+0x160e github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x17ba5cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x166f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:215 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 720] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x179cb48 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x179cb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x24ab0fc 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x24ab0fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/user.go:2945 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x16b44be 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b44bd github.com/mattermost/squirrel.(*updateData).ToSql+0x19d github.com/mattermost/squirrel@v0.5.0/update.go:82 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 264] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 11264] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 2464] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x1851cdf 0x1851c97 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1851cde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x21e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1851c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [93: 83328] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 128] @ 0x5411a5 0x54319b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5411a4 encoding/json.(*decodeState).convertNumber+0x104 encoding/json/decode.go:841 # 0x54319a encoding/json.(*decodeState).literalStore+0x1f7a encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [37: 888] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 672] @ 0x8fdd06 0x8fabbd 0x8faec5 0x10df75e 0x10df752 0x10df8be 0x10e615f 0x10e5bfa 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x8fdd05 golang.org/x/net/html.(*Tokenizer).Token+0x205 golang.org/x/net@v0.46.0/html/token.go:1243 # 0x8fabbc golang.org/x/net/html.(*parser).parse+0xdc golang.org/x/net@v0.46.0/html/parse.go:2347 # 0x8faec4 golang.org/x/net/html.ParseWithOptions+0x104 golang.org/x/net@v0.46.0/html/parse.go:2414 # 0x10df75d golang.org/x/net/html.Parse+0x3d golang.org/x/net@v0.46.0/html/parse.go:2373 # 0x10df751 github.com/jaytaylor/html2text.FromReader+0x31 github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:94 # 0x10df8bd github.com/jaytaylor/html2text.FromString+0xdd github.com/jaytaylor/html2text@v0.0.0-20230321000545-74c2419ad056/html2text.go:104 # 0x10e615e github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x2fe github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x10e5bf9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x1f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:287 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 192] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x173b2ce 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x173b2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x118d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2563 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0xc171eb 0xc170a2 0x2045d45 0x2045d39 0x2045d22 0x24acd31 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0xc171ea github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x1aa github.com/mattermost/mattermost/server/public/model/websocket_message.go:200 # 0xc170a1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:298 # 0x2045d44 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:239 # 0x2045d38 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).copyIfNecessary+0x38 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:80 # 0x2045d21 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:55 # 0x24acd30 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x110 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:43 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x239d3b4 0x2390630 0x2029802 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x239d3b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [7: 4032] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [63: 2016] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [25: 600] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 5888] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x186d97c 0x16f4c28 0x200f3b2 0x1f7e7c4 0x2392543 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x186d97b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:937 # 0x16f4c27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14894 # 0x200f3b1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11712 # 0x1f7e7c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:152 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 0: 0 [32: 1024] @ 0xc020b8 0xc020b9 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc020b7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc020b8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [53: 848] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 549376] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 4032] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17358d4 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17358d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2073 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0x16a968e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [34: 544] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [371: 12156928] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [17: 2448] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 15232] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 896] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x18173c3 0x16e879b 0x20013e6 0x203a7c2 0x2464ce6 0x266161e 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x203a7c1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:168 # 0x2464ce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:240 # 0x266161d github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1fd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2383 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 14080] @ 0x2422492 0x2422486 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x173b332 0x173b321 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x173b331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x11f1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x173b320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x11e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2572 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 1120] @ 0x113ec26 0x483fe1 # 0x113ec25 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x345 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [1: 64] @ 0xaea939 0xaea8ef 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaea938 encoding/gob.(*Encoder).newEncoderState+0xb8 encoding/gob/encode.go:82 # 0xaea8ee encoding/gob.(*Encoder).encodeMap+0x6e encoding/gob/encode.go:368 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [9: 1440] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [42: 6048] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [10: 2240] @ 0x5aeaba 0x5aead0 0x271626f 0x27161f3 0x271591f 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x27161f2 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:57 # 0x271591e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:169 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [20: 6400] @ 0x25434ee 0x254345e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25434ed encoding/json.NewDecoder+0x18d encoding/json/stream.go:32 # 0x254345d github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 8640] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 352] @ 0x2485598 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485597 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x157 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1690 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7a7f4 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7a7f3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x93 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:42 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 384] @ 0x461d32 0x4612a5 0x46140a 0x4c2ee5 0x4c2ee6 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2ee4 internal/filepathlite.(*lazybuf).string+0x844 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 2080] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1844385 0x1844326 0x1844334 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1844384 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1844325 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1844333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1165 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 25344] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22ae334 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22ae333 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x433 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:110 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 14080] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25de779 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de778 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:188 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1728] @ 0x112145c 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 576] @ 0x16b0825 0x16b07b9 0x1779a45 0x1779a20 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1779a44 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1779a1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:218 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 960] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x17c1e25 0x16dda28 0x1ff4cd2 0x240c8b8 0x2427756 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x17c1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:906 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2427755 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:676 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1872] @ 0x53dab7 0xc124e9 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124e8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 344064] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [91: 5963776] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 368] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f63b 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f63a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:236 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 288] @ 0x2716257 0x65d785 0x110debe 0x110d512 0x110cda5 0x111b510 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110debd github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.10.9/scram/scram.go:241 # 0x110d511 github.com/lib/pq/scram.(*Client).step2+0x471 github.com/lib/pq@v1.10.9/scram/scram.go:194 # 0x110cda4 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.10.9/scram/scram.go:124 # 0x111b50f github.com/lib/pq.(*conn).auth+0x10af github.com/lib/pq@v1.10.9/conn.go:1314 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x16a8ac2 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x17c1d7d 0x16dda28 0x1ff4cd2 0x240c8b8 0x2435530 0x25efa15 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x16a8ac1 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c1d7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:900 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x243552f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:18 # 0x25efa14 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [121: 34848] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xb72bb5 0xb72a4a 0xb72a77 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb72bb4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xd4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:171 # 0xb72a49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xb72a76 github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 72] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [23: 13248] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 120] @ 0x408105 0x479ce9 0x6cff11 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [5: 160] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1837de5 0x1837d3c 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1837de4 github.com/lann/builder.Append+0x504 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837d3b github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x45b github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [94: 1504] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [44: 1056] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [31: 8928] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175c6b2 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c6b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:502 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1632] @ 0x5275a6 0x24f8c70 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x24f8c6f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xbcf github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 2688] @ 0x4125d4 0x4aaf08 0x1f512b8 0x1f512a9 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x1f512b7 time.After+0x177 time/sleep.go:203 # 0x1f512a8 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x168 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:55 0: 0 [25: 1200] @ 0x5474d6 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 608] @ 0x7ef02d 0x7eefc6 0x125f1f4 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125f1f3 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [96: 2304] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 704] @ 0x175b8e9 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [145: 4640] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [6: 672] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [33: 9504] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xc4359f 0xc43214 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc4359e github.com/gorilla/mux.extractVars+0x4fe github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0xc43213 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x173 github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 352] @ 0x543d27 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x175b139 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b138 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x378 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:411 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 4576] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [9: 144] @ 0xc1aba8 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1aba7 github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x27 github.com/mattermost/mattermost/server/public/model/channel.go:465 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [60: 53760] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 576] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 640] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x653545 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x653544 crypto/x509.checkSignature+0x1a4 crypto/x509/x509.go:992 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [61: 2928] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 576] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 3520] @ 0x543d27 0xc16bcd 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16bcc github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:229 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [18: 288] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 880] @ 0x16a9465 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a9464 github.com/mattermost/squirrel.Eq.toSQL+0x8c4 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 368] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 336] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 832] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [34: 3808] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 208] @ 0x461d32 0x4612a5 0x46140a 0x17c6876 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c6875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 3584] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7998a 0xb7a6d5 0xb7a53c 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb79989 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xb7a6d4 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xb7a53b github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 8064] @ 0x48edbc 0x48ec06 0x48e97c 0xaeb5d3 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xaeb5d2 encoding/gob.(*Encoder).encodeInterface+0x732 encoding/gob/encode.go:417 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [75: 3600] @ 0xafb03f 0xaf97df 0xaf9dca 0x483fe1 # 0xafb03e net/rpc.(*Server).getResponse+0xbe net/rpc/server.go:530 # 0xaf97de net/rpc.(*Server).sendResponse+0x5e net/rpc/server.go:348 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [7: 336] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [54: 864] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 17920] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 1440] @ 0x479c9a 0x479caf 0x2516837 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2516836 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0x16 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:17 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 40960] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 768] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [7: 168] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [37: 592] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 8640] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 1120] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [50: 2400] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 960] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x182a2b4 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1760] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2880] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [51: 2448] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 5504] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 15360] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1817d7c 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1817d7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:187 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [17: 816] @ 0x16b0a05 0x16b09d3 0x18537d4 0x16f121b 0x200b20f 0x24a9b2d 0x24ab2e5 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x18537d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:567 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x24ab2e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2964 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 34496] @ 0x24fb805 0x24faf64 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24fb804 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x744 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:173 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 10240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 800] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [97: 27936] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xc4359f 0xc43214 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc4359e github.com/gorilla/mux.extractVars+0x4fe github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0xc43213 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x173 github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186eaaa 0x16f621e 0x2010d69 0x249584a 0x249582b 0x2652c6b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186eaa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1044 # 0x16f621d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15248 # 0x2010d68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12016 # 0x2495849 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x249582a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:773 # 0x2652c6a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x22a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 100224] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [12: 38400] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [22: 67584] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [57: 175104] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [111: 298368] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [20: 46080] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [68: 156672] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [44: 704] @ 0x18392ec 0x1839636 0x1842098 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x18392eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x64b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:157 # 0x1839635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:185 # 0x1842097 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:986 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [52: 106496] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [30: 480] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [8: 11264] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [53: 94976] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [8: 128] @ 0x23e488e 0x1135cf2 0x1173a8e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x23e488d github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x8d github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x1135cf1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1040 # 0x1173a8d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5422 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 49280] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [47: 3760] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [28: 32256] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [9: 9216] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [29: 40832] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [25: 32000] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [8: 128] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [5: 1440] @ 0x6b0215 0x6b01e5 0x6b00f7 0x5be6e2 0x5bea71 0x6b0096 0x6aff8c 0x5be6e2 0x5bea71 0x6afe34 0x6afd9c 0x6b06d8 0x69706d 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6b0214 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6b01e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6b00f6 crypto/tls.(*certificateVerifyMsg).marshal.func1.1+0x16 crypto/tls/handshake_messages.go:1846 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b0095 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b5 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6aff8b crypto/tls.(*certificateVerifyMsg).marshal.func1+0xab crypto/tls/handshake_messages.go:1845 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6afe33 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x133 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6afd9b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1841 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x69706c crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6ec crypto/tls/handshake_client_tls13.go:696 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [11: 6336] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67d28f 0x6818f1 0x6818f2 0x681979 0x68d1db 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67d28e crypto/tls.(*Conn).readRecordOrCCS+0x3ce crypto/tls/conn.go:629 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x68d1da crypto/tls.(*Conn).clientHandshake+0x4fa crypto/tls/handshake_client.go:340 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 1920] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 28672] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182c190 0x1858b54 0x18598ba 0x18591b0 0x16f1ef2 0x200bf32 0x2391407 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182c18f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:300 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x18598b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:900 # 0x18591af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:859 # 0x16f1ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14084 # 0x200bf31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11074 # 0x2391406 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2e6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:305 0: 0 [152: 3648] @ 0xadfd86 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadfd85 encoding/gob.(*Decoder).decOpFor+0x4e5 encoding/gob/decode.go:895 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [13: 416] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 576] @ 0x632905 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x632904 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xb165f4 0xb0cb05 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2407ee8 0x23e3014 0x1133d8f 0x116c986 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb165f3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:69 # 0xb0cb04 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x5e4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2407ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xe67 github.com/mattermost/mattermost/server/v8/channels/app/post.go:810 # 0x23e3013 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:861 # 0x1133d8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x116c985 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4545 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 77952] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [50: 115200] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [85: 174080] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [71: 127232] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [26: 1664] @ 0xadd9e8 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd9e7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [40: 61440] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [37: 47360] @ 0x543d27 0xc16ba9 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16ba8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:228 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [47: 13536] @ 0x24f8236 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8235 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x195 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:152 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c1b7f 0x17c1ac6 0x16dda28 0x1ff4cd2 0x240c8b8 0x2414d8d 0x25e450d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c1b7e github.com/mattermost/squirrel.SelectBuilder.From+0x43e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x385 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:892 # 0x16dda27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8327 # 0x1ff4cd1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6645 # 0x240c8b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1068 # 0x2414d8c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2124 # 0x25e450c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x98c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266f6a8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266f6a7 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5c7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3499 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [463: 133344] @ 0x204ac07 0x204abfb 0x204ab93 0x204ad8c 0x204bc12 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x204ac06 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xa6 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0x204abfa github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x9a github.com/mattermost/mattermost/server/public/shared/request/context.go:114 # 0x204ab92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x32 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:805 # 0x204ad8b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 16] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x238b1a9 0x2404f56 0x2402105 0x23fef1b 0x23e271d 0x1132f8f 0x1169226 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x238b1a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xcea8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:783 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fef1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:110 # 0x23e271c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:776 # 0x1132f8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x1169225 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4104 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 560] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 6912] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2048] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 11264] @ 0x12575bb 0x125c637 0x1829914 0x1736c1c 0x16c5851 0x1fd9d9d 0x22aeb03 0x266d908 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1736c1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x15b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2212 # 0x16c5850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2048 # 0x1fd9d9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1713 # 0x22aeb02 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:198 # 0x266d907 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3382 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1920] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1852505 0x18524df 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1852504 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18524de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:430 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 2704] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 80] @ 0xae2fb1 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fb0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1190 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 16] @ 0x11137bb 0x111d4a5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111d4a4 github.com/lib/pq.(*rows).Next+0x164 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 960] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2040a14 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2040a13 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x573 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1728] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 560] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 480] @ 0x5437e7 0x5437d0 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 49984] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 14592] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x56458a 0x7e972a 0x7eaa2b 0x182c929 0x182c28e 0x17dd792 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e9729 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x7eaa2a database/sql.(*Tx).ExecContext+0x4a database/sql/sql.go:2512 # 0x182c928 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:347 # 0x182c28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:311 # 0x17dd791 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3236 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 1152] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x2041104 0x2046e85 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2046e84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:205 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [1: 128] @ 0x543d27 0x1b79265 0x1b79126 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x1b79264 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x64 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:86 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [20: 320] @ 0x5437e7 0x5437d0 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2398e8a 0x2394098 0x2380118 0x2404f56 0x2402105 0x24b1d85 0x24b624f 0x2511005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2398e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1436 # 0x2394097 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x997 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1048 # 0x2380117 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e17 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:175 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x24b1d84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:374 # 0x24b624e github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xdae github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:864 # 0x2511004 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x904 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 38528] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 8064] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 176128] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x67e25d 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x67e25c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:780 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 128] @ 0x1830730 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183072f github.com/mattermost/squirrel.UpdateBuilder.Set+0x66f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 8960] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x17c4f2c 0x17c4ec6 0x17ca211 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17ca210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x11b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1630 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 192] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17c4f2c 0x17c4ec6 0x17bf05e 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c4f2b github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x5cb github.com/mattermost/mattermost/server/public/model/post_list.go:128 # 0x17c4ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1230 # 0x17bf05d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x15bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:699 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 960] @ 0xb0e133 0xb0cab2 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0e132 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb0cab1 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x591 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x20457db 0x20457cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x20457da github.com/mattermost/mattermost/server/v8/channels/app/platform.MakeHookedWebSocketEvent+0x7a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:49 # 0x20457ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x6e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:22 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [8: 4608] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x2045daf 0x2045d86 0x24ad0f5 0x20458cf 0x2053ed8 0x20539bf 0x2051cd7 0x483fe1 # 0x2045dae github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xae github.com/mattermost/mattermost/server/public/model/websocket_message.go:265 # 0x2045d85 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:57 # 0x24ad0f4 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x154 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:106 # 0x20458ce github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x16e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2053ed7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0x117 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:696 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [1: 1280] @ 0x2430557 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2430556 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x536 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:75 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1792e99 0x1791c14 0x16d39e2 0x1fe9d16 0x23993bf 0x241342c 0x24ab14b 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1792e98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1791c13 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1635 # 0x16d39e1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5726 # 0x1fe9d15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4630 # 0x23993be github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x2de github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1504 # 0x241342b github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x36b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x24ab14a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2949 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16b4ae8 0x16b57dd 0x182a286 0x1857ded 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x1857dec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:766 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 10320] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [131: 2096] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [32: 1536] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x11986ee 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x11986ed github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 3408] @ 0x479c9a 0x479caf 0xae2f1c 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f1b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1185 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [41: 41984] @ 0x270ec4b 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x6824b7 0x6824a1 0x6824c1 0x5732f5 0x6cfb1a 0x6cf9d9 0x10d4915 0x10d4b85 0x10d4ef8 0x10e51b4 0x10e5b25 0x10e5af3 0x10e5965 0x1b9e2e5 0x239e57c 0x2029802 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x6824b6 crypto/tls.(*Conn).HandshakeContext+0xd6 crypto/tls/conn.go:1508 # 0x6824a0 crypto/tls.(*Conn).Handshake+0xc0 crypto/tls/conn.go:1492 # 0x6824c0 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1209 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x6cfb19 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6cf9d8 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:115 # 0x10d4914 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x10d4b84 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x10d4ef7 net/smtp.(*Client).StartTLS+0x197 net/smtp/smtp.go:165 # 0x10e51b3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:194 # 0x10e5b24 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x124 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:206 # 0x10e5af2 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:280 # 0x10e5964 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x204 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:255 # 0x1b9e2e4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:854 # 0x239e57b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [2: 576] @ 0x12595e6 0x12594d8 0x125a972 0x125b7e5 0x1829f8b 0x1829f64 0x17bb014 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12595e5 github.com/jmoiron/sqlx.compileNamedQuery+0x65 github.com/jmoiron/sqlx@v1.4.0/named.go:333 # 0x12594d7 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x125a971 github.com/jmoiron/sqlx.bindNamedMapper+0x171 github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x17bb013 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x20b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:252 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2176] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 512] @ 0x543d27 0xbdb3f8 0xbbc81c 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0xbbc81b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:796 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 3840] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 160] @ 0x2307f5e 0x24305f3 0x25eeb18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2307f5d github.com/mattermost/mattermost/server/v8/channels/app.pluginContext+0x9d github.com/mattermost/mattermost/server/v8/channels/app/context.go:18 # 0x24305f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x5d2 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:78 # 0x25eeb17 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x917 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1440] @ 0x23a59f1 0x483fe1 # 0x23a59f0 github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start+0x190 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:424 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1857c12 0x1856d85 0x16f2af5 0x200ccce 0x24ab1b3 0x266f727 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1857c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x651 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:762 # 0x1856d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:729 # 0x16f2af4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14273 # 0x200cccd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11218 # 0x24ab1b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2953 # 0x266f726 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3504 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [39: 624] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 720] @ 0x16b0825 0x16b07b9 0x17277e5 0x172778d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17277e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172778c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 768] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 552] @ 0xc0dcba 0xc0dcbb 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0dcb9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0dcba github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 432] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 192] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [110: 3520] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 7168] @ 0x16af67d 0x16af696 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x7058a5 0x7046f3 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x7058a4 net/http.(*Client).makeHeadersCopier+0xc4 net/http/client.go:769 # 0x7046f2 net/http.(*Client).do+0x232 net/http/client.go:609 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [39: 1248] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x691ce5 0x691dde 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x691ce4 crypto/x509.NewCertPool+0x604 crypto/x509/cert_pool.go:66 # 0x691ddd crypto/tls.(*Conn).verifyServerCertificate+0x6fd crypto/tls/handshake_client.go:1139 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [3: 576] @ 0x69e80f 0x69e6cf 0x69e6d4 0x5be6e2 0x5bea71 0x69e654 0x69e633 0x5be6e2 0x5bea71 0x69a8fd 0x69a79d 0x69fa35 0x6815b6 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69e80e vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18e vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69e6ce vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x69e6d3 crypto/tls.(*clientHelloMsg).marshalMsg.func9.1+0x53 crypto/tls/handshake_messages.go:213 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69e653 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69e632 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69a8fc vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1a1c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69a79c crypto/tls.(*clientHelloMsg).marshalMsg+0x18bc crypto/tls/handshake_messages.go:210 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6815b5 crypto/tls.(*Conn).writeHandshakeRecord+0xd5 crypto/tls/conn.go:1052 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [21: 1008] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17277e5 0x172778d 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17277e4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172778c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1063 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 3168] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [79: 6320] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x48037c 0x4ab479 0x204875c 0x2047f27 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab478 time.NewTicker+0x78 time/tick.go:44 # 0x204875b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:514 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [5: 122880] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbd938d 0xbd9304 0xbbc87e 0xbdd13a 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbd938c maps.Copy[...]+0x14c maps/maps.go:64 # 0xbd9303 github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xc3 github.com/mattermost/mattermost/server/public/model/post.go:643 # 0xbbc87d github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x7d github.com/mattermost/mattermost/server/public/model/integration_action.go:798 # 0xbdd139 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:84 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 4096] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1779cdd 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1779cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:233 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 3584] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2816] @ 0xbdd11e 0xbdd112 0xbdd2cf 0x25e4925 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd11d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdd111 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:83 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e4924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xda4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:751 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 6272] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x177b4aa 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e45b6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x177b4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:363 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e45b5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa35 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x17cb639 0x17cae25 0x16dc4db 0x1ff36e3 0x240e7bc 0x240eaff 0x240ed85 0x25df685 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17cb638 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x738 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1684 # 0x17cae24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1643 # 0x16dc4da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8054 # 0x1ff36e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6437 # 0x240e7bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1326 # 0x240eafe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1353 # 0x240ed84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1401 # 0x25df684 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xfe4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x17206ea 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x17206e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:466 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [9: 8064] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a3970 0x16a3bc5 0x16b093f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [151: 4832] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 3072] @ 0x54e9ae 0x54e645 0x54e315 0x26888ad 0x25ee40f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x26888ac github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:564 # 0x25ee40e github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16b15eb 0x1772c5f 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1772c5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x53e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:75 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x23a4e7c 0x23a5065 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x23a4e7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11b github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 480] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 640] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [68: 3264] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xafb489 0xafb43f 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xafb488 reflect.MakeMap+0x308 reflect/value.go:2950 # 0xafb43e net/rpc.(*Server).readRequest+0x2be net/rpc/server.go:577 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 24] @ 0xc0e037 0xc0e038 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7f6 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e037 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7f7 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1792] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [121: 5808] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [16: 4325376] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 320] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [9: 5184] @ 0x12575bb 0x125c637 0x182b7ac 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [70: 7840] @ 0x4125d4 0xb09c6c 0xb09c53 0x119ac6b 0x119ab38 0x119242e 0x1193d7e 0x1193c3b 0x483fe1 # 0xb09c6b net/rpc.(*Client).Call+0x2b net/rpc/client.go:321 # 0xb09c52 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:172 # 0x119ac6a github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xaa github.com/mattermost/mattermost/server/public/plugin/supervisor.go:228 # 0x119ab37 github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:204 # 0x119242d github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xad github.com/mattermost/mattermost/server/public/plugin/environment.go:641 # 0x1193d7d github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x1193c3a github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x17a github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17c021a 0x16db47b 0x1ff23d0 0x2407242 0x240bcc9 0x25e7485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17c0219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xcd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x2407241 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:689 # 0x240bcc8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x148 github.com/mattermost/mattermost/server/v8/channels/app/post.go:997 # 0x25e7484 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:953 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb002f5 0xb002f6 0x483fe1 # 0xb002f4 bufio.(*Scanner).Text+0x154 bufio/scan.go:115 # 0xb002f5 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x155 github.com/hashicorp/go-plugin@v1.7.0/client.go:802 0: 0 [4: 1408] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x651ab2 0x651910 0x64fc67 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x651ab1 crypto/x509.policiesValid-range1+0x171 crypto/x509/verify.go:1493 # 0x65190f crypto/x509.policiesValid.(*policyGraph).parents.Values[...].func1+0x6f maps/iter.go:41 # 0x64fc66 crypto/x509.policiesValid+0x8c6 crypto/x509/verify.go:1490 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [32: 49152] @ 0x645f65 0x6472bd 0x675270 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x645f64 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:884 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x67526f crypto/tls.(*certCache).newCert+0xaf crypto/tls/cache.go:85 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 16] @ 0x16a9491 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x173ee12 0x16c7849 0x1fdbf6f 0x2380d2b 0x2404f56 0x2402105 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x173ee11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x9b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2815 # 0x16c7848 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2531 # 0x1fdbf6e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2081 # 0x2380d2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a2a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:332 # 0x2404f55 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x7b5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:566 # 0x2402104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2704 github.com/mattermost/mattermost/server/v8/channels/app/post.go:414 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x24f8785 0x24f8750 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8784 net/http.MaxBytesReader+0x6e4 net/http/request.go:1190 # 0x24f874f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x6af github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:212 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 9216] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x2423c6b 0x2423dcf 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x2423c6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostMetadataForUser+0x14a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:258 # 0x2423dce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0xee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:268 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240e8f3 0x25e033b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240e8f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1338 # 0x25e033a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x6fa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:333 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 23040] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [6: 96] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x7e8085 0x7e80e1 0x186882d 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x7e8084 database/sql.(*DB).QueryRowContext+0x44 database/sql/sql.go:1842 # 0x7e80e0 database/sql.(*DB).QueryRow+0xa0 database/sql/sql.go:1856 # 0x186882c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:534 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7d355 0xb7d26a 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x1f77c22 0x1f7b725 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7d354 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x94 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xb7d269 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7b724 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:93 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4864] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 872448] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [34: 544] @ 0x183ece5 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ece4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x104 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 7168] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [24: 1536] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1792] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 528] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 15232] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [17: 272] @ 0x16b0efc 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0efb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [94: 1504] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 145920] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x535245 0x535350 0x62dd08 0x207b4e5 0x207b4cd 0x207c8f9 0x208de34 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62dd07 net/url.unescape+0x427 net/url/url.go:256 # 0x207b4e4 net/url.PathUnescape+0x984 net/url/url.go:197 # 0x207b4cc github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x96c github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:327 # 0x207c8f8 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x178 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:467 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b15fc 0x184ecbd 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x16b15fb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x184ecbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:207 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 3456] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 54400] @ 0x79955a 0x79b459 0x79b8af 0x79ce70 0x79ce64 0x2426fdf 0x24274a6 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x799559 regexp.onePassCopy+0x39 regexp/onepass.go:226 # 0x79b458 regexp.compileOnePass+0x198 regexp/onepass.go:499 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0x79ce6f regexp.Compile+0x2f regexp/regexp.go:131 # 0x79ce63 regexp.MatchString+0x23 regexp/regexp.go:551 # 0x2426fde github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xfe github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:607 # 0x24274a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x265 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:652 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x539cff 0x1f79847 0x1f7982d 0x240c549 0x25e017f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x1f79846 strings.Split+0x126 strings/strings.go:361 # 0x1f7982c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x10c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:84 # 0x240c548 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0x68 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1049 # 0x25e017e github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x53e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:320 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2651b08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2651b07 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3b07 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1034 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x22d3c85 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x22d3c84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2818 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 128] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xbdb3f8 0x242689a 0x2424afc 0x242393b 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xbdb3f7 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0xf7 github.com/mattermost/mattermost/server/public/model/post.go:906 # 0x2426899 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x39 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x2424afb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x5db github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:371 # 0x242393a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x63a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:204 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 1224] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [108: 3456] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 624] @ 0x8e02d5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2c25 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8e02d4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x134 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2c24 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 496] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [3: 192] @ 0x271dc09 0x5c42d5 0x5c4c55 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271dc08 crypto/internal/fips140/ecdsa.NewPrivateKey[...]+0x148 crypto/internal/fips140/ecdsa/ecdsa.go:168 # 0x5c42d4 crypto/ecdsa.privateKeyToFIPS[...]+0x94 crypto/ecdsa/ecdsa.go:409 # 0x5c4c54 crypto/ecdsa.signFIPS[...]+0x74 crypto/ecdsa/ecdsa.go:244 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [26: 832] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x1837d33 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837d32 github.com/mattermost/squirrel.Expr+0x452 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [116: 267264] @ 0x543d27 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [75: 489600] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 1792] @ 0x207cc85 0x208de5b 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x207cc84 github.com/getsentry/sentry-go/internal/otel/baggage.Baggage.Members+0x64 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:522 # 0x208de5a github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x5a github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:27 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x16b1634 0x16b15db 0x1728614 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1728613 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x393 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1122 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5437e7 0x5437d0 0x543519 0x5435eb 0x53f070 0x53e734 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x53f06f encoding/json.(*decodeState).array+0x1cf encoding/json/decode.go:522 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 1728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x54e3fa 0x23a6a6b 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x23a6a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x60a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [8: 384] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506fae 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506fad github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1eed github.com/mattermost/mattermost/server/v8/channels/web/params.go:222 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1664] @ 0x48f312 0x48e925 0x748dab 0x7764cd 0x750c27 0x755918 0x483fe1 # 0x48f311 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x748daa net/http.putTextprotoReader+0x4a net/http/request.go:1049 # 0x7764cc net/http.readRequest+0x7ec net/http/request.go:1173 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [3: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 4928] @ 0xaeef5b 0xaeef85 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeef5a encoding/gob.(*Encoder).newEncoderState+0x2ba encoding/gob/encode.go:82 # 0xaeef84 encoding/gob.(*Encoder).EncodeValue+0x2e4 encoding/gob/encoder.go:242 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [17: 2448] @ 0x5275a6 0x16aae05 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16aae04 github.com/mattermost/squirrel.conj.join+0x304 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [18: 1728] @ 0x4d4f45 0x4d527d 0x4d2fbe 0x1644b57 0x1643e73 0x2323c22 0x261164e 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x1644b56 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x96 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:160 # 0x1643e72 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xf2 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x2323c21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:84 # 0x261164d github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xced github.com/mattermost/mattermost/server/v8/channels/api4/system.go:184 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x563a9b 0x563a7d 0x60ffd2 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x60ffd1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:329 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x1829d10 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 6624] @ 0x4617a5 0xc17a70 0xc17872 0x2048b50 0x2047f27 0x483fe1 # 0xc17a6f github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x12f github.com/mattermost/mattermost/server/public/model/websocket_message.go:384 # 0xc17871 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:362 # 0x2048b4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:577 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x184fc11 0x184fbc6 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x184fc10 github.com/mattermost/squirrel.SelectBuilder.Join+0x4f0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184fbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x271638e 0x2715f76 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2715f75 crypto/internal/fips140/ecdsa.newDRBG[...]+0x535 crypto/internal/fips140/ecdsa/hmacdrbg.go:110 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x186f917 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 15488] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x409dd2 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x204a555 0x204ad78 0x204bc12 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x204a554 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:781 # 0x204ad77 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x204bc11 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:878 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [80: 778240] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 307200] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 38912] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x25c347b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x25c347a github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x21a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 512] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 42240] @ 0x12578b9 0x125c637 0x182b7ac 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x461d32 0x4612a5 0x46140a 0x171df09 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171df08 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x5a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:137 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [90: 4320] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x16ae58f 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 57600] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1117e4e 0x111906f 0x1121765 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18198e5 0x16e8f8a 0x2001cd1 0x24651cd 0x2661a08 0x26612af 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18198e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateDeviceId+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:327 # 0x16e8f89 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateDeviceId+0x89 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11573 # 0x2001cd0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateDeviceId+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9140 # 0x24651cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).AttachDeviceId+0x8c github.com/mattermost/mattermost/server/v8/channels/app/session.go:279 # 0x2661a07 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x5e7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2418 # 0x26612ae github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x46e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2361 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1088] @ 0xaeaf88 0xaeaf54 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeaf87 encoding/gob.(*Encoder).newEncoderState+0xe7 encoding/gob/encode.go:82 # 0xaeaf53 encoding/gob.(*Encoder).encodeInterface+0xb3 encoding/gob/encode.go:392 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [41: 1968] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [11: 704] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 3200] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 7680] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [96: 61440] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 432] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 8096] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6d01fc 0x74aa05 0x74a9e9 0x771f51 0x770d14 0x483fe1 # 0x6d01fb net/textproto.readMIMEHeader+0x37b net/textproto/reader.go:586 # 0x74aa04 net/textproto.(*Reader).ReadMIMEHeader+0x2c4 net/textproto/reader.go:502 # 0x74a9e8 net/http.ReadResponse+0x2a8 net/http/response.go:188 # 0x771f50 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2463 # 0x770d13 net/http.(*persistConn).readLoop+0x2f3 net/http/transport.go:2290 0: 0 [7: 168] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 144] @ 0x16b0918 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0917 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [147: 11760] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [56: 13440] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1829d10 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1858afd 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1858afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:814 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 192] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 458752] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1843aa5 0x16ee6a2 0x200809f 0x247d48d 0x262add7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x16ee6a1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13154 # 0x200809e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10355 # 0x247d48c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:994 # 0x262add6 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x256 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:705 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [55: 1760] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x76b4ad 0x767517 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x76b4ac net/http.(*Transport).getConn+0x16c net/http/transport.go:1497 # 0x767516 net/http.(*Transport).roundTrip+0xb56 net/http/transport.go:685 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 96] @ 0x479c9a 0x479caf 0x184e065 0x184e5ab 0x16f1827 0x200b867 0x24a9656 0x11adcb0 0x483fe1 # 0x184e064 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:143 # 0x184e5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:178 # 0x16f1826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14000 # 0x200b866 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11010 # 0x24a9655 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2724 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [16: 2560] @ 0x20404d1 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20404d0 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 12160] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 40128] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x266b2b0 0x266b245 0x266b227 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x266b2af net/textproto.MIMEHeader.Set+0x18f net/textproto/header.go:22 # 0x266b244 net/http.Header.Set+0x124 net/http/header.go:40 # 0x266b226 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3216 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [146: 35040] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 2832] @ 0x53ff05 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 144] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x26330db 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x26330da github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0x17c501a 0x17c4ce3 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c5019 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0x6b9 github.com/mattermost/mattermost/server/public/model/post_list.go:120 # 0x17c4ce2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1231 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x208e01f 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208e01e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x21e github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:30 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x535245 0x535350 0x53a585 0x1f7bde5 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x1f7bde4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:119 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17c6b29 0x17c6a6e 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17c6b28 github.com/mattermost/squirrel.SelectBuilder.From+0x368 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17c6a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 5760] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [58: 20416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x250511f 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 2400] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 2880] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 1728] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x1114e9b 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1114e9a github.com/lib/pq.(*Connector).open+0x11a github.com/lib/pq@v1.10.9/conn.go:355 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [8: 192] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [103: 105472] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b093f 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [36: 576] @ 0x933e8c 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933e8b github.com/hashicorp/yamux.newStream+0x6b github.com/hashicorp/yamux@v0.1.2/stream.go:71 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [105: 2520] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 192] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [23: 736] @ 0x461d32 0x4612a5 0x4614c5 0xae1dcd 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae1dcc encoding/gob.(*Decoder).compileSingle+0x24c encoding/gob/decode.go:1111 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [44: 704] @ 0xb636ae 0xb6363b 0xc13c33 0xc13c50 0x23eaf1d 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb636ad github.com/google/uuid.NewRandomFromReader+0x2d github.com/google/uuid@v1.6.0/version4.go:48 # 0xb6363a github.com/google/uuid.NewRandom+0x5a github.com/google/uuid@v1.6.0/version4.go:41 # 0xc13c32 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc13c4f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23eaf1c github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:115 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 1408] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 49280] @ 0x12575bb 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 4608] @ 0x9317a5 0x935726 0x935abe 0x11992fb 0x113e77f 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x935725 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x935abd github.com/hashicorp/yamux.(*Stream).Close+0x1dd github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x11992fa github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2fa github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [33: 2640] @ 0x563a9b 0x563a7d 0x755738 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x755737 net/http.(*conn).serve+0x1b7 net/http/server.go:2008 0: 0 [78: 1872] @ 0x5275a6 0x16a94c9 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a94c8 github.com/mattermost/squirrel.Eq.toSQL+0x928 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 29568] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x1850c34 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1850c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:379 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 1152] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 2688] @ 0x543d27 0x2629bd9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2629bd8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x278 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 13440] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [81: 20736] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 1216] @ 0x409dd2 0x408e4d 0x40e3fc 0xae2f4f 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f4e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1186 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [171: 262656] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 128] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1792] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [76: 719872] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [34: 17408] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 160] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 104] @ 0xae2fb1 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fb0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1190 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 768] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1344] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [25: 12800] @ 0x17c68be 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c68bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 1056] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [17: 408] @ 0x4aaf08 0x93139c 0x931388 0x9315a5 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0x93139b time.After+0x17b time/sleep.go:203 # 0x931387 github.com/hashicorp/yamux.(*Session).Ping+0x167 github.com/hashicorp/yamux@v0.1.2/session.go:349 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [74: 21312] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 208] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x1f83f47 0x243cd9f 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243cd9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [83: 2656] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [400: 26214400] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [9: 1152] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [60: 1920] @ 0xb18fbd 0xc13c73 0x24f82a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x1851ba5 0x1851b7f 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1851ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1851b7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:454 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175c5cc 0x175c580 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175c5cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x16b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x175c57f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x11f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [354: 23199744] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [36: 2304] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 416] @ 0x24fab28 0x24f9bbc 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fab27 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x2a87 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:280 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 1728] @ 0x16ab7b4 0x16ab75b 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16ab7b3 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:71 # 0x16ab75a github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 6768] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [39: 1248] @ 0xadc756 0xadc717 0xae05a8 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadc755 encoding/gob.(*Decoder).newDecoderState+0x95 encoding/gob/decode.go:94 # 0xadc716 encoding/gob.(*Decoder).decodeStruct+0x56 encoding/gob/decode.go:470 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [10: 480] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 192] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 432] @ 0x16a3970 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x16a3970 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c6ed9 0x17c6e66 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c6ed8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x718 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c6e65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 608] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x1889373 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x1889372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:174 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [54: 1728] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 752] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [75: 4800] @ 0xadd126 0xade4e5 0xae0633 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadd125 encoding/gob.(*Decoder).decodeArrayHelper+0xa5 encoding/gob/decode.go:543 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 72] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 240] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [125: 2000] @ 0x50afcb 0x4f9a31 0x5475be 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [57: 1368] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 464] @ 0x16b0a7c 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a7b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [27: 31104] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 1568] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1844775 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1844774 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 6912] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [114: 80256] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x26119a5 0x2611916 0x26118f8 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x26119a4 net/textproto.MIMEHeader.Set+0x1044 net/textproto/header.go:22 # 0x2611915 net/http.Header.Set+0xfb5 net/http/header.go:40 # 0x26118f7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf97 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:192 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 288] @ 0x4baeb8 0x4baeac 0x7544b5 0x74e817 0x5732f5 0x754e05 0x755be5 0x483fe1 # 0x4baeb7 io.LimitReader+0x37 io/io.go:461 # 0x4baeab io.CopyN+0x2b io/io.go:364 # 0x7544b4 net/http.(*chunkWriter).writeHeader+0x1c54 net/http/server.go:1462 # 0x74e816 net/http.(*chunkWriter).Write+0x36 net/http/server.go:376 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0x754e04 net/http.(*response).finishRequest+0x44 net/http/server.go:1715 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [15: 51840] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3584] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2080] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x264ac08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x264ac07 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x107 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:498 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1f82587 0x2412bb7 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f82586 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.FileInfo+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:425 # 0x2412bb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x76 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 4320] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e60a 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e609 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:129 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 71680] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [95: 4560] @ 0x479c9a 0x479caf 0x1841d1f 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841d1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x15e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x17be04a 0x17bdf96 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17be049 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5a9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17bdf95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:594 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25dfe67 0x25dfdd6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25dfe66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x226 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dfdd5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x195 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:298 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [120: 13440] @ 0x4125d4 0xb08baa 0xb081e9 0x113e52d 0x483fe1 # 0xb08ba9 github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xa9 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:177 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [34: 7072] @ 0x5474d6 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 4368] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 784] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 816] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [76: 53504] @ 0x171e07e 0x17283a5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171e07d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x17283a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [457: 29248] @ 0xadd126 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadd125 encoding/gob.(*Decoder).decodeArrayHelper+0xa5 encoding/gob/decode.go:543 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [9: 576] @ 0x461d32 0x4612a5 0x46140a 0x18521d6 0x18521b7 0x11adcb0 0x483fe1 # 0x18521d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f5 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18521b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 1920] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 504] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 216] @ 0x2029771 0x2048625 0xb68639 0xb689ed 0x204817d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2029770 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:13 # 0x2048624 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:458 # 0xb68638 github.com/gorilla/websocket.(*Conn).advanceFrame+0xb98 github.com/gorilla/websocket@v1.5.3/conn.go:950 # 0xb689ec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x204817c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:466 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [66: 23232] @ 0xbdd11e 0xbdd112 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd11d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdd111 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:83 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 16544] @ 0xbdca93 0xbdca4b 0x2423d2a 0x25df6ef 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdca92 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xf2 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdca4a github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xaa github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25df6ee github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x104e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x535245 0x535350 0x53b205 0x16a9951 0x16a8be2 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53b204 strings.Repeat+0x2e4 strings/strings.go:673 # 0x16a9950 github.com/mattermost/squirrel.Placeholders+0xdb0 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x16a8be1 github.com/mattermost/squirrel.Eq.toSQL+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c5c0b 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c5c0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1261 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x859fd3 0x2619d02 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x859fd2 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x32 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x2619d01 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xee1 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 14336] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 864] @ 0x17b8bcc 0x17ba49f 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b8bcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:102 # 0x17ba49e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x153e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 8496] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 1368] @ 0x113c0b8 0x118c749 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x113c0b7 github.com/mattermost/mattermost/server/public/plugin.encodableError+0x77 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:107 # 0x118c748 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x68 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:376 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [37: 5328] @ 0x62eb25 0x62e809 0x124a831 0x24f8849 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x124a830 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x24f8848 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x7a8 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:214 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 960] @ 0xbc1a86 0x25d92e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbc1a85 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0xc5 github.com/mattermost/mattermost/server/public/model/manifest.go:261 # 0x25d92e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:264 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 6144] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [109: 585984] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [15: 720] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [27: 8640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16ab7e3 0x16ac827 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [99: 3168] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 416] @ 0x16b15eb 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 384] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16b080f 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b080e github.com/mattermost/squirrel.SelectBuilder.Columns+0xae github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 835584] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [16: 18432] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x87f585 0x87f540 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x87f584 text/template.builtins+0x144 text/template/funcs.go:40 # 0x87f53f text/template.(*Template).Parse+0xff text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [37: 145489920] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 68812800] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 32440320] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 10838016] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 24641536] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 22020096] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 12189696] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 12697600] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 9011200] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 10813440] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 7471104] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 5505024] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 9977856] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 896] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 917504] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x175b352 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b351 github.com/mattermost/squirrel.SelectBuilder.Join+0x591 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xb892ea 0x25357ff 0x25357fa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb892e9 github.com/mattermost/mattermost/server/public/model.(*Channel).Auditable+0x29 github.com/mattermost/mattermost/server/public/model/channel.go:107 # 0x25357fe github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x9fe github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x25357f9 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x9f9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:522 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x2535751 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x2535750 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x950 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:505 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 13824] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17419aa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17419a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3009 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [103: 26368] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af451 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af450 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x650 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 160] @ 0x16abc67 0x16ab6b5 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16abc66 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x3a6 github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x16ab6b4 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 165888] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [7: 784] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [268: 107577344] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0x53da5a 0x48ea11 0x54b2fe 0x549ca5 0x54547d 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53da59 encoding/json.init.func1+0x19 encoding/json/scanner.go:89 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54547c encoding/json.addrMarshalerEncoder+0x1dc encoding/json/encode.go:475 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [218: 24416] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [67: 2144] @ 0xb08a25 0x483fe1 # 0xb08a24 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0xc4 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:163 0: 0 [30: 1920] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [137: 6576] @ 0x4d51f3 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d51f2 os.openFileNolog+0xf2 os/file_unix.go:283 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 112] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x184386a 0x18173c3 0x16e879b 0x20013e6 0x2039433 0x2463b33 0x265f687 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1843869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1115 # 0x18173c2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x2a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:143 # 0x16e879a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11426 # 0x20013e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9028 # 0x2039432 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x2463b32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x265f686 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x106 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2221 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 262656] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1351680] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [86: 99072] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 640] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1829d10 0x1858b54 0x1858677 0x16f0c8e 0x200abfa 0x24a98f9 0x266da95 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1858b53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x493 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:819 # 0x1858676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x16f0c8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13832 # 0x200abf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10882 # 0x24a98f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2786 # 0x266da94 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x334 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3389 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 3584] @ 0x12578b9 0x125c637 0x1829914 0x1829d45 0x1853cdd 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x1853cdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x99c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:587 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0xb1453a 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb14539 github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1f9 github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 6912] @ 0x12578b9 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 229376] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 2112] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x25ed52b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25ed52a github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x10a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 40960] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 39168] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253c17d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253c17c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x4bc github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1095 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 2640] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 224] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [10: 7680] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [68: 7616] @ 0x931250 0x9315a5 0x483fe1 # 0x93124f github.com/hashicorp/yamux.(*Session).Ping+0x2f github.com/hashicorp/yamux@v0.1.2/session.go:329 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [3: 384] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 624] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x173b3bb 0x173b34d 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x173b3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x127a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x173b34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2578 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 480] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184edc5 0x16f19ea 0x200ba2a 0x24a94d9 0x11adcb0 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184edc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:220 # 0x16f19e9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14021 # 0x200ba29 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11026 # 0x24a94d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2735 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [43: 77056] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x5d6ccd 0x5d6e13 0x5d6570 0x60fe6c 0x60dc45 0x5f77c5 0x5f8708 0x76a832 0x76d805 0x76c318 0x76c155 0x483fe1 # 0x5d6ccc net/netip.parseIPv4Fields+0x2ec net/netip/netip.go:185 # 0x5d6e12 net/netip.parseIPv4+0x32 net/netip/netip.go:198 # 0x5d656f net/netip.ParseAddr+0x4f net/netip/netip.go:119 # 0x60fe6b net.(*Resolver).lookupIPAddr+0x8b net/lookup.go:309 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x76a831 net/http.(*Transport).dial+0xd1 net/http/transport.go:1278 # 0x76d804 net/http.(*Transport).dialConn+0x7e4 net/http/transport.go:1780 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [7: 112] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 224] @ 0x7731b3 0x76755a 0x776853 0x11b0ffe 0x702f82 0x702831 0x704e49 0x23a777b 0x23a776a 0x2619d48 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7731b2 net/http.(*persistConn).roundTrip+0x5b2 net/http/transport.go:2799 # 0x767559 net/http.(*Transport).roundTrip+0xb99 net/http/transport.go:696 # 0x776852 net/http.(*Transport).RoundTrip+0x12 net/http/roundtrip.go:30 # 0x11b0ffd github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a777a net/http.(*Client).Do+0x61a net/http/client.go:587 # 0x23a7769 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x609 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x2619d47 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xf27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:715 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 5824] @ 0x23a2252 0x23a2237 0x23a51d2 0x23a5cff 0x483fe1 # 0x23a2251 github.com/mattermost/mattermost/server/public/model.(*PushNotification).DeepCopy+0x1bb1 github.com/mattermost/mattermost/server/public/model/push_notification.go:93 # 0x23a2236 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b96 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:166 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [13: 11648] @ 0x26e545a 0x6c7959 0x67b376 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26e5459 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x79 crypto/internal/fips140/aes/gcm/gcm_nonces.go:160 # 0x6c7958 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:560 # 0x67b375 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:235 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 11648] @ 0x76ca5f 0x76ca53 0x76d9bc 0x76c318 0x76c155 0x483fe1 # 0x76ca5e crypto/tls.Client+0x11e crypto/tls/tls.go:49 # 0x76ca52 net/http.(*persistConn).addTLS+0x112 net/http/transport.go:1691 # 0x76d9bb net/http.(*Transport).dialConn+0x99b net/http/transport.go:1790 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [1: 144] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 576] @ 0x4e1b85 0x4e1e19 0x16ae87c 0x16b7a3c 0x16ab7e3 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16ab7e2 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [113: 3616] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 144] @ 0x11200aa 0x111785d 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11200a9 github.com/lib/pq.parsePortalRowDescribe+0xe9 github.com/lib/pq@v1.10.9/conn.go:1985 # 0x111785c github.com/lib/pq.(*conn).simpleQuery+0x45c github.com/lib/pq@v1.10.9/conn.go:753 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x183035c 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183035b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:119 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 28672] @ 0x1a0a3f0 0x1a0a522 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:150 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16b4ae8 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16b4ae7 github.com/mattermost/squirrel.(*updateData).ToSql+0x7c7 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 112] @ 0xc1612b 0xc160cb 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc1612a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc160ca github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [107: 1712] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [398: 29343744] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [111: 1818624] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 46080] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [80: 30720] @ 0x24fa9b6 0x24fa944 0x24f9bbc 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24fa9b5 github.com/mattermost/logr/v2.Logger.With+0x2915 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x24fa943 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x28a3 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x173a52e 0x173a4d0 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x173a52d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x3ed github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x173a4cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x38f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2552 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x2400039 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2400038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x638 github.com/mattermost/mattermost/server/v8/channels/app/post.go:243 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x1837ca5 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x1837ca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [106: 5088] @ 0x4ebcde 0x4ebd1d 0x2508a65 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x2508a64 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x39a4 github.com/mattermost/mattermost/server/v8/channels/web/params.go:302 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 216] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [82: 5373952] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [109: 5232] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [11: 5632] @ 0x26199ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x26199ab github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xb8b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1829d10 0x1772ceb 0x16ce7f1 0x1fe4157 0x230d6e8 0x259252d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x1772cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:79 # 0x16ce7f0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4412 # 0x1fe4156 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3608 # 0x230d6e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x259252c github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 12096] @ 0x543d27 0xc16bcd 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16bcc github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:229 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [2: 96] @ 0x6ae11e 0x6adfa7 0x68207a 0x681b78 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6ae11d crypto/tls.unmarshalCertificate+0xfd crypto/tls/handshake_messages.go:1535 # 0x6adfa6 crypto/tls.(*certificateMsgTLS13).unmarshal+0x126 crypto/tls/handshake_messages.go:1512 # 0x682079 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x339 crypto/tls/conn.go:1175 # 0x681b77 crypto/tls.(*Conn).readHandshake+0x237 crypto/tls/conn.go:1114 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [15: 72960] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [2: 320] @ 0x461d32 0x4612a5 0x4614c5 0x1874039 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x1874038 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1533 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 96] @ 0x16ab44d 0x16ac827 0x17ba6df 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ab44c github.com/mattermost/squirrel.(*insertData).ToSql+0x8c github.com/mattermost/squirrel@v0.5.0/insert.go:63 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x17ba6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x177e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:217 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5cda1b 0x5c8508 0x673d1b 0x696f08 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cda1a crypto/rsa.fipsPublicKey+0x3a crypto/rsa/rsa.go:629 # 0x5c8507 crypto/rsa.VerifyPSS+0x167 crypto/rsa/fips.go:156 # 0x673d1a crypto/tls.verifyHandshakeSignature+0x13a crypto/tls/auth.go:55 # 0x696f07 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x587 crypto/tls/handshake_client_tls13.go:690 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 64] @ 0xb18ff7 0xc13c73 0x23a22cd 0x23a51d2 0x23a5cff 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23a22cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1c2c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:168 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [10: 10240] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 4512] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22ae2b7 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x271638e 0x2715bbf 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x271638d crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:150 # 0x2715bbe crypto/internal/fips140/ecdsa.newDRBG[...]+0x17e crypto/internal/fips140/ecdsa/hmacdrbg.go:70 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [56: 896] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [26: 29952] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [5: 800] @ 0x7607c8 0x7470f5 0x772534 0x483fe1 # 0x7607c7 net/http.newTransferWriter+0x27 net/http/transfer.go:79 # 0x7470f4 net/http.(*Request).write+0x7f4 net/http/request.go:706 # 0x772533 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2593 0: 0 [4: 512] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x6974e5 0x69746d 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6974e4 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x324 crypto/internal/fips140/tls13/tls13.go:137 # 0x69746c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x2ac crypto/tls/handshake_client_tls13.go:733 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 1248] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x18740e8 0x16f6f47 0x2011b8d 0x23a4ded 0x23a5065 0x23a5cff 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x18740e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1542 # 0x16f6f46 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15458 # 0x2011b8c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12176 # 0x23a4dec github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x23a5064 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 448] @ 0x5aeaba 0x5aead0 0x271626f 0x2715d65 0x271f830 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a0619 0x23a5dbc 0x483fe1 # 0x5aeab9 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:199 # 0x5aeacf crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x271626e crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:133 # 0x2715d64 crypto/internal/fips140/ecdsa.newDRBG[...]+0x324 crypto/internal/fips140/ecdsa/hmacdrbg.go:88 # 0x271f82f crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:297 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [14: 57344] @ 0x122bbc7 0x122bb8a 0x122bc58 0x1232de4 0x1245c18 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x122bbc6 bufio.NewWriterSize+0x126 bufio/bufio.go:600 # 0x122bb89 bufio.NewWriter+0xe9 bufio/bufio.go:609 # 0x122bc57 github.com/yuin/goldmark/renderer.(*renderer).Render+0x1b7 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:159 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245c17 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d7 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [9: 144] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x27162be 0x2732f5a 0x2738225 0x6bf06d 0x67b367 0x695a4e 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf06c crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:29 # 0x67b366 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:234 # 0x695a4d crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x42d crypto/tls/handshake_client_tls13.go:517 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [34: 1088] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 1464] @ 0x50ee35 0xade451 0xae0633 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [46: 736] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x461d32 0x4612a5 0x4614c5 0x1b792ed 0x1b79126 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x1b792ec github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.0/token.go:91 # 0x1b79125 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:64 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [92: 26496] @ 0x1f5150c 0x1f514c6 0x1f51297 0x483fe1 # 0x1f5150b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x6b github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x1f514c5 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0x25 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [54: 2592] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7998a 0xb7a6d5 0xb7a53c 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb79989 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xb7a6d4 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xb7a53b github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 320] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x22d3df2 0x22d78d7 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x22d3df1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2833 # 0x22d78d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3223 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 208896] @ 0x76e688 0x76e64a 0x76c318 0x76c155 0x483fe1 # 0x76e687 bufio.NewWriterSize+0x1667 bufio/bufio.go:600 # 0x76e649 net/http.(*Transport).dialConn+0x1629 net/http/transport.go:1942 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [20: 25600] @ 0x68c08e 0x68c07b 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x68c08d crypto/internal/fips140/mlkem.(*EncapsulationKey768).Bytes+0xd0d crypto/internal/fips140/mlkem/mlkem768.go:143 # 0x68c07a crypto/tls.(*Conn).makeClientHello+0xcfa crypto/tls/handshake_client.go:175 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 32] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x17ba53a 0x17ba377 0x17bb88f 0x16de827 0x1fb0198 0x1ff5d2d 0x2400e2c 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x17ba539 github.com/mattermost/squirrel.InsertBuilder.Columns+0x15d9 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x17ba376 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:213 # 0x17bb88e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:296 # 0x16de826 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8564 # 0x1fb0197 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:98 # 0x1ff5d2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6836 # 0x2400e2b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x142b github.com/mattermost/mattermost/server/v8/channels/app/post.go:337 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 256] @ 0x5cdcfa 0x5cdd06 0x57a4dd 0x2739557 0x27162be 0x2732f5a 0x2738225 0x2737f09 0x697433 0x6973c6 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x57a4dc crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2739556 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x2737f08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x697432 crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x272 crypto/internal/fips140/tls13/tls13.go:131 # 0x6973c5 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x205 crypto/tls/handshake_client_tls13.go:732 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 64] @ 0x5275a6 0x16b4925 0x16b57dd 0x16ae35d 0x16ae4b7 0x16af605 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16b4924 github.com/mattermost/squirrel.(*updateData).ToSql+0x604 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af604 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x804 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 6048] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [16: 5120] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5280] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x207ca4f 0x208de34 0x209d030 0x209f145 0x209bbac 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x207ca4e github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x2ce github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:472 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x209d02f github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.36.0/tracing.go:471 # 0x209f144 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1005 # 0x209bbab github.com/getsentry/sentry-go.StartSpan+0x2cb github.com/getsentry/sentry-go@v0.36.0/tracing.go:188 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [3: 480] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [4: 2304] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a0619 0x23a5dbc 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [17: 8160] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x207ca4f 0x208de34 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x207ca4e github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x2ce github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:472 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 5200] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 320] @ 0x540f4d 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1792] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x18379f5 0x1837997 0x1837996 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18379f4 github.com/mattermost/squirrel.InsertBuilder.Into+0x114 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1837996 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1837995 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 165888] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [3: 432] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [6: 288] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [52: 26624] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [224: 7168] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [82: 20992] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 1008] @ 0x53dab7 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 69888] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x6311e5 0x6324d9 0x6324af 0x250511f 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 1056] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [129: 165120] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 19456] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adbca 0x24882fe 0x263345b 0x2633209 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x24882fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x7d github.com/mattermost/mattermost/server/v8/channels/app/team.go:1918 # 0x263345a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x6da github.com/mattermost/mattermost/server/v8/channels/app/team.go:1939 # 0x2633208 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x488 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1259 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 256] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0xbfaa65 0xbfaa66 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaa64 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2a4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaa65 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2a5 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f8b2 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 77824] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 352] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [97: 3973120] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 3072] @ 0x479c9a 0x479caf 0xae2f1c 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f1b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1185 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [5: 24320] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x25ee35b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ee35a github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x15a github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 512] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 800] @ 0xb002f5 0xb002f6 0x483fe1 # 0xb002f4 bufio.(*Scanner).Text+0x154 bufio/scan.go:115 # 0xb002f5 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x155 github.com/hashicorp/go-plugin@v1.7.0/client.go:802 0: 0 [1: 48] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4727 0x2650ba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4726 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2365 # 0x2650ba4 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2ba4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1010 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [160: 3840] @ 0x50d0da 0xadbab2 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50d0d9 reflect.Value.Slice+0x99 reflect/value.go:2265 # 0xadbab1 encoding/gob.decUint8Slice+0x431 encoding/gob/decode.go:396 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [10: 480] @ 0x479c9a 0x479caf 0x175b873 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xab2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:438 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183df93 0x183dd33 0x16ee4fd 0x2007ee9 0x247d0e2 0x26294e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183df92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x183dd32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:659 # 0x16ee4fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13133 # 0x2007ee8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10339 # 0x247d0e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:970 # 0x26294e4 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:556 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 768] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16ac7b4 0x182a286 0x182f205 0x16ebd32 0x200514b 0x203fddc 0x2042df0 0x2048665 0x2029802 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x182a285 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:159 # 0x182f204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x203fddb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x2042def github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14f github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [38: 184832] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25a1827 0x25a178e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25a1826 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x346 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25a178d github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2ad github.com/mattermost/mattermost/server/v8/channels/api4/file.go:718 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 218112] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70adc7 0x2519705 0x25a1c08 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70adc6 net/http.ServeContent+0x66 net/http/fs.go:252 # 0x2519704 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2c4 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x25a1c07 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x727 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 704] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1779c65 0x18d10d4 0x16cfcfa 0x1fe58da 0x23339b8 0x2333b37 0x25a16bc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1779c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:223 # 0x18d10d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:243 # 0x16cfcf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4754 # 0x1fe58d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3879 # 0x23339b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1271 # 0x2333b36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1285 # 0x25a16bb github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/file.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 30720] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d104 0xb7d105 0xb7ca85 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d103 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7d104 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xb7ca84 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0x16b1585 0x16b15db 0x17f2791 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17f2790 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 16576] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 9984] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [85: 5440] @ 0xae9d05 0xae9cc9 0xaec8ce 0xaea4d4 0xaecd39 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9d04 encoding/gob.(*Encoder).newEncoderState+0xc4 encoding/gob/encode.go:82 # 0xae9cc8 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [3: 73728] @ 0x543d27 0x2651a38 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2651a37 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3a37 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1028 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 336] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266df9e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266df9d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3412 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [238: 4874240] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 327680] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 304] @ 0xadffa5 0xadff55 0xadff54 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadffa4 errors.New+0x704 errors/errors.go:65 # 0xadff54 encoding/gob.overflow+0x6b4 encoding/gob/decode.go:109 # 0xadff53 encoding/gob.(*Decoder).decOpFor+0x6b3 encoding/gob/decode.go:882 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [52: 832] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2400] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x1658569 0x1658557 0x24995cb 0x2495768 0x249567e 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1658568 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:4820 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x2495767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x2a7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x249567d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1bd github.com/mattermost/mattermost/server/v8/channels/app/user.go:766 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc129d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc129d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 176] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2400] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x546a5b 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x546a5a encoding/json.stringEncoder+0x3da encoding/json/encode.go:601 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 3744] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x165859c 0x1658557 0x24995cb 0x2495768 0x249567e 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x165859b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:4821 # 0x1658556 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x24995ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1180 # 0x2495767 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x2a7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x249567d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1bd github.com/mattermost/mattermost/server/v8/channels/app/user.go:766 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1872] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x188152e 0x16fa9fa 0x2015e9a 0x24ac7fe 0x2648d1f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x188152d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserTermsOfServiceStore.GetByUser+0xad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_terms_of_service.go:38 # 0x16fa9f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16463 # 0x2015e99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12973 # 0x24ac7fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserTermsOfService+0x5d github.com/mattermost/mattermost/server/v8/channels/app/user_terms_of_service.go:15 # 0x2648d1e github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:302 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1152] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868cdc 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x2648c51 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868cdb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:553 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x2648c50 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:295 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1456] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 228608] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 786432] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 10838016] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 8380416] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [53: 8480] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 480] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [68: 23936] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6d01fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d01fb net/textproto.readMIMEHeader+0x37b net/textproto/reader.go:586 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [22: 1056] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3360] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [377: 1158144] @ 0x543d27 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16384] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265f75f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265f75e github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x1de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 2464] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16aa695 0x16aaada 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x16aa694 github.com/mattermost/squirrel.Lt.toSql+0x3d4 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaad9 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 96] @ 0x703c8f 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703c8e net/http.setRequestCancel+0x46e net/http/client.go:401 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [45: 218880] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [87: 12528] @ 0x171f57a 0x1741cf8 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171f579 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:309 # 0x1741cf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x697 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 12672] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 6336] @ 0x16b07a8 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b07a7 github.com/mattermost/squirrel.SelectBuilder.Columns+0x47 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x26cc333 0x26dd052 0x27330fc 0x2738225 0x6bf185 0x697f73 0x693756 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x26cc332 crypto/internal/fips140/sha256.(*Digest).Sum+0x172 crypto/internal/fips140/sha256/sha256.go:192 # 0x26dd051 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:58 # 0x27330fb crypto/internal/fips140/hkdf.Expand[...]+0x23b crypto/internal/fips140/hkdf/hkdf.go:44 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697f72 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:830 # 0x693755 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x795 crypto/tls/handshake_client_tls13.go:145 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [66: 321024] @ 0x4e20f4 0x4e1b1d 0x680110 0x6800d7 0x67dbfe 0x6818f1 0x6818f2 0x681979 0x696aad 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x68010f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:168 # 0x6800d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:830 # 0x67dbfd crypto/tls.(*Conn).readRecordOrCCS+0xd3d crypto/tls/conn.go:680 # 0x6818f0 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:591 # 0x6818f1 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1078 # 0x681978 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1089 # 0x696aac crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x12c crypto/tls/handshake_client_tls13.go:630 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [4: 2048] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [19: 29184] @ 0x69c4f5 0x69c4c5 0x69c3d7 0x5be6e2 0x5bea71 0x69c38c 0x69c138 0x5be6e2 0x5bea71 0x69bdd9 0x69b85e 0x69fa35 0x6b06d8 0x693106 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x69c4f4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x69c4c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x69c3d6 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69c38b vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x32b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x69c137 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd7 crypto/tls/handshake_messages.go:366 # 0x5be6e1 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x61 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5bea70 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2b0 vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x69bdd8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x2ef8 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x69b85d crypto/tls.(*clientHelloMsg).marshalMsg+0x297d crypto/tls/handshake_messages.go:348 # 0x69fa34 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6b06d7 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1941 # 0x693105 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x145 crypto/tls/handshake_client_tls13.go:68 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [109: 5232] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 13248] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [60: 138240] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [2: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25179b5 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25179b4 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x3f4 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2541c25 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2541c24 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1537 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 27648] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [45: 184320] @ 0x76e52b 0x76e4c1 0x76c318 0x76c155 0x483fe1 # 0x76e52a bufio.NewReaderSize+0x150a bufio/bufio.go:57 # 0x76e4c0 net/http.(*Transport).dialConn+0x14a0 net/http/transport.go:1941 # 0x76c317 net/http.(*Transport).dialConnFor+0xb7 net/http/transport.go:1615 # 0x76c154 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1597 0: 0 [10: 320] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb7067a 0xb70432 0xb6f437 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 144] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [36: 13824] @ 0x10cf688 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 624] @ 0x26d6fc6 0x26dd3d4 0x271579a 0x2717808 0x27178ee 0x27172dd 0x271f872 0x271f831 0x5c4ca5 0x5c00e9 0x5c1cd7 0x1b770f7 0x1b79163 0x23a24da 0x23a51d2 0x23a5cff 0x483fe1 # 0x26d6fc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:133 # 0x26dd3d3 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:112 # 0x2715799 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x79 crypto/internal/fips140/ecdsa/hmacdrbg.go:152 # 0x2717807 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x27178ed crypto/internal/fips140/ecdsa.randomPoint[...]+0xad crypto/internal/fips140/ecdsa/ecdsa.go:222 # 0x27172dc crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:328 # 0x271f871 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x271f830 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:299 # 0x5c4ca4 crypto/ecdsa.signFIPS[...]+0xc4 crypto/ecdsa/ecdsa.go:251 # 0x5c00e8 crypto/ecdsa.SignASN1+0x228 crypto/ecdsa/ecdsa.go:227 # 0x5c1cd6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:65 # 0x1b770f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.0/ecdsa.go:111 # 0x1b79162 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.0/token.go:69 # 0x23a24d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1e39 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [49: 15680] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x173b2d3 0x16c9cc7 0x1fdec71 0x22d70c4 0x23fe68e 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x173b2d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x1192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2566 # 0x16c9cc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3119 # 0x1fdec70 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2602 # 0x22d70c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x383 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3189 # 0x23fe68d github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x34d github.com/mattermost/mattermost/server/v8/channels/app/post.go:84 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x2517618 0x25175ee 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2517617 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x57 github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x25175ed github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x2d github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:17 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x703d25 0x702f52 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x703d24 net/http.setRequestCancel+0x504 net/http/client.go:414 # 0x702f51 net/http.send+0x5b1 net/http/client.go:257 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [116: 5568] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x774931 0x774925 0x7748da 0x7694a7 0x771a94 0x7716f6 0x483fe1 # 0x774930 container/list.(*List).insertValue+0xf0 container/list/list.go:104 # 0x774924 container/list.(*List).PushFront+0xe4 container/list/list.go:146 # 0x7748d9 net/http.(*connLRU).add+0x99 net/http/transport.go:3100 # 0x7694a6 net/http.(*Transport).tryPutIdleConn+0x4e6 net/http/transport.go:1124 # 0x771a93 net/http.(*persistConn).readLoop.func2+0x33 net/http/transport.go:2248 # 0x7716f5 net/http.(*persistConn).readLoop+0xcd5 net/http/transport.go:2401 0: 0 [59: 20768] @ 0x2422492 0x2422486 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2422491 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0x2422485 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:116 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0xb0cf17 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0cf16 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x9f6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:115 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 24] @ 0x16a4a3b 0x16a3f05 0x16b0014 0x1843aa5 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a4a3a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1843aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1126 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 4014080] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x25ed64f 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x25ed64e github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x22e github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 1344] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17371b8 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17371b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2235 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [6: 1920] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17359b9 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17359b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x458 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2078 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [130: 399360] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1280] @ 0x250caba 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x250cab9 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0xd9 net/http/server.go:2350 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [85: 5440] @ 0x4d5bb9 0x4cfd45 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d5bb8 os.newUnixDirent+0x38 os/file_unix.go:488 # 0x4cfd44 os.(*File).readdir+0x4e4 os/dir_unix.go:132 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 2293760] @ 0x1a09eb8 0x1a18b2a 0x1a086ca 0x1a089c8 0x1a915f6 0x1a915d1 0x24e2d2f 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a09eb7 github.com/klauspost/compress/flate.(*fastGen).addBlock+0xf7 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:86 # 0x1a18b29 github.com/klauspost/compress/flate.(*fastEncL5).Encode+0x89 github.com/klauspost/compress@v1.18.0/flate/level5.go:62 # 0x1a086c9 github.com/klauspost/compress/flate.(*compressor).storeFast+0x169 github.com/klauspost/compress@v1.18.0/flate/deflate.go:758 # 0x1a089c7 github.com/klauspost/compress/flate.(*compressor).write+0x87 github.com/klauspost/compress@v1.18.0/flate/deflate.go:783 # 0x1a915f5 github.com/klauspost/compress/flate.(*Writer).Write+0x375 github.com/klauspost/compress@v1.18.0/flate/deflate.go:971 # 0x1a915d0 github.com/klauspost/compress/gzip.(*Writer).Write+0x350 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:233 # 0x24e2d2e github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x60e github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:96 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 1664] @ 0x16a98b3 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a98b2 github.com/mattermost/squirrel.Eq.toSQL+0xd12 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 5712] @ 0x48037c 0x4aaf48 0x1f512b8 0x1f512a9 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x1f512b7 time.After+0x177 time/sleep.go:203 # 0x1f512a8 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x168 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:55 0: 0 [1: 16] @ 0x539cff 0x8e2a72 0x8e29fe 0x24f83a5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e2a71 strings.Split+0x151 strings/strings.go:361 # 0x8e29fd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:265 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 384] @ 0x5cdcfa 0x5cdd06 0x65d817 0x27162be 0x65d785 0x110e0da 0x110d9bd 0x110cd6f 0x111b845 0x111a30a 0x111526a 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5cdcf9 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:139 # 0x5cdd05 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x65d816 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x27162bd crypto/internal/fips140/hmac.New[...]+0x9d crypto/internal/fips140/hmac/hmac.go:134 # 0x65d784 crypto/hmac.New+0xe4 crypto/hmac/hmac.go:56 # 0x110e0d9 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.10.9/scram/scram.go:253 # 0x110d9bc github.com/lib/pq/scram.(*Client).step3+0x15c github.com/lib/pq@v1.10.9/scram/scram.go:210 # 0x110cd6e github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.10.9/scram/scram.go:126 # 0x111b844 github.com/lib/pq.(*conn).auth+0x13e4 github.com/lib/pq@v1.10.9/conn.go:1334 # 0x111a309 github.com/lib/pq.(*conn).startup+0x709 github.com/lib/pq@v1.10.9/conn.go:1196 # 0x1115269 github.com/lib/pq.(*Connector).open+0x4e9 github.com/lib/pq@v1.10.9/conn.go:390 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [42: 336] @ 0xadf966 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [17: 272] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 1280] @ 0x203efc8 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203efc7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [154: 22176] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [182: 75712] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x563ac5 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563ac4 context.WithCancel+0x64 context/context.go:242 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 416] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [103: 4944] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3325952] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 786432] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 64] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f6f5a5 0x22cbbc9 0x22adf7a 0x22adf75 0x2542849 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f6f5a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:228 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2542848 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x108 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1596 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 9472] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ae2b7 0x2537669 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2537668 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x628 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:672 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 41472] @ 0x6751fe 0x6917b9 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6751fd crypto/tls.(*certCache).newCert+0x3d crypto/tls/cache.go:81 # 0x6917b8 crypto/tls.(*Conn).verifyServerCertificate+0xd8 crypto/tls/handshake_client.go:1088 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 385024] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [6: 96] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125c16f 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125c16e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 192] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 48] @ 0x24f8f0c 0x24f8edf 0x24f8eca 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8f0b net/textproto.MIMEHeader.Set+0xe6b net/textproto/header.go:22 # 0x24f8ede net/http.Header.Set+0xe3e net/http/header.go:40 # 0x24f8ec9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xe29 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:229 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 816] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [117: 5616] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 32] @ 0x16aa66c 0x16aaa9a 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aa66b github.com/mattermost/squirrel.Lt.toSql+0x3ab github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x16aaa99 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [161: 329728] @ 0x776e97 0x776e73 0x75133f 0x755918 0x483fe1 # 0x776e96 bufio.NewWriterSize+0x1b6 bufio/bufio.go:600 # 0x776e72 net/http.newBufioWriterSize+0x192 net/http/server.go:894 # 0x75133e net/http.(*conn).readRequest+0x93e net/http/server.go:1115 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [23: 368] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 3840] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 704] @ 0x12575bb 0x125c637 0x1829914 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 896] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1830799 0x18306a8 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830798 github.com/lann/builder.Append+0x6d8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18306a7 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5e7 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [77: 8624] @ 0x4125d4 0x931345 0x93136b 0x9315a5 0x483fe1 # 0x931344 github.com/hashicorp/yamux.(*Session).waitForSend+0x124 github.com/hashicorp/yamux@v0.1.2/session.go:384 # 0x93136a github.com/hashicorp/yamux.(*Session).Ping+0x14a github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [78: 17472] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [20: 320] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0x2611f85 0x2611f86 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2611f84 github.com/mattermost/mattermost/server/public/model.ToJSON+0x1624 github.com/mattermost/mattermost/server/public/model/utils.go:574 # 0x2611f85 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1625 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 7776] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [34: 11968] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 560] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 4096] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x5f055b 0x610125 0x60dc45 0x5f77c5 0x5f8708 0x112c785 0x11157a8 0x1114f98 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1816c77 0x1816bf9 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5f055a internal/singleflight.(*Group).DoChan+0xfa internal/singleflight/singleflight.go:77 # 0x610124 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:333 # 0x60dc44 net.(*Resolver).internetAddrList+0x4c4 net/ipsock.go:289 # 0x5f77c4 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:353 # 0x5f8707 net.(*Dialer).DialContext+0x407 net/dial.go:560 # 0x112c784 github.com/lib/pq.defaultDialer.DialContext+0x84 github.com/lib/pq@v1.10.9/conn.go:124 # 0x11157a7 github.com/lib/pq.dial+0x367 github.com/lib/pq@v1.10.9/conn.go:420 # 0x1114f97 github.com/lib/pq.(*Connector).open+0x217 github.com/lib/pq@v1.10.9/conn.go:368 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1816c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1816bf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x258 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:102 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [153: 78336] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 512] @ 0xae7fa6 0xae7f72 0xae7f89 0xaeb528 0xaeb50c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7fa5 encoding/gob.(*encBuffer).writeByte+0x65 encoding/gob/encode.go:51 # 0xae7f71 encoding/gob.(*encoderState).encodeUint+0x31 encoding/gob/encode.go:109 # 0xae7f88 encoding/gob.(*encoderState).encodeInt+0x48 encoding/gob/encode.go:130 # 0xaeb527 encoding/gob.(*Encoder).sendTypeId+0x687 encoding/gob/encoder.go:212 # 0xaeb50b encoding/gob.(*Encoder).encodeInterface+0x66b encoding/gob/encode.go:413 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [7: 168] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a30c9 0x16a3fda 0x16a3f1c 0x16ac7b4 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16ac7b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 8448] @ 0x12578b9 0x125c637 0x1829914 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 7744] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x2508bf1 0x250d570 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x250d56f github.com/mattermost/mattermost/server/v8/channels/web.root+0x8cf github.com/mattermost/mattermost/server/v8/channels/web/static.go:101 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x48f2f9 0x48e925 0x24e4a78 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x48f2f8 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x48e924 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x24e4a77 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:512 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 21504] @ 0xae9416 0xae92a8 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9415 encoding/gob.(*encBuffer).Write+0x275 encoding/gob/encode.go:55 # 0xae92a7 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [40: 640] @ 0x7ef02d 0x7eefc6 0x125c185 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c184 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 480] @ 0xae2639 0xae25fe 0xae25fd 0xae300a 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2638 errors.New+0x338 errors/errors.go:65 # 0xae25fd encoding/gob.overflow+0x2fd encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1166: 315211776] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1553: 623386624] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16a3970 0x16a3bc5 0x1837de5 0x1837d3c 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837de4 github.com/lann/builder.Append+0x504 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837d3b github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x45b github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [106: 515584] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 480] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 464] @ 0x24f8f0c 0x24f8edf 0x24f8eca 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8f0b net/textproto.MIMEHeader.Set+0xe6b net/textproto/header.go:22 # 0x24f8ede net/http.Header.Set+0xe3e net/http/header.go:40 # 0x24f8ec9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xe29 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:229 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 7200] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18513eb 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18513ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:405 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x536165 0x53d465 0x48e78b 0x536525 0x5364f4 0x112a87b 0x112a863 0x1122fb2 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1843b85 0x1843af8 0x1816de7 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x536164 strings.(*Replacer).build+0x164 strings/replace.go:75 # 0x53d464 strings.(*Replacer).buildOnce+0x24 strings/replace.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x536524 sync.(*Once).Do+0x44 sync/once.go:69 # 0x5364f3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x112a87a github.com/lib/pq.ParseURL.func1+0x23a github.com/lib/pq@v1.10.9/url.go:46 # 0x112a862 github.com/lib/pq.ParseURL+0x222 github.com/lib/pq@v1.10.9/url.go:52 # 0x1122fb1 github.com/lib/pq.NewConnector+0x251 github.com/lib/pq@v1.10.9/connector.go:66 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1843b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1843af7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1816de6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:111 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 320] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1816bcd 0x16e83ae 0x2000f9a 0x2039393 0x203a354 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1816bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:97 # 0x16e83ad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11363 # 0x2000f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8980 # 0x2039392 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x203a353 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:143 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [95: 27360] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2128] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1837c65 0x1837ba4 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837c64 github.com/lann/builder.Append+0x384 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837ba3 github.com/mattermost/squirrel.InsertBuilder.Values+0x2c3 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 608] @ 0x112145c 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [51: 2448] @ 0xae002f 0xae0230 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae002e encoding/gob.(*Decoder).decOpFor+0x78e encoding/gob/decode.go:884 # 0xae022f encoding/gob.(*Decoder).decOpFor+0x98f encoding/gob/decode.go:863 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [110: 1760] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [28: 448] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [58: 928] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [51: 19584] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0x2611f85 0x2611f86 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2611f84 github.com/mattermost/mattermost/server/public/model.ToJSON+0x1624 github.com/mattermost/mattermost/server/public/model/utils.go:574 # 0x2611f85 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1625 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 7040] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x22b298a 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x22b2989 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:201 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [116: 7424] @ 0x24f8785 0x24f8750 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8784 net/http.MaxBytesReader+0x6e4 net/http/request.go:1190 # 0x24f874f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x6af github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:212 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 4032] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [409: 19632] @ 0x50f21d 0xafb2c5 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2c4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:560 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [41: 1312] @ 0xae245d 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae245c encoding/gob.(*Decoder).compileDec+0x15c encoding/gob/decode.go:1152 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [45: 40320] @ 0x111cbe5 0x111cc65 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111cbe4 github.com/lib/pq.(*writeBuf).bytes+0x8c4 github.com/lib/pq@v1.10.9/buf.go:77 # 0x111cc64 github.com/lib/pq.(*stmt).exec+0x944 github.com/lib/pq@v1.10.9/conn.go:1449 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [100: 1600] @ 0x50f21d 0x12553aa 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x12553a9 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 8064] @ 0x24fb385 0x24faf64 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24fb384 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 96] @ 0xc16038 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc16037 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [74: 5920] @ 0x709152 0x23f9dbb 0x23f9db2 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9dba net/http.(*Request).Cookies+0x45a net/http/request.go:429 # 0x23f9db1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x451 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:194 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [157: 2512] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 192] @ 0x931345 0x93136b 0x9315a5 0x483fe1 # 0x931344 github.com/hashicorp/yamux.(*Session).waitForSend+0x124 github.com/hashicorp/yamux@v0.1.2/session.go:384 # 0x93136a github.com/hashicorp/yamux.(*Session).Ping+0x14a github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [23: 4416] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x543d27 0xc16b85 0x20522d4 0x2051cd7 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc16b84 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:227 # 0x20522d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:688 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [7: 112] @ 0x6311e5 0x6324d9 0x6324af 0x22ad5af 0x24f95ef 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x22ad5ae github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1ee github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 1152] @ 0x16b1634 0x16b15db 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [51: 8160] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 672] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [195: 43680] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1728] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x179cb33 0x16d7587 0x1fedcad 0x1f4e954 0x1f4a5ab 0x1f4a394 0x1f49d4a 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x179cb32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x16d7586 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6650 # 0x1fedcac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5334 # 0x1f4e953 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x1f4a5aa github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x1f4a393 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3d3 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 288] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 1456] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1837c65 0x1837ba4 0x1837b08 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837c64 github.com/lann/builder.Append+0x384 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837ba3 github.com/mattermost/squirrel.InsertBuilder.Values+0x2c3 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1837b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 1632] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [53: 1272] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 6240] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [68: 3264] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 128] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x1851ee5 0x1851e43 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1851ee4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [45: 1080] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 13056] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [46: 2208] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [81: 9072] @ 0x48037c 0x4aaf48 0x93139c 0x931388 0x9315a5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0x93139b time.After+0x17b time/sleep.go:203 # 0x931387 github.com/hashicorp/yamux.(*Session).Ping+0x167 github.com/hashicorp/yamux@v0.1.2/session.go:349 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [6: 144] @ 0x503ca6 0x51542d 0xae65e5 0xae65cb 0xaea458 0xaecd39 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0xae65e4 reflect.Value.Interface+0x44 reflect/value.go:1484 # 0xae65ca encoding/gob.encStringSlice+0x2a encoding/gob/enc_helpers.go:292 # 0xaea457 encoding/gob.(*Encoder).encodeArray+0x437 encoding/gob/encode.go:339 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [23: 1507328] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 408] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1152] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [64: 45056] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 184] @ 0xadf966 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [77: 49280] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [147: 9408] @ 0xadd9e8 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadd9e7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [43: 1032] @ 0x1f84487 0x247d20c 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f84486 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Team+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:453 # 0x247d20b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0x6b github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [33: 528] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 320] @ 0xafa557 0xafa701 0x113eea5 0x483fe1 # 0xafa556 encoding/gob.NewEncoder+0x156 encoding/gob/encoder.go:36 # 0xafa700 net/rpc.(*Server).ServeConn+0x300 net/rpc/server.go:450 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [46: 5152] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 720] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [87: 77952] @ 0x11181ad 0x111818f 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11181ac github.com/lib/pq.(*writeBuf).byte+0x3ac github.com/lib/pq@v1.10.9/buf.go:73 # 0x111818e github.com/lib/pq.(*conn).prepareTo+0x38e github.com/lib/pq@v1.10.9/conn.go:839 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 10816] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 128] @ 0x408f2e 0x40d905 0xaf94ae 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0xaf94ad net/rpc.suitableMethods+0x9cd net/rpc/server.go:337 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [249: 43824] @ 0xbc2ec7 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbc2ec6 github.com/mattermost/mattermost/server/public/model.FindManifest+0x486 github.com/mattermost/mattermost/server/public/model/manifest.go:490 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 2816] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 960] @ 0x1129505 0x11199c5 0x1114fdf 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1129504 github.com/lib/pq.ssl+0x24 github.com/lib/pq@v1.10.9/ssl.go:18 # 0x11199c4 github.com/lib/pq.(*conn).ssl+0x24 github.com/lib/pq@v1.10.9/conn.go:1105 # 0x1114fde github.com/lib/pq.(*Connector).open+0x25e github.com/lib/pq@v1.10.9/conn.go:373 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 9792] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175b896 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b895 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:438 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [104: 4992] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [61: 35136] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [79: 5056] @ 0xae3bf8 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae3bf7 encoding/gob.(*Decoder).recvType+0x97 encoding/gob/decoder.go:69 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [9: 1008] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [231: 48048] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xaf94ae 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0xaf94ad net/rpc.suitableMethods+0x9cd net/rpc/server.go:337 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [50: 25600] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [26: 3328] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 1792] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 528] @ 0x24f8bd8 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8bd7 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb37 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 48] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b2f5f 0x22b2891 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b2f5e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x61e github.com/mattermost/mattermost/server/v8/channels/app/bot.go:254 # 0x22b2890 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:197 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x16a9491 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a9490 github.com/mattermost/squirrel.Eq.toSQL+0x8f0 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 960] @ 0x2095ce5 0x2095c3b 0x245907a 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2095ce4 io.TeeReader+0x184 io/io.go:619 # 0x2095c3a github.com/getsentry/sentry-go.(*Scope).SetRequest+0xda github.com/getsentry/sentry-go@v0.36.0/scope.go:135 # 0x2459079 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2d9 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:120 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 1376] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [102: 91392] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 480] @ 0x7ef02d 0x7eefc6 0x125c1c8 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x125c1c7 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [60: 17280] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [210: 26880] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [7: 168] @ 0x185157e 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x185157d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x27d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:412 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 57600] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [137: 666368] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x23e4c25 0x1136008 0x11745d9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x23e4c24 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1107 # 0x1136007 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x11745d8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5511 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x5655f1 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [151: 14496] @ 0xbfb6f8 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb6f7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf37 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 6912] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x183022e 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x183022d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:121 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [113: 79552] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x754c57 0x7549ea 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754c56 net/http.(*response).write+0x1d6 net/http/server.go:1688 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 560] @ 0x5655f1 0x565c8d 0x565c4f 0x1829945 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5655f0 context.WithDeadlineCause+0x250 context/context.go:647 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1600] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 4144] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [95: 4560] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x175b376 0x175b32e 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x175b375 github.com/mattermost/squirrel.SelectBuilder.Join+0x5b5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x175b32d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [90: 25920] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [203: 22736] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 2496] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 1184] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x503ca6 0x51542d 0x16a449f 0x16a4456 0x16a3b93 0x1837ad1 0x1837a2a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a449e reflect.Value.Interface+0xfe reflect/value.go:1484 # 0x16a4455 github.com/lann/builder.forEach+0xb5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1837ad0 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1f0 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1837a29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 1568] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1728345 0x17282e6 0x17282f4 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1728344 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x17282e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x17282f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1117 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 1152] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 1584] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 96] @ 0x7ef02d 0x7eefc6 0x7ed3a5 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7eefc5 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x7ed3a4 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [32: 131072] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [153: 7344] @ 0x565d65 0x2091055 0x2458e66 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0x2091054 github.com/getsentry/sentry-go.SetHubOnContext+0x34 github.com/getsentry/sentry-go@v0.36.0/hub.go:436 # 0x2458e65 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xc5 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:91 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 2128] @ 0x752347 0x751ef7 0x754df2 0x755be5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754df1 net/http.(*response).finishRequest+0x31 net/http/server.go:1712 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [5: 80] @ 0xbfaaeb 0xbfaaec 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfaaea github.com/tinylib/msgp/msgp.ReadStringBytes+0x32a github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfaaeb github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x32b github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 1472] @ 0x7ef02d 0x7ed2b8 0x483fe1 # 0x7ef02c database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x7ed2b7 database/sql.(*Rows).awaitDone+0x1f7 database/sql/sql.go:3020 0: 0 [40: 3840] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 416] @ 0x23fa73f 0x23f9f9d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fa73e github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0xdde github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:280 # 0x23f9f9c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x63c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:209 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 22560] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1851ddc 0x11adcb0 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [23: 16192] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24e2e65 0x24e2df3 0x24e2dde 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e2e64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x24e2df2 net/http.Header.Set+0x52 net/http/header.go:40 # 0x24e2ddd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x3d github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:181 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [52: 1248] @ 0x50f21d 0xaddab5 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xaddab4 encoding/gob.(*Decoder).decodeMap+0x2f4 encoding/gob/decode.go:604 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [60: 9600] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [35: 4480] @ 0x752347 0x751ef7 0x20a7c32 0x24e3732 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [194: 12416] @ 0xae3bf8 0xae40b6 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae3bf7 encoding/gob.(*Decoder).recvType+0x97 encoding/gob/decoder.go:69 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [54: 864] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [127: 4064] @ 0xbfc452 0xbfc418 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 11520] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0154 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 2208] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 16128] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [34: 544] @ 0x50f21d 0x53ec1d 0x5413d0 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x5413cf encoding/json.(*decodeState).literalStore+0x1af encoding/json/decode.go:859 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [50: 800] @ 0x50afcb 0x4f9c71 0x547625 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x2048a6a 0x2047f27 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x2048a69 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:580 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [47: 1504] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [48: 1536] @ 0xbfa9da 0xbfa9db 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa9d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x219 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa9da github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x21a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:493 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 528] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 4160] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [28: 448] @ 0x204839f 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204839e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x3de github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:506 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 25920] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 3360] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0xc0d9d2 0xc0d9d3 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc0d9d1 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d9d2 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [94: 30080] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [74: 1184] @ 0x16a8ca5 0x16a8be1 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a8ca4 github.com/mattermost/squirrel.getSortedKeys+0x104 github.com/mattermost/squirrel@v0.5.0/expr.go:420 # 0x16a8be0 github.com/mattermost/squirrel.Eq.toSQL+0x40 github.com/mattermost/squirrel@v0.5.0/expr.go:161 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 336] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1869bb5 0x18696ff 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1869bb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x114 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:648 # 0x18696fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x1de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:616 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x185205e 0x1852006 0x1852004 0x11adcb0 0x483fe1 # 0x185205d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1852005 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1852003 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:441 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [14: 1568] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [191: 342272] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [37: 1776] @ 0x2048aa5 0x2048a94 0x2048a80 0x2047f27 0x483fe1 # 0x2048aa4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x3a4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:282 # 0x2048a93 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).SetSequence+0x393 github.com/mattermost/mattermost/server/public/model/websocket_message.go:334 # 0x2048a7f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x37f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:576 # 0x2047f26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:413 0: 0 [33: 1056] @ 0xc02037 0xc02038 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02037 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x6018eb 0x600a06 0x613ad1 0x5f1817 0x610a77 0x5f0814 0x483fe1 # 0x6018ea net.(*Resolver).goLookupIPCNAMEOrder.func3+0x6a net/dnsclient_unix.go:666 # 0x600a05 net.(*Resolver).goLookupIPCNAMEOrder+0xac5 net/dnsclient_unix.go:679 # 0x613ad0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:68 # 0x5f1816 net.init.func1+0x36 net/hook.go:21 # 0x610a76 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:334 # 0x5f0813 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [45: 20160] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 630784] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [96: 30720] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [10: 480] @ 0x479c9a 0x479caf 0x1728bf8 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728bf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x977 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1157 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x16aee3c 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [62: 2976] @ 0x251905a 0x251903f 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2519059 github.com/mattermost/mattermost/server/public/model.NewWebSocketResponse+0x12d9 github.com/mattermost/mattermost/server/public/model/websocket_message.go:430 # 0x251903e github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x12be github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:74 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [6: 480] @ 0x17c49d9 0x17c49be 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c49d8 github.com/mattermost/mattermost/server/public/model.NewPostList+0x78 github.com/mattermost/mattermost/server/public/model/post_list.go:24 # 0x17c49bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1175 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 13024] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25deaea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25deae9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x449 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:206 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 4992] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 19712] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24e43c5 0x24e4397 0x24e4365 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24e43c4 net/textproto.MIMEHeader.Add+0xa4 net/textproto/header.go:15 # 0x24e4396 net/http.Header.Add+0x76 net/http/header.go:31 # 0x24e4364 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:483 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [215: 137600] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 624] @ 0x50f21d 0xadda85 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadda84 encoding/gob.(*Decoder).decodeMap+0x2c4 encoding/gob/decode.go:603 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [177: 2832] @ 0x746256 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x746255 net/http.(*Request).AddCookie+0x95 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 1152] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 6912] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f8b2 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 1056] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [5: 80] @ 0x54efa5 0x53fca6 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54efa4 encoding/json.(*RawMessage).UnmarshalJSON+0x64 encoding/json/stream.go:274 # 0x53fca5 encoding/json.(*decodeState).object+0x6c5 encoding/json/decode.go:605 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x185217f 0x18520c6 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x185217e github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18520c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [28: 14336] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 768] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 2944] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [15: 1920] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16b01fd 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16b01fc github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [101: 4848] @ 0x16b0a05 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [141: 99264] @ 0x5474d6 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 4032] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [75: 2400] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 16992] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2610a17 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2610a16 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xb6 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:140 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [95: 6080] @ 0x24f824a 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8249 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:151 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [76: 97280] @ 0x5fc465 0x5fd405 0x5fe606 0x601ae5 0x483fe1 # 0x5fc464 net.dnsPacketRoundTrip+0xa4 net/dnsclient_unix.go:114 # 0x5fd404 net.(*Resolver).exchange+0x4e4 net/dnsclient_unix.go:195 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [25: 400] @ 0xbfc4ba 0xbfc477 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 1504] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 5200] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [86: 19264] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x172867b 0x1728615 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x172867a github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1728614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1125 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 20736] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [23: 4416] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 696] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 12480] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [14: 2240] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 10752] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 16] @ 0x2040129 0x204020e 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x2040128 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x28 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:227 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [19: 29184] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 3744] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0xbfc4ba 0xbfc477 0xc0e3ca 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x12575bb 0x125c637 0x182a1ef 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x254368c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x254368b github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1683 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 35712] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [12: 192] @ 0x6311e5 0x6324d9 0x6324af 0x25de7e9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de7e8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x148 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:194 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [86: 4128] @ 0x16b0a05 0x16b09d3 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a04 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [114: 47424] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 1152] @ 0x7557a5 0x483fe1 # 0x7557a4 net/http.(*conn).serve+0x224 net/http/server.go:2012 0: 0 [4: 64] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [11: 264] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 10240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [53: 2544] @ 0x113df9c 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113df9b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x7b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:403 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 1904] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x1851ee5 0x1851e43 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1851ee4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x424 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1851e42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:460 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 1456] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [32: 1536] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [367: 24051712] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 3200] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [29: 464] @ 0x16b0a6b 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [68: 4352] @ 0xaee4c5 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xaee4c4 encoding/gob.(*Encoder).sendActualType+0x104 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [10: 640] @ 0x112145c 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 320] @ 0xb636ae 0xb6363b 0xc13c33 0xc13c50 0x23f99c9 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb636ad github.com/google/uuid.NewRandomFromReader+0x2d github.com/google/uuid@v1.6.0/version4.go:48 # 0xb6363a github.com/google/uuid.NewRandom+0x5a github.com/google/uuid@v1.6.0/version4.go:41 # 0xc13c32 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc13c4f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23f99c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:163 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 48] @ 0xc16038 0xc0eb5b 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc16037 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc0eb5a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x131a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [109: 5232] @ 0x16b0825 0x16b07b9 0x17283c5 0x172836d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17283c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x172836c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1118 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 118272] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 28672] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [133: 187264] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 416] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [82: 3936] @ 0x407ff2 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 87552] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 3584] @ 0x49ca98 0x49ce52 0x605a6c 0x6240b6 0x622c50 0x75b08c 0x245961b 0x483fe1 # 0x49ca97 syscall.anyToSockaddr+0x37 syscall/syscall_linux.go:643 # 0x49ce51 syscall.Getsockname+0x71 syscall/syscall_linux.go:713 # 0x605a6b net.(*netFD).accept+0x1cb net/fd_unix.go:188 # 0x6240b5 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x622c4f net.(*UnixListener).Accept+0x2f net/unixsock.go:260 # 0x75b08b net/http.(*Server).Serve+0x30b net/http/server.go:3424 # 0x245961a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1073 0: 0 [93: 2232] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0x1868d13 0x16f462e 0x200ecda 0x1f7f55a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x1868d12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:556 # 0x16f462d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14789 # 0x200ecd9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11632 # 0x1f7f559 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0x479c9a 0x479caf 0x7496c5 0x7496aa 0x749953 0x749d7b 0x261102c 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x7496c4 net/url.ParseQuery+0x364 net/url/url.go:965 # 0x7496a9 net/http.(*Request).ParseForm+0x349 net/http/request.go:1345 # 0x749952 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x749d7a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x261102b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6cb github.com/mattermost/mattermost/server/v8/channels/api4/system.go:160 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 75264] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 640] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 5376] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [22: 704] @ 0x409dd2 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1344] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1851e25 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0xaf7f66 0x114d66a 0x114d61f 0x1197432 0x2047e43 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2047db8 0x2029802 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x114d669 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x114d61e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:654 # 0x1197431 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:193 # 0x2047e42 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func2.1+0x62 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:429 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2047db7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func2+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [10: 640] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [125: 2000] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [56: 2688] @ 0x479c9a 0x479caf 0xaf8b19 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0xaf8b18 net/rpc.suitableMethods+0x38 net/rpc/server.go:284 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [7: 336] @ 0x18515d8 0x16f0f7b 0x200af02 0x2485e5c 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18515d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x2d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:428 # 0x16f0f7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13874 # 0x200af01 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10914 # 0x2485e5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa1b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1713 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [145: 3480] @ 0xadfd86 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadfd85 encoding/gob.(*Decoder).decOpFor+0x4e5 encoding/gob/decode.go:895 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [107: 1013504] @ 0xb652b4 0xb6b213 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb652b3 github.com/gorilla/websocket.newConn+0xf3 github.com/gorilla/websocket@v1.5.3/conn.go:303 # 0xb6b212 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x186f8b2 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x186f8b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0xc08f1e 0xc08e93 0x24995dd 0x24a9c45 0x24a9b38 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08f1d github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0x9d github.com/mattermost/mattermost/server/public/model/user.go:731 # 0xc08e92 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:738 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a9c44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:782 # 0x24a9b37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd7 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2811 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17362af 0x16c53dd 0x1fd9843 0x22cde93 0x23e11e5 0x23e11b9 0x113215e 0x1165fb5 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17362ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2137 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x23e11e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x23e11b8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:626 # 0x113215d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x1165fb4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3715 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [46: 2208] @ 0x461d32 0x4612a5 0x46140a 0xadfe1b 0xae0230 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadfe1a encoding/gob.(*Decoder).decOpFor+0x57a encoding/gob/decode.go:870 # 0xae022f encoding/gob.(*Decoder).decOpFor+0x98f encoding/gob/decode.go:863 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [10: 7040] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a7c32 0x24e3732 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183a812 0x16eca7a 0x200617a 0x247bfb1 0x247bf98 0x24277f9 0x24274ff 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183a811 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:338 # 0x16eca79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12692 # 0x2006179 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10003 # 0x247bfb0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:27 # 0x247bf97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:827 # 0x24277f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x118 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:691 # 0x24274fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2be github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:653 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 16992] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0xc143b9 0xc143e3 0x264dba6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc143b8 encoding/json.NewDecoder+0x38 encoding/json/stream.go:32 # 0xc143e2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x62 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x264dba5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 196608] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25e02b8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25e02b7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:326 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1024] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [172: 49536] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 92160] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 1504] @ 0x409dd2 0x408e4d 0x40d905 0xaf94ae 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0xaf94ad net/rpc.suitableMethods+0x9cd net/rpc/server.go:337 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [93: 4464] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [209: 642048] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [5: 24320] @ 0x539fb5 0x18060c7 0x1807b18 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x18060c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:81 # 0x1807b17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:237 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32768] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x18079d4 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x18079d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:228 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x22ceb95 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22ceb94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2312 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 784] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17c6ed9 0x17c6e66 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17c6ed8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x718 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17c6e65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [105: 2520] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [95: 4560] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 112] @ 0x6311e5 0x6324d9 0x6324af 0x25de709 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311e4 net/url.parseQuery+0x1c4 net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de708 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [162: 228096] @ 0x12575bb 0x125c637 0x182b7ac 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1344] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [4: 1664] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 2464] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [227: 261504] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 64] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182df56 0x182df0e 0x17dd6c5 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182df55 github.com/jmoiron/sqlx.(*Tx).SelectContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x182df0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:449 # 0x17dd6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3220 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [159: 12720] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [79: 31711232] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 12976128] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [120: 61440] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 576] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [80: 5120] @ 0xae9d05 0xae9cc9 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9d04 encoding/gob.(*Encoder).newEncoderState+0xc4 encoding/gob/encode.go:82 # 0xae9cc8 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [8: 896] @ 0x56458a 0x7e45fe 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [225: 3600] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [61: 19520] @ 0x5474d6 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 6624] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x18301dc 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x18301db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:120 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [33: 10560] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [15: 1680] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1851ddc 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1851ddb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [173: 33216] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 2304] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [120: 5760] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [120: 138240] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [170: 70720] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 560] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 1664] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 320] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [76: 3648] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506fae 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506fad github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1eed github.com/mattermost/mattermost/server/v8/channels/web/params.go:222 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 1792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 8928] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [38: 912] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [52: 2496] @ 0x49197b 0x491953 0xaf86ba 0xaf8675 0x113eca5 0x113ec1b 0x483fe1 # 0x49197a internal/sync.newEntryNode[...]+0x2fa internal/sync/hashtriemap.go:572 # 0x491952 internal/sync.(*HashTrieMap[...]).LoadOrStore+0x2d2 internal/sync/hashtriemap.go:151 # 0xaf86b9 sync.(*Map).LoadOrStore+0x439 sync/hashtriemap.go:67 # 0xaf8674 net/rpc.(*Server).register+0x3f4 net/rpc/server.go:275 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [46: 736] @ 0xae2639 0xae25fe 0xae25fd 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2638 errors.New+0x338 errors/errors.go:65 # 0xae25fd encoding/gob.overflow+0x2fd encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [69: 39744] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 1040] @ 0x203ed7c 0x203ed66 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203ed7b github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x203ed65 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 4928] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x179eba9 0x179eb38 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x179eba8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x179eb37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [73: 21024] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1008] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x1851c5f 0x1851ba6 0x11adcb0 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1851c5e github.com/mattermost/squirrel.SelectBuilder.From+0x19e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1851ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [10: 1120] @ 0x16a26be 0x16a26b2 0x16a24c5 0x16a3955 0x1851b67 0x1851ae6 0x1851ae4 0x11adcb0 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1851b66 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1851ae5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:895 # 0x1851ae3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x23 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:453 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1caf 0x172877a 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1cae github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1728779 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1132 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 1056] @ 0x16b0f34 0x16b0e53 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0f33 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [65: 5200] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 30720] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 1728] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [44: 5632] @ 0x4cfde8 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfde7 os.(*File).readdir+0x587 os/dir_unix.go:141 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [56: 114688] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [10: 160] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x548a63 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [92: 753664] @ 0xb65510 0xb65217 0xb6b213 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6550f bufio.NewReaderSize+0x34f bufio/bufio.go:57 # 0xb65216 github.com/gorilla/websocket.newConn+0x56 github.com/gorilla/websocket@v1.5.3/conn.go:294 # 0xb6b212 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [218: 1785856] @ 0x4cf3f3 0x48ea11 0x4cf9d2 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cf3f2 os.init.func1+0x32 os/dir_unix.go:35 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4cf9d1 os.(*File).readdir+0x171 os/dir_unix.go:57 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [153: 9792] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [20: 5120] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [203: 6496] @ 0x541c6c 0x53e7d5 0x53f3af 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1823: 525024] @ 0x84157b 0x840de7 0x23e4de8 0x1136242 0x11440b2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x84157a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x840de6 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x23e4de7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x1136241 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x11440b1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:957 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [79: 2528] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 9216] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 384] @ 0x7dc1d7 0x7e6f6e 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x18385f2 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e6f6d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x18385f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:98 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 192] @ 0x183856b 0x16ec3da 0x200591a 0x22a8272 0x26112f3 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x183856a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0x4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:97 # 0x16ec3d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12539 # 0x2005919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9876 # 0x22a8271 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:135 # 0x26112f2 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x992 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:171 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [134: 4288] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [61: 1952] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [114: 9120] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [92: 32384] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x754df2 0x755be5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754df1 net/http.(*response).finishRequest+0x31 net/http/server.go:1712 # 0x755be4 net/http.(*conn).serve+0x664 net/http/server.go:2108 0: 0 [64: 36864] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [124: 1984] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [5: 320] @ 0x4e1b85 0x4e238b 0xb7aee2 0xb7aecc 0xb7b010 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203f68c 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7aee1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7aecb github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xb7b00f github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203f68b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9ab github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 24480] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [79: 3792] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [56: 1792] @ 0x112145c 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112145b github.com/lib/pq.(*conn).QueryContext+0x5b github.com/lib/pq@v1.10.9/conn_go18.go:19 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 352] @ 0xae2639 0xae25fe 0xae25fd 0xae300a 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2638 errors.New+0x338 errors/errors.go:65 # 0xae25fd encoding/gob.overflow+0x2fd encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [54: 1728] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 8640] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x175b835 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b834 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xa74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:436 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [49: 10192] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [21: 336] @ 0xc0e0c6 0xc0e0c7 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0e0c5 github.com/tinylib/msgp/msgp.ReadStringBytes+0x885 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0e0c6 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x886 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [558: 160704] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [41: 14432] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x2629ab9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2629ab8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x158 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:587 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 896] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1830799 0x18306a8 0x18306a7 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1830798 github.com/lann/builder.Append+0x6d8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18306a7 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5e7 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18306a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1152] @ 0x619566 0x61953d 0x60e6b8 0x621587 0x5fa16b 0x5f9a8e 0x5f9167 0x5f89ac 0x611905 0x5fd26a 0x5fe606 0x601ae5 0x483fe1 # 0x619565 net.newFD+0xc5 net/fd_unix.go:27 # 0x61953c net.socket+0x9c net/sock_posix.go:27 # 0x60e6b7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x621586 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:212 # 0x5fa16a net.(*sysDialer).dialSingle+0x28a net/dial.go:725 # 0x5f9a8d net.(*sysDialer).dialSerial+0x24d net/dial.go:686 # 0x5f9166 net.(*sysDialer).dialParallel+0x3a6 net/dial.go:587 # 0x5f89ab net.(*Dialer).DialContext+0x6ab net/dial.go:578 # 0x611904 net.(*Resolver).dial+0xa4 net/lookup.go:693 # 0x5fd269 net.(*Resolver).exchange+0x349 net/dnsclient_unix.go:185 # 0x5fe605 net.(*Resolver).tryOneName+0x4c5 net/dnsclient_unix.go:316 # 0x601ae4 net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x84 net/dnsclient_unix.go:667 0: 0 [28: 448] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [40: 640] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [37: 592] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [313: 50080] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [71: 54528] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 2560] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1536] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [73: 3504] @ 0xb78dca 0xc17e65 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb78dc9 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0xc17e64 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 10560] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [219: 105120] @ 0x5474d6 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [370: 1515520] @ 0x776e97 0x776e73 0x75582d 0x483fe1 # 0x776e96 bufio.NewWriterSize+0x1b6 bufio/bufio.go:600 # 0x776e72 net/http.newBufioWriterSize+0x192 net/http/server.go:894 # 0x75582c net/http.(*conn).serve+0x2ac net/http/server.go:2014 0: 0 [185: 11840] @ 0x209f2dd 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209f2dc github.com/getsentry/sentry-go.StartTransaction+0x11c github.com/getsentry/sentry-go@v0.36.0/tracing.go:1060 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [78: 54912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [119: 639744] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [156: 3744] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [9: 144] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [138: 194304] @ 0x12575bb 0x125c637 0x182b7ac 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [37: 11840] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [68: 4352] @ 0x461d32 0x4612a5 0x4614c5 0xadff85 0xadff54 0xae0230 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadff84 encoding/gob.overflow+0x6e4 encoding/gob/decode.go:109 # 0xadff53 encoding/gob.(*Decoder).decOpFor+0x6b3 encoding/gob/decode.go:882 # 0xae022f encoding/gob.(*Decoder).decOpFor+0x98f encoding/gob/decode.go:863 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [45: 1440] @ 0x54b539 0x54b93a 0x53e4bd 0x54011a 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x53e4bc encoding/json.(*decodeState).scanWhile+0x7c encoding/json/decode.go:296 # 0x540119 encoding/json.(*decodeState).object+0xb39 encoding/json/decode.go:746 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [111: 2664] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 96] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x18444c5 0x184448f 0x184448e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18444c4 github.com/mattermost/squirrel.newPart+0x204 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184448e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x184448d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1167 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 104] @ 0xadf966 0xae29d2 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [107: 3424] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [148: 7104] @ 0x479c9a 0x479caf 0x209525c 0x2097633 0x208fe12 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209525b github.com/getsentry/sentry-go.NewScope+0x1b github.com/getsentry/sentry-go@v0.36.0/scope.go:58 # 0x2097632 github.com/getsentry/sentry-go.(*Scope).Clone+0x92 github.com/getsentry/sentry-go@v0.36.0/scope.go:328 # 0x208fe11 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.36.0/hub.go:118 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [78: 22464] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xc4359f 0xc43214 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc4359e github.com/gorilla/mux.extractVars+0x4fe github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0xc43213 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x173 github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 1392] @ 0x479c9a 0x479caf 0x54373c 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54373b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1074 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [158: 10112] @ 0x50f21d 0xafb2c5 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2c4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:560 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [131: 14672] @ 0x4125d4 0xb08baa 0xb081e9 0x113e93d 0x483fe1 # 0xb08ba9 github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xa9 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:177 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [28: 3584] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [120: 69120] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x2611ea5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x2611ea4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1544 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:211 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 24192] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x179ead2 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x179ead1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0xb1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [46: 1472] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [113: 25312] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [28: 448] @ 0x16b0eeb 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 256] @ 0x1f7b0f7 0x1f7b0e6 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7b0f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:598 # 0x1f7b0e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:65 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [155: 3720] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 80] @ 0x111ce6a 0x111d4b5 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x111ce69 github.com/lib/pq.(*conn).parseComplete+0x189 github.com/lib/pq@v1.10.9/conn.go:1489 # 0x111d4b4 github.com/lib/pq.(*rows).Next+0x174 github.com/lib/pq@v1.10.9/conn.go:1593 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [182: 209664] @ 0x25050f1 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x25050f0 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x30 github.com/mattermost/mattermost/server/v8/channels/web/params.go:128 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [96: 6144] @ 0xae2488 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [67: 2144] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [162: 2592] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 864] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 49280] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [23: 1104] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7510ca 0x755918 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7510c9 net/http.(*conn).readRequest+0x6c9 net/http/server.go:1083 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [43: 688] @ 0x933ea5 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933ea4 github.com/hashicorp/yamux.newStream+0x84 github.com/hashicorp/yamux@v0.1.2/stream.go:72 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [13: 1456] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x18520c5 0x185209f 0x11adcb0 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18520c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x185209e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0xbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:442 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [17: 1904] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x1837de5 0x1837d3c 0x1837c9a 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1837de4 github.com/lann/builder.Append+0x504 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1837d3b github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x45b github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1837c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:44 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [152: 9728] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [4: 320] @ 0x2421bf1 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2421bf0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x70 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:57 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 240] @ 0x543188 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543187 encoding/json.(*decodeState).literalStore+0x1f67 encoding/json/decode.go:986 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [266: 8716288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x545e9d 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x545e9c encoding/json.boolEncoder+0x1dc encoding/json/encode.go:519 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 1680] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [78: 32448] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [46: 1472] @ 0xbfa9da 0xbfa9db 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa9d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x219 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfa9da github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x21a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:493 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [66: 46464] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [442: 2149888] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 640] @ 0x535245 0x535350 0x53a585 0x569b7f 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [133: 4256] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [91: 8736] @ 0xae38f2 0xae38b4 0xae38b3 0xafa535 0x113eea5 0x483fe1 # 0xae38f1 bufio.NewReaderSize+0xb1 bufio/bufio.go:56 # 0xae38b3 bufio.NewReader+0x73 bufio/bufio.go:63 # 0xae38b2 encoding/gob.NewDecoder+0x72 encoding/gob/decoder.go:49 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [229: 14656] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 1856] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [44: 1408] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 4368] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 20480] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x17372f3 0x173728b 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x17372f2 database/sql.(*DB).Query+0x552 database/sql/sql.go:1755 # 0x173728a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2244 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 753664] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [20: 320] @ 0x243d118 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x243d117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:115 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 47360] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1807846 0x18077f2 0x16e6cc4 0x1fff496 0x1f7b6ae 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1807845 database/sql.(*DB).Query+0x1c5 database/sql/sql.go:1755 # 0x18077f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:221 # 0x16e6cc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10916 # 0x1fff495 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8628 # 0x1f7b6ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x62d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:87 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 72] @ 0x5275a6 0x16a9a36 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16ae35d 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a9a35 github.com/mattermost/squirrel.Eq.toSQL+0xe95 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [104: 9984] @ 0x11990a5 0x1199069 0x1199025 0x113e77f 0x483fe1 # 0x11990a4 bufio.NewReaderSize+0xa4 bufio/bufio.go:56 # 0x1199068 bufio.NewReader+0x68 bufio/bufio.go:63 # 0x1199024 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x24 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:34 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [3: 72] @ 0x175b5d1 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:430 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x24f8bd8 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f8bd7 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb37 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [41: 984] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 768] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 136] @ 0xadf966 0xae29d2 0xae300a 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [173: 4152] @ 0x50ee35 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [10: 640] @ 0x4c2ec9 0x4c2ee6 0x569b85 0x569b51 0x118d58e 0x118d528 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4c2ec8 internal/filepathlite.(*lazybuf).string+0x828 internal/filepathlite/path.go:61 # 0x4c2ee5 internal/filepathlite.Clean+0x845 internal/filepathlite/path.go:137 # 0x569b84 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x569b50 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x118d58d path/filepath.Join+0x14d path/filepath/path.go:131 # 0x118d527 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0xe7 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x1869919 0x18697b0 0x16f4ad5 0x200f236 0x1f7e6c9 0x2493a4f 0x2493a33 0x22b27d6 0x22b2725 0x241660a 0x2461bc5 0xbf187e 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1869918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18697af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:630 # 0x16f4ad4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14873 # 0x200f235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11696 # 0x1f7e6c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x208 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:141 # 0x2493a4e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x2493a32 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:525 # 0x22b27d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:181 # 0x22b2724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:169 # 0x2416609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1e9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2267 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [68: 1632] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 672] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b208c 0x16b1fbb 0x16b20b0 0x175b39f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b208b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b1fba github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x16b20af github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x175b39e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 3248] @ 0x56458a 0x7ed162 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7ed161 database/sql.(*Rows).awaitDone+0xa1 database/sql/sql.go:3016 0: 0 [26: 2496] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2040ed3 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2040ed2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [68: 1632] @ 0x209f26e 0x209f2a3 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209f26d github.com/getsentry/sentry-go.WithTransactionName+0xad github.com/getsentry/sentry-go@v0.36.0/tracing.go:930 # 0x209f2a2 github.com/getsentry/sentry-go.StartTransaction+0xe2 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1060 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 6480] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 192] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b165b 0x16b15db 0x186f917 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x186f916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x156 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1128 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [105: 6720] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [36: 13824] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [9: 1152] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 10656] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1728bc5 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728bc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1156 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 13440] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 288] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7d65 0xaf6eff 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7d64 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xaf6efe net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [41: 984] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [126: 8064] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [14: 1120] @ 0x2485765 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2485764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1697 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [62: 1488] @ 0x50ee35 0x53f4ea 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x53f4e9 encoding/json.(*decodeState).array+0x649 encoding/json/decode.go:589 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 160] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [54: 19008] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x7496dc 0x7496aa 0x749953 0x749d7b 0x261102c 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x7496db net/url.ParseQuery+0x37b net/url/url.go:966 # 0x7496a9 net/http.(*Request).ParseForm+0x349 net/http/request.go:1345 # 0x749952 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x749d7a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x261102b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6cb github.com/mattermost/mattermost/server/v8/channels/api4/system.go:160 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 22016] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 816] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 6720] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 192] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x253c77d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x253c77c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x13c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1119 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 1440] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [119: 1904] @ 0xae2639 0xae25fe 0xae25fd 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2638 errors.New+0x338 errors/errors.go:65 # 0xae25fd encoding/gob.overflow+0x2fd encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [4: 256] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [186: 23808] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [99: 4752] @ 0x1121cfa 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121cf9 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.10.9/conn_go18.go:105 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [25: 8800] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [120: 11520] @ 0x4d4f45 0x4d527d 0x4d2fbe 0xbc2e0e 0xbc2e05 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4d4f44 os.newFile+0x64 os/file_unix.go:163 # 0x4d527c os.openFileNolog+0x17c os/file_unix.go:297 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2e0d os.Open+0x3cd os/file.go:370 # 0xbc2e04 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3c4 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [147: 18816] @ 0x113e0b9 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e0b8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x198 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:433 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 14592] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [221: 24752] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [66: 9504] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [62: 11904] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 2880] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 393216] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [111: 23088] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7510ca 0x755918 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7510c9 net/http.(*conn).readRequest+0x6c9 net/http/server.go:1083 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [26: 624] @ 0x6cf347 0x6cf172 0x23f9d48 0x23f9d37 0x23f9d23 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf171 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:660 # 0x23f9d47 net/textproto.MIMEHeader.Del+0x3e7 net/textproto/header.go:55 # 0x23f9d36 net/http.Header.Del+0x3d6 net/http/header.go:81 # 0x23f9d22 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x3c2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:189 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 4608] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cf3a8 0x10cf386 0x10cf333 0x203d515 0x203d852 0x2041065 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cf3a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf385 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x10cf332 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithDefaultExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:68 # 0x203d514 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x203d851 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x2041064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [166: 1359872] @ 0x4d3fb9 0x4d3e69 0x250cf8c 0x24faed6 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x250cf8b github.com/mattermost/mattermost/server/v8/channels/web.root+0x2eb github.com/mattermost/mattermost/server/v8/channels/web/static.go:84 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [210: 73920] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x250511f 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [280: 80640] @ 0x2462a5c 0x2462a43 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2462a5b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x2462a42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x535245 0x535350 0x53b205 0x16a9951 0x16a8be2 0x16b7785 0x16b7786 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53b204 strings.Repeat+0x2e4 strings/strings.go:673 # 0x16a9950 github.com/mattermost/squirrel.Placeholders+0xdb0 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x16a8be1 github.com/mattermost/squirrel.Eq.toSQL+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x16b7784 github.com/mattermost/squirrel.Eq.ToSql+0x84 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7785 github.com/mattermost/squirrel.wherePart.ToSql+0x85 github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 640] @ 0x933e5d 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933e5c github.com/hashicorp/yamux.newStream+0x3c github.com/hashicorp/yamux@v0.1.2/stream.go:69 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [25: 3200] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [93: 4464] @ 0x16ae766 0x16b7a3c 0x16aedcd 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae765 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [65: 2080] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [136: 95744] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x24fc9cc 0x24fc967 0x24fc949 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fc9cb net/textproto.MIMEHeader.Set+0xceb net/textproto/header.go:22 # 0x24fc966 net/http.Header.Set+0xc86 net/http/header.go:40 # 0x24fc948 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc68 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:432 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 1088] @ 0xae245d 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae245c encoding/gob.(*Decoder).compileDec+0x15c encoding/gob/decode.go:1152 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [54: 2592] @ 0x461d32 0x4612a5 0x4614c5 0xae0269 0xae0239 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae0268 encoding/gob.overflow+0x9c8 encoding/gob/decode.go:109 # 0xae0238 encoding/gob.(*Decoder).decOpFor+0x998 encoding/gob/decode.go:864 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [10: 480] @ 0x1117cd8 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117cd7 github.com/lib/pq.decideColumnFormats+0x117 github.com/lib/pq@v1.10.9/conn.go:821 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [96: 4608] @ 0x16b1585 0x16b15db 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [60: 960] @ 0x797f6c 0x7985bb 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x797f6b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7985ba regexp.(*Regexp).doExecute+0x29a regexp/exec.go:532 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 17920] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 19584] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x18893be 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x18893bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:179 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 27840] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [76: 1824] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 112] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 4800] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 976] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 608] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 960] @ 0x8978b5 0x8e051f 0x8e0427 0x8e01e5 0x8e1116 0x8e10f9 0x8e2e5f 0x8e2c25 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x8978b4 github.com/mattermost/go-i18n/i18n/language.Parse+0x4b4 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8e051e github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).translatedLanguage+0x3e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:330 # 0x8e0426 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).supportedLanguage+0x26 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:317 # 0x8e01e4 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x44 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:304 # 0x8e1115 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).Tfunc+0x35 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:288 # 0x8e10f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8e2e5e github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:291 # 0x8e2c24 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 704] @ 0x16b0eeb 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0eea github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [11: 176] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [57: 1824] @ 0xc02037 0xc02038 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc02036 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc02037 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 2784] @ 0x16b0825 0x16b07b9 0x17c6a6d 0x17c6a56 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x17c6a6c github.com/mattermost/squirrel.StatementBuilderType.Select+0x2ac github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c6a55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x295 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1336 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 42240] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [300: 1459200] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [98: 34496] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [325: 15600] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [159: 223872] @ 0x12578b9 0x125c637 0x182b7ac 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 1120] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 5040] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b5734 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b5733 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 448] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 240] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [103: 4944] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [213: 3408] @ 0xae2639 0xae25fe 0xae25fd 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2638 errors.New+0x338 errors/errors.go:65 # 0xae25fd encoding/gob.overflow+0x2fd encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [403: 141856] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x119889c 0x1198808 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x119889b maps.Copy[...]+0x15b maps/maps.go:64 # 0x1198807 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).SyncHeader+0xc7 github.com/mattermost/mattermost/server/public/plugin/http.go:59 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [220: 24640] @ 0x1121ce9 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121ce8 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.10.9/conn_go18.go:104 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [144: 2304] @ 0x50f21d 0xafb2dc 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2db net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:562 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [61: 499712] @ 0x4e20f4 0x4e1b1d 0x4e238b 0x54700e 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0x54700d encoding/json.structEncoder.encode+0x26d encoding/json/encode.go:719 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [179: 481152] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [21: 336] @ 0xaf868d 0x113eca5 0x113ec1b 0x483fe1 # 0xaf868c net/rpc.(*Server).register+0x40c net/rpc/server.go:275 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [233: 41008] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 2880] @ 0x535245 0x535350 0x53a585 0x16aadbf 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x16aadbe github.com/mattermost/squirrel.conj.join+0x2be github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [151: 21744] @ 0x62eb25 0x62e809 0x124a831 0x23fa8c9 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x124a830 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x23fa8c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:218 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [54: 864] @ 0x171f045 0x171f954 0x1742778 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171f044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x7e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:260 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x1742777 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x175b686 0x175b657 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x175b685 github.com/mattermost/squirrel.StatementBuilderType.Select+0x8c5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x175b656 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:432 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [108: 1728] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x54e3fa 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [175: 8400] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [57: 2736] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3: 144] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [309: 4944] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [143: 9152] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [94: 84224] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 384] @ 0x48edbc 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54547d 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48edbb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54547c encoding/json.addrMarshalerEncoder+0x1dc encoding/json/encode.go:475 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 8448] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [211: 13504] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 192] @ 0x2716257 0x2732f5a 0x2738225 0x6bf185 0x697258 0x693725 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x2732f59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x2738224 crypto/internal/fips140/tls13.ExpandLabel[...]+0x264 crypto/internal/fips140/tls13/tls13.go:39 # 0x6bf184 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:37 # 0x697257 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x97 crypto/tls/handshake_client_tls13.go:720 # 0x693724 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x764 crypto/tls/handshake_client_tls13.go:139 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [85: 4080] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x25070ce 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x25070cd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x200d github.com/mattermost/mattermost/server/v8/channels/web/params.go:238 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 672] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [72: 1152] @ 0x50f21d 0x53fe27 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [103: 9888] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [134: 21440] @ 0x203a297 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203a296 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:128 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [81: 7776] @ 0xbfb6f8 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb6f7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf37 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [218: 24416] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [62: 2976] @ 0xb6f385 0xb6f377 0xc17ea8 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0xc17ea7 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 648] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 16896] @ 0x22dbf94 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dbf93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x153 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3570 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 1120] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [75: 67200] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [126: 2016] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [69: 3312] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 1664] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16b4d8e 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16b4d8d github.com/mattermost/squirrel.(*updateData).ToSql+0xa6d github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [256: 4096] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [78: 4992] @ 0xafa629 0xafa5dc 0xafa701 0x113eea5 0x483fe1 # 0xafa628 encoding/gob.(*Encoder).newEncoderState+0x228 encoding/gob/encode.go:82 # 0xafa5db encoding/gob.NewEncoder+0x1db encoding/gob/encoder.go:38 # 0xafa700 net/rpc.(*Server).ServeConn+0x300 net/rpc/server.go:450 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [29: 12064] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [39: 312] @ 0xae2fb1 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fb0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1190 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [138: 6624] @ 0x208fe36 0x208fe13 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208fe35 github.com/getsentry/sentry-go.NewHub+0x55 github.com/getsentry/sentry-go@v0.36.0/hub.go:68 # 0x208fe12 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.36.0/hub.go:120 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [365: 5840] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [93: 5952] @ 0xb8908a 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb89089 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x49 github.com/mattermost/mattermost/server/public/model/bundle_info.go:28 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [96: 27648] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x182ff3f 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x182ff3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [65: 2080] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [69: 4416] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [82: 1312] @ 0x16a968e 0x16a9b75 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a968d github.com/mattermost/squirrel.Eq.toSQL+0xaed github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [243: 5832] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [42: 1344] @ 0xae9758 0xae95ea 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9757 encoding/gob.(*encBuffer).WriteString+0x277 encoding/gob/encode.go:60 # 0xae95e9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [4: 512] @ 0x7e84ef 0x7e83ad 0x7e825e 0x7e5ae2 0x7e81ac 0x125caaf 0x125ca98 0x18296ff 0x17dd5f9 0x16dc735 0x1ff3976 0x2416715 0x2461bc5 0xbf187e 0x483fe1 # 0x7e84ee database/sql.(*DB).beginDC+0xee database/sql/sql.go:1916 # 0x7e83ac database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x7e825d database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e81ab database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x125caae database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x125ca97 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x18296fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Beginx+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:96 # 0x17dd5f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3214 # 0x16dc734 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8096 # 0x1ff3975 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6469 # 0x2416714 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x2f4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2278 # 0x2461bc4 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1759 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [62: 7936] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 624] @ 0x4cfd25 0x4cf59d 0x4cf6e8 0x118d46f 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4cfd24 os.(*File).readdir+0x4c4 os/dir_unix.go:132 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [60: 1440] @ 0x934029 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x934028 github.com/hashicorp/yamux.newStream+0x208 github.com/hashicorp/yamux@v0.1.2/stream.go:79 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [39: 13728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25de7e9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de7e8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x148 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:194 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 64] @ 0xad8c45 0xadd112 0xade4e5 0xae0633 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xad8c44 encoding/gob.decStringSlice+0x1a4 encoding/gob/dec_helpers.go:378 # 0xadd111 encoding/gob.(*Decoder).decodeArrayHelper+0x91 encoding/gob/decode.go:540 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [13: 1040] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 24768] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [98: 137984] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [220: 7040] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [33: 12672] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [75: 2400] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [138: 6624] @ 0x208fe7b 0x208fe13 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208fe7a github.com/getsentry/sentry-go.NewHub+0x9a github.com/getsentry/sentry-go@v0.36.0/hub.go:69 # 0x208fe12 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.36.0/hub.go:120 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 1792] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [59: 1416] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 1152] @ 0x4aaf08 0xb08d98 0xb08d65 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0xb08d97 time.After+0x57 time/sleep.go:203 # 0xb08d64 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:189 0: 0 [27: 15552] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 2160] @ 0x479c9a 0x479caf 0xae2f1c 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f1b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1185 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [60: 61440] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [15: 240] @ 0x519c55 0xb089c6 0x483fe1 # 0x519c54 encoding/binary.Read+0x74 encoding/binary/binary.go:261 # 0xb089c5 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x65 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:150 0: 0 [121: 5808] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xadd8dd 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xadd8dc encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [565: 18080] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [8: 384] @ 0x20572cb 0x20572ad 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20572ca github.com/mattermost/mattermost/server/public/model.NewWebSocketResponse+0xaea github.com/mattermost/mattermost/server/public/model/websocket_message.go:430 # 0x20572ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xacc github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:100 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 2208] @ 0x479c9a 0x479caf 0xafa5b1 0xafa701 0x113eea5 0x483fe1 # 0xafa5b0 encoding/gob.NewEncoder+0x1b0 encoding/gob/encoder.go:37 # 0xafa700 net/rpc.(*Server).ServeConn+0x300 net/rpc/server.go:450 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [52: 26624] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [45: 9360] @ 0x543d27 0x2611f85 0x2611f86 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2611f84 github.com/mattermost/mattermost/server/public/model.ToJSON+0x1624 github.com/mattermost/mattermost/server/public/model/utils.go:574 # 0x2611f85 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1625 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [488: 140544] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 384] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [33: 4224] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x23e4afc 0x1135de8 0x1173e11 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x23e4afb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1099 # 0x1135de7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1046 # 0x1173e10 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0x50 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5451 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [85: 4080] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x2506f1d 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x2506f1c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1e5c github.com/mattermost/mattermost/server/v8/channels/web/params.go:213 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [206: 9888] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [61: 35136] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [96: 7680] @ 0x23fad6e 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fad6d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x140d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:250 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 688] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [437: 69920] @ 0x1117e4e 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [428: 205440] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 1536] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [641: 20512] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [147: 51744] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [98: 4704] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [256: 53248] @ 0xc17e85 0x2048289 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc17e84 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x44 github.com/mattermost/mattermost/server/public/model/websocket_request.go:35 # 0x2048288 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2c8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:492 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [65: 4160] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [429: 6864] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 1008] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b667b 0x16b6573 0x1830409 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b667a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b6572 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1830408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:118 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [146: 18688] @ 0xae985c 0xae982f 0xae983e 0xae9f1d 0xaec8ce 0xaea4d4 0xaecd39 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae985b encoding/gob.(*encBuffer).writeByte+0x3b encoding/gob/encode.go:51 # 0xae982e encoding/gob.(*encoderState).encodeUint+0xe encoding/gob/encode.go:109 # 0xae983d encoding/gob.encStructTerminator+0x1d encoding/gob/encode.go:263 # 0xae9f1c encoding/gob.(*Encoder).encodeStruct+0x2dc encoding/gob/encode.go:317 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [278: 6672] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [80: 81920] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 752] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [83: 1328] @ 0x5437e7 0x5437d0 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5437e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1184 # 0x5437cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1090 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [344: 138084352] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [248: 67043328] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 320] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 3520] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [31: 744] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [507: 210912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40e3fc 0xae2f4f 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f4e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1186 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [13: 208] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [93: 4464] @ 0x4ebcde 0x4ebd1d 0x4ebee5 0x250703d 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x4ebee4 strconv.Atoi+0x144 strconv/atoi.go:272 # 0x250703c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f7c github.com/mattermost/mattermost/server/v8/channels/web/params.go:230 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 624] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [291: 782208] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 2720] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 29184] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [141: 198528] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 384] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 352] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17b5af1 0x17b5a37 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b5af0 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b5a36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:47 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [41: 31488] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [78: 1872] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [101: 90496] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [18: 2016] @ 0x56458a 0x7e45fe 0x7e8a1a 0x7e5ae2 0x7e8949 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564589 context.(*cancelCtx).Done+0x129 context/context.go:451 # 0x7e45fd database/sql.(*DB).conn+0xdd database/sql/sql.go:1325 # 0x7e8a19 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e8948 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x17370ff 0x17370b7 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x17370fe github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x35e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x17370b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2234 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 912] @ 0x16b1585 0x16b15db 0x182ff95 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x182ff94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:104 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [96: 1536] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 528] @ 0x535245 0x535350 0x53a585 0x569b7f 0xbc2b74 0xbc2b00 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xbc2b73 path/filepath.Join+0x133 path/filepath/path.go:131 # 0xbc2aff github.com/mattermost/mattermost/server/public/model.FindManifest+0xbf github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [138: 6624] @ 0x209f015 0x209ef5b 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209f014 github.com/getsentry/sentry-go.ContinueFromHeaders+0xd4 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1000 # 0x209ef5a github.com/getsentry/sentry-go.ContinueTrace+0x1a github.com/getsentry/sentry-go@v0.36.0/tracing.go:983 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 33792] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1232] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x17b042f 0x17b0372 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x17b042e github.com/mattermost/squirrel.SelectBuilder.From+0x2ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x17b0371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [108: 5184] @ 0x114da59 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x114da58 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:686 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [315: 846720] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [94: 4512] @ 0x16b0e85 0x16b0e53 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [241: 123392] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [131: 4192] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [226: 14464] @ 0xae1bf0 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae1bef encoding/gob.(*Decoder).compileSingle+0x6f encoding/gob/decode.go:1100 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [35: 1120] @ 0xadc756 0xadc717 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadc755 encoding/gob.(*Decoder).newDecoderState+0x95 encoding/gob/decode.go:94 # 0xadc716 encoding/gob.(*Decoder).decodeStruct+0x56 encoding/gob/decode.go:470 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [34: 15232] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [155: 54560] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1198562 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1198561 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [16: 2560] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [558: 8928] @ 0x6cf347 0x6d008e 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6d008d net/textproto.readMIMEHeader+0x20d net/textproto/reader.go:552 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [67: 3216] @ 0x204701c 0x483fe1 # 0x204701b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0x13b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [75: 1200] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [124: 13888] @ 0xae2488 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [53: 2544] @ 0xafa6e5 0x113eea5 0x483fe1 # 0xafa6e4 net/rpc.(*Server).ServeConn+0x2e4 net/rpc/server.go:447 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [59: 9440] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x179ec4e 0x179ebf3 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x179ec4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x179ebf2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:325 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [15: 2400] @ 0x16b4d5f 0x16b4cfd 0x16b57dd 0x182bc47 0x18309b8 0x1830957 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x16b4d5e bytes.(*Buffer).String+0xa3e bytes/buffer.go:71 # 0x16b4cfc github.com/mattermost/squirrel.(*updateData).ToSql+0x9dc github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x16b57dc github.com/mattermost/squirrel.UpdateBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18309b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1830956 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x896 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:132 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [33: 792] @ 0x4aaf08 0xb08211 0xb081c5 0x113e52d 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0xb08210 time.After+0x70 time/sleep.go:203 # 0xb081c4 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:61 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [57: 32832] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [114: 262656] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1680] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x18445b6 0x184456e 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18445b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x184456d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1168 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [335: 1372160] @ 0x776a75 0x776a1d 0x776b34 0x7557ea 0x483fe1 # 0x776a74 bufio.NewReaderSize+0x1f4 bufio/bufio.go:57 # 0x776a1c bufio.NewReader+0x19c bufio/bufio.go:63 # 0x776b33 net/http.newBufioReader+0x2b3 net/http/server.go:859 # 0x7557e9 net/http.(*conn).serve+0x269 net/http/server.go:2013 0: 0 [218: 10464] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x1255432 0x1255419 0x126060a 0x125ff55 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x1255431 reflect.MakeMap+0x171 reflect/value.go:2950 # 0x1255418 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x1260609 github.com/jmoiron/sqlx.fieldsByTraversal+0x189 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x125ff54 github.com/jmoiron/sqlx.scanAll+0x674 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [71: 1136] @ 0x171ee05 0x171f954 0x17421f8 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x171ee04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:245 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x17421f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x377 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [31: 992] @ 0x23fa56f 0x23f9f9d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fa56e github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0xc0e github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x23f9f9c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x63c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:209 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 11200] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 288] @ 0xbfc452 0xbfc418 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [142: 690688] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 224] @ 0x409dd2 0x408179 0x479ce9 0x752368 0x751ef7 0x754c57 0x7549ea 0x24e3764 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x754c56 net/http.(*response).write+0x1d6 net/http/server.go:1688 # 0x7549e9 net/http.(*response).Write+0x29 net/http/server.go:1665 # 0x24e3763 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xa3 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:292 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [89: 2848] @ 0x409dd2 0x408179 0x479ce9 0x6cff11 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [203: 19488] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [56: 57344] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x2652370 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x265236f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1040 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [67: 1608] @ 0x209ecc5 0x2458f1e 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209ecc4 github.com/getsentry/sentry-go.WithOpName+0x24 github.com/getsentry/sentry-go@v0.36.0/tracing.go:944 # 0x2458f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x17d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:100 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 4416] @ 0x479c9a 0x479caf 0x564885 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x564884 context.(*cancelCtx).propagateCancel+0x124 context/context.go:490 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [73: 51392] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 4608] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [283: 6792] @ 0x50ee35 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [84: 6720] @ 0x113ec12 0x113ec06 0x483fe1 # 0x113ec11 net/rpc.NewServer+0x331 net/rpc/server.go:197 # 0x113ec05 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x325 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:411 0: 0 [6: 288] @ 0x4ebcde 0x4ebd1d 0x2508a65 0x24f8628 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x2508a64 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x39a4 github.com/mattermost/mattermost/server/v8/channels/web/params.go:302 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [82: 5248] @ 0xae9d05 0xae9cc9 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9d04 encoding/gob.(*Encoder).newEncoderState+0xc4 encoding/gob/encode.go:82 # 0xae9cc8 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [251: 28112] @ 0x4125d4 0x114daf7 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0x114daf6 net/rpc.(*Client).Call+0xf6 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [340: 76160] @ 0x24fb385 0x24faf64 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fb384 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 688] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [43: 22016] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [50: 2400] @ 0x407ff2 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [176: 28160] @ 0xafa546 0xafa701 0x113eea5 0x483fe1 # 0xafa545 encoding/gob.NewEncoder+0x145 encoding/gob/encoder.go:35 # 0xafa700 net/rpc.(*Server).ServeConn+0x300 net/rpc/server.go:450 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [138: 194304] @ 0x12578b9 0x125c637 0x182b7ac 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [102: 3264] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x111627c 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111627b github.com/lib/pq.parseOpts+0x5bb github.com/lib/pq@v1.10.9/conn.go:549 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 17280] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [249: 71712] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x543848 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 32] @ 0x695845 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x695844 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x224 crypto/tls/handshake_client_tls13.go:511 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [31: 9920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x175b9ab 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175b9aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:439 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [247: 19760] @ 0x6143f4 0x74fa77 0x483fe1 # 0x6143f3 net.(*conn).Read+0xb3 net/net.go:196 # 0x74fa76 net/http.(*connReader).backgroundRead+0x36 net/http/server.go:690 0: 0 [44: 1408] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [28: 1344] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0x53ff05 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [363: 63888] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [89: 4272] @ 0x565d65 0x11b1105 0x11b10d9 0x247d228 0x247d1fa 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0x11b1104 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0x11b10d8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x247d227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x247d1f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0x59 github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [75: 14400] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [165: 5280] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [71: 17040] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [79: 17696] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [14: 1568] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 432] @ 0x16b0a6b 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0a6a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 4256] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [22: 2816] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16ab751 0x16ac827 0x1837e11 0x16ec5b2 0x2005b4b 0x22a81d2 0x26110a5 0x24faed6 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16ab750 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x16ac826 github.com/mattermost/squirrel.InsertBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1837e10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x530 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:46 # 0x16ec5b1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12581 # 0x2005b4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9908 # 0x22a81d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:128 # 0x26110a4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:164 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [127: 4064] @ 0x461e06 0x11250e5 0x111cb36 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11250e4 github.com/lib/pq.encode+0x84 github.com/lib/pq@v1.10.9/encode.go:48 # 0x111cb35 github.com/lib/pq.(*stmt).exec+0x815 github.com/lib/pq@v1.10.9/conn.go:1447 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 7360] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 2448] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0x53fa4a 0x53fa24 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0x53fa49 reflect.MakeMap+0x469 reflect/value.go:2950 # 0x53fa23 encoding/json.(*decodeState).object+0x443 encoding/json/decode.go:644 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [112: 32256] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [115: 3680] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [387: 9288] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [66: 38016] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 11264] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25de709 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de708 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 576] @ 0x50afcb 0x4f9a31 0x5475be 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0x479c9a 0x479caf 0x175c5e5 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175c5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:501 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [166: 84992] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [164: 26240] @ 0x491fed 0x491fe1 0x4916fc 0x4916eb 0xaf86ba 0xaf8675 0x113eca5 0x113ec1b 0x483fe1 # 0x491fec internal/sync.newIndirectNode[...]+0xcc internal/sync/hashtriemap.go:550 # 0x491fe0 internal/sync.(*HashTrieMap[...]).initSlow+0xc0 internal/sync/hashtriemap.go:50 # 0x4916fb internal/sync.(*HashTrieMap[...]).init+0x7b internal/sync/hashtriemap.go:32 # 0x4916ea internal/sync.(*HashTrieMap[...]).LoadOrStore+0x6a internal/sync/hashtriemap.go:89 # 0xaf86b9 sync.(*Map).LoadOrStore+0x439 sync/hashtriemap.go:67 # 0xaf8674 net/rpc.(*Server).register+0x3f4 net/rpc/server.go:275 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [560: 161280] @ 0x1254e6d 0x125ee4c 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125ee4b github.com/jmoiron/sqlx.(*Row).scanAny+0x44b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [27: 864] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [102: 8160] @ 0x709152 0x22ad450 0x22ad45b 0x24f95ef 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x22ad44f net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x22ad45a github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [139: 195712] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [36: 18432] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [118: 22656] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [175: 201600] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [163: 146048] @ 0x5474d6 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [332: 5312] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 288] @ 0x111f16b 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [262: 4192] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [85: 76160] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [124: 39680] @ 0x5474d6 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [116: 1856] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [27: 648] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [450: 64800] @ 0x62eb25 0x62e9a6 0x776116 0x750c27 0x755918 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e9a5 net/url.ParseRequestURI+0x25 net/url/url.go:497 # 0x776115 net/http.readRequest+0x435 net/http/request.go:1123 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [122: 156160] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [113: 57856] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [767: 98176] @ 0xafaad1 0xafa758 0x113eea5 0x483fe1 # 0xafaad0 net/rpc.(*Server).ServeCodec+0x290 net/rpc/server.go:478 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [36: 11520] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [26: 416] @ 0x50f21d 0x7de6a5 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x7de6a4 database/sql.convertAssignRows+0x1c84 database/sql/convert.go:436 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [54: 15552] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [221: 10608] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [424: 6784] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 16896] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175bafd 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175bafc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [69: 39744] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1408] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [55: 17600] @ 0xc40d3f 0xc40db2 0xc3e48a 0x7770ee 0x755ba5 0x483fe1 # 0xc40d3e net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0xc40db1 github.com/gorilla/mux.requestWithRoute+0xf1 github.com/gorilla/mux@v1.8.1/mux.go:455 # 0xc3e489 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [42: 1344] @ 0xae245d 0xae300a 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae245c encoding/gob.(*Decoder).compileDec+0x15c encoding/gob/decode.go:1152 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [17: 408] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [200: 51200] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125c147 0x125f1d2 0x1260b39 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f52f4d 0x1f522fa 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125c146 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x125f1d1 github.com/jmoiron/sqlx.(*Row).scanAny+0x7d1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f52f4c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [145: 185600] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [50: 204800] @ 0x1115170 0x1115147 0x1115032 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111516f bufio.NewReaderSize+0x3ef bufio/bufio.go:57 # 0x1115146 bufio.NewReader+0x3c6 bufio/bufio.go:63 # 0x1115031 github.com/lib/pq.(*Connector).open+0x2b1 github.com/lib/pq@v1.10.9/conn.go:389 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [283: 869376] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [63: 72576] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x22dc189 0x253cbe5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x22dc188 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x348 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3575 # 0x253cbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1153 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 816] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [128: 14336] @ 0xae2488 0xae300a 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [117: 7488] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [24: 5376] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 960] @ 0x1261039 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1261038 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 109056] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [66: 1056] @ 0xc1aba8 0x5453fa 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc1aba7 github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x27 github.com/mattermost/mattermost/server/public/model/channel.go:465 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 11264] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [507: 105456] @ 0x933ef8 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933ef7 github.com/hashicorp/yamux.newStream+0xd7 github.com/hashicorp/yamux@v0.1.2/stream.go:65 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [10: 320] @ 0x409dd2 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 3840] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x111750c 0x11174ca 0x1118d85 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111750b github.com/lib/pq.(*writeBuf).string+0x10b github.com/lib/pq@v1.10.9/buf.go:69 # 0x11174c9 github.com/lib/pq.(*conn).simpleQuery+0xc9 github.com/lib/pq@v1.10.9/conn.go:704 # 0x1118d84 github.com/lib/pq.(*conn).query+0x3c4 github.com/lib/pq@v1.10.9/conn.go:903 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x182f070 0x182efa2 0x182ee0c 0x16ebd32 0x200514b 0x2041104 0x2517c37 0x2517c0c 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x182f06f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x182efa1 github.com/mattermost/squirrel.InsertBuilder.Values+0x421 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x182ee0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x28b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:48 # 0x16ebd31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12392 # 0x200514a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9764 # 0x2041103 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x2517c36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x2517c0b github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xab github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1167: 672192] @ 0x12575bb 0x125c637 0x1829914 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 16128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [695: 311360] @ 0x24fb61d 0x24faf64 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fb61c github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x55c github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:166 # 0x24faf63 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2ec3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 6336] @ 0x175ca15 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ca14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x5b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:523 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [247: 7904] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [45: 1440] @ 0xc020b8 0xc020b9 0xbfb77e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc020b7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc020b8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xbfb77d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xfbd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [432: 6912] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9efe 0xaec8ce 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [12: 192] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 832] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [108: 62208] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 49152] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [185: 20720] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [176: 25344] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae3c73 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae3c72 encoding/gob.(*Decoder).recvType+0x112 encoding/gob/decoder.go:75 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [68: 1632] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [209: 6688] @ 0xae245d 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae245c encoding/gob.(*Decoder).compileDec+0x15c encoding/gob/decode.go:1152 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [55: 31680] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [34: 544] @ 0xad8c45 0xadd112 0xade4e5 0xae0633 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xad8c44 encoding/gob.decStringSlice+0x1a4 encoding/gob/dec_helpers.go:378 # 0xadd111 encoding/gob.(*Decoder).decodeArrayHelper+0x91 encoding/gob/decode.go:540 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [10: 1310720] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x54703e 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x54703d encoding/json.structEncoder.encode+0x29d encoding/json/encode.go:722 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 180224] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 432] @ 0x16b0825 0x16b07b9 0x177b25a 0x177b237 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x177b259 github.com/mattermost/squirrel.StatementBuilderType.Select+0x139 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x177b236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:354 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 640] @ 0x461d32 0x4612a5 0x46140a 0xb1242f 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1242e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x8e github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2880] @ 0x12575bb 0x125c637 0x182b7ac 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x409dd2 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 2160] @ 0x53dab7 0xc124b2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc124b1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [117: 569088] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 384] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [72: 350208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x2652c3c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x2652c3b github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1104 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2112] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 64] @ 0x54045d 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [4: 1408] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 112] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x177b465 0x177b3f2 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x177b464 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x344 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x177b3f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x2d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:357 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 1152] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 3840] @ 0x12575bb 0x125c637 0x1829914 0x1829d45 0x184e3cb 0x16f1baa 0x200bbea 0x24a97d9 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184e3ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x18a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:163 # 0x16f1ba9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14042 # 0x200bbe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11042 # 0x24a97d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2710 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 16640] @ 0x12575bb 0x125c637 0x182b7ac 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [176: 4224] @ 0x11258a6 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 288] @ 0x179ac1a 0x16d7375 0x1feda4e 0x1f4e163 0x1f496ae 0x1f52f84 0x1f522fa 0x483fe1 # 0x179ac19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x16d7374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6608 # 0x1feda4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5302 # 0x1f4e162 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x1f496ad github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x1f52f83 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [245: 7840] @ 0xadbf98 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [136: 4352] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [167: 4008] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [274: 30688] @ 0x4125d4 0x933ea5 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933ea4 github.com/hashicorp/yamux.newStream+0x84 github.com/hashicorp/yamux@v0.1.2/stream.go:72 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [11: 880] @ 0x461d32 0x4612a5 0x46140a 0x1851d19 0x1851cfa 0x11adcb0 0x483fe1 # 0x1851d18 github.com/mattermost/squirrel.SelectBuilder.Join+0x258 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1851cf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x239 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [126: 4032] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [46: 17664] @ 0x7ed512 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ed511 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [99: 4752] @ 0x479c9a 0x479caf 0x1841c5f 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841c5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 4544] @ 0xaee4c5 0xaee9d6 0xaee726 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaee4c4 encoding/gob.(*Encoder).sendActualType+0x104 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaee725 encoding/gob.(*Encoder).sendActualType+0x365 encoding/gob/encoder.go:129 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [196: 12544] @ 0x20a690e 0x2459018 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a690d github.com/getsentry/sentry-go/internal/httputils.NewWrapResponseWriter+0x4d github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:38 # 0x2459017 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x277 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:111 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 2688] @ 0x479c9a 0x479caf 0xae2f1c 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f1b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1185 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [44: 704] @ 0x2458fd7 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2458fd6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x236 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:109 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 14720] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [161: 23184] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae2fcb 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fca encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1191 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [8: 512] @ 0x9317a5 0x934ec5 0x9349f2 0x5735c7 0xaee15f 0xaef0e8 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5735c6 bufio.(*Writer).Write+0xe6 bufio/bufio.go:683 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaef0e7 encoding/gob.(*Encoder).EncodeValue+0x447 encoding/gob/encoder.go:253 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [219: 98112] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [61: 976] @ 0x16ae8ad 0x16b7a3c 0x16aedcd 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae8ac github.com/mattermost/squirrel.replacePositionalPlaceholders+0x18c github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [35: 15680] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [132: 14784] @ 0x48037c 0x4aaf48 0xb08211 0xb081c5 0x113e52d 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0xb08210 time.After+0x70 time/sleep.go:203 # 0xb081c4 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:61 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [6: 1920] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x25dede7 0x25dedba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x25dede6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x746 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x25dedb9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x719 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:217 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [180: 8640] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [392: 75264] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [91: 7280] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [134: 15008] @ 0x4125d4 0x4aaf08 0xb08211 0xb081c5 0x113e93d 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0xb08210 time.After+0x70 time/sleep.go:203 # 0xb081c4 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:61 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [310: 277760] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [50: 4800] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf5a5 0x10cf533 0x204015e 0x204020e 0x2042cf3 0x2048665 0x2029802 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x204015d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x204020d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2042cf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x2048664 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump.func2.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:459 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [80: 2560] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [18: 5184] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17b04f5 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17b04f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [175: 851200] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [474: 136512] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfb3e5 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xc24 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [47: 24064] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [41: 31488] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 576] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x179d690 0x179d603 0x16d781d 0x1fedfa3 0x1f4e7e8 0x1f4a09e 0x1f49d4a 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x179d68f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x179d602 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x722 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x16d781c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6692 # 0x1fedfa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5366 # 0x1f4e7e7 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x1f4a09d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x1f49d49 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xa9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [20: 960] @ 0x407ff2 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x260db99 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x260db98 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x438 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [141: 4512] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [7: 3584] @ 0x461f4a 0x1115cfe 0x1115cee 0x1122fc8 0x1114ccc 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1115cfd github.com/lib/pq.newScanner+0x3d github.com/lib/pq@v1.10.9/conn.go:457 # 0x1115ced github.com/lib/pq.parseOpts+0x2d github.com/lib/pq@v1.10.9/conn.go:485 # 0x1122fc7 github.com/lib/pq.NewConnector+0x267 github.com/lib/pq@v1.10.9/connector.go:72 # 0x1114ccb github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.10.9/conn.go:335 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [484: 216832] @ 0x85a02c 0x859fc8 0x23fadfd 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x85a02b github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x859fc7 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x23fadfc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x149c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:250 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 15808] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x175c817 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175c816 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [142: 6816] @ 0x479c9a 0x479caf 0x2095270 0x2097633 0x208fe12 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209526f github.com/getsentry/sentry-go.NewScope+0x2f github.com/getsentry/sentry-go@v0.36.0/scope.go:60 # 0x2097632 github.com/getsentry/sentry-go.(*Scope).Clone+0x92 github.com/getsentry/sentry-go@v0.36.0/scope.go:328 # 0x208fe11 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.36.0/hub.go:118 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 4736] @ 0x203efc8 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203efc7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [73: 1168] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [166: 13280] @ 0xaf7f66 0x114db2a 0x114dadf 0x1197542 0x20470fc 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2046f93 0x483fe1 # 0xaf7f65 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x114db29 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x114dade github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:689 # 0x1197541 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:199 # 0x20470fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer.func1+0x3b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:290 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2046f92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [4: 512] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x17b5d6f 0x17b5cf9 0x16e0564 0x1ff7f16 0x242f56e 0x2421df0 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b5cf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x438 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x16e0563 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9089 # 0x1ff7f15 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7236 # 0x242f56d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:24 # 0x2421def github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26f github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 288] @ 0x541f1b 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f1a encoding/json.(*decodeState).literalStore+0xcfa encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [285: 13680] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [11: 352] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [266: 29792] @ 0x4125d4 0x933e73 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933e72 github.com/hashicorp/yamux.newStream+0x52 github.com/hashicorp/yamux@v0.1.2/stream.go:70 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [36: 11520] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0xafa87e 0xafa758 0x113eea5 0x483fe1 # 0xafa87d net/rpc.(*Server).ServeCodec+0x3d net/rpc/server.go:459 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [381: 36576] @ 0x5275a6 0x7462b7 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7462b6 net/http.(*Request).AddCookie+0xf6 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [95: 72960] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [127: 178816] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [273: 21840] @ 0x563a9b 0x563a7d 0x7510ca 0x755918 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7510c9 net/http.(*conn).readRequest+0x6c9 net/http/server.go:1083 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [15: 4800] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 448] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b093f 0x17b0371 0x17b02b7 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17b0370 github.com/mattermost/squirrel.StatementBuilderType.Select+0x230 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17b02b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 16192] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x25de9aa 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25de9a9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x309 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:205 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [163: 229504] @ 0x461d32 0x4612a5 0x46140a 0x1742419 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1742418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [139: 2224] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [53: 1696] @ 0xc0d8da 0xc0d8db 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0d8d9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0d8da github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [28: 896] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [240: 430080] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [587: 413248] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 104] @ 0xae2fb1 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fb0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1190 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [195: 224640] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 624] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [48: 43008] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [218: 24416] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x1829945 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [94: 3008] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadc81f 0xae05a8 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [116: 5568] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf7d65 0xaf6eff 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7d64 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xaf6efe net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [107: 95872] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [59: 33984] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 4928] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xaf7ce6 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xaf7ce5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [441: 2709504] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [89: 5696] @ 0xc0da5e 0xc0da5f 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc0da5d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xc0da5e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [114: 131328] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5: 480] @ 0x446b89 0x458d66 0xb0826f 0x113e52d 0x483fe1 # 0xb0826e github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0xce github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:58 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [154: 17248] @ 0xb08bbd 0xb081e9 0x113e93d 0x483fe1 # 0xb08bbc github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xbc github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:178 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [62: 2976] @ 0x461d32 0x4612a5 0x4614c5 0xadff85 0xadff54 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadff84 encoding/gob.overflow+0x6e4 encoding/gob/decode.go:109 # 0xadff53 encoding/gob.(*Decoder).decOpFor+0x6b3 encoding/gob/decode.go:882 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [578: 33144832] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [162: 62208] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 144] @ 0x1121d75 0x11214f5 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x1121d74 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.10.9/conn_go18.go:130 # 0x11214f4 github.com/lib/pq.(*conn).QueryContext+0xf4 github.com/lib/pq@v1.10.9/conn_go18.go:23 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [13: 312] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af63a 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af639 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x119 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [234: 3744] @ 0x513745 0xaf8b75 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0x513744 reflect.(*rtype).Method+0x2e4 reflect/type.go:632 # 0xaf8b74 net/rpc.suitableMethods+0x94 net/rpc/server.go:286 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [239: 49712] @ 0x2048205 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2048204 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x244 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:480 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [262: 29344] @ 0xae2488 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [306: 63648] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [137: 8768] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [118: 5664] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [125: 6000] @ 0xadbf98 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [68: 4352] @ 0xbfc4ba 0xbfc477 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [180: 51840] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [105: 94080] @ 0x12575bb 0x125c637 0x182b7ac 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [103: 105472] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1728d53 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1728d52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xad2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1162 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 2784] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [14: 3584] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x16b0005 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [77: 59136] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [17: 1088] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [43: 1032] @ 0x16b0ab4 0x16b09d3 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [100: 8000] @ 0x23f9a85 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23f9a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x124 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:162 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 768] @ 0x1114ed6 0x1114d17 0x1113885 0x111381b 0x7f0d71 0x7e4d9f 0x7e73f7 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1114ed5 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.10.9/conn.go:358 # 0x1114d16 github.com/lib/pq.DialOpen+0x76 github.com/lib/pq@v1.10.9/conn.go:340 # 0x1113884 github.com/lib/pq.Open+0x84 github.com/lib/pq@v1.10.9/conn.go:330 # 0x111381a github.com/lib/pq.Driver.Open+0x1a github.com/lib/pq@v1.10.9/conn.go:57 # 0x7f0d70 database/sql.dsnConnector.Connect+0x30 database/sql/sql.go:809 # 0x7e4d9e database/sql.(*DB).conn+0x87e database/sql/sql.go:1431 # 0x7e73f6 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [266: 76608] @ 0x204ac07 0x204abfb 0x204ab93 0x204ad8c 0x205740f 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204ac06 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xa6 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0x204abfa github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x9a github.com/mattermost/mattermost/server/public/shared/request/context.go:114 # 0x204ab92 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x32 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:805 # 0x204ad8b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:817 # 0x205740e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc2e github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 480] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [294: 84672] @ 0x23fa825 0x23fa819 0x23fa7f8 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fa824 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xec4 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0x23fa818 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithPath+0xeb8 github.com/mattermost/mattermost/server/public/shared/request/context.go:142 # 0x23fa7f7 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xe97 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:216 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [327: 753408] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [31: 6448] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [250: 8000] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [228: 25536] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 1360] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [48: 16896] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [16: 14336] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [153: 26928] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [296: 47360] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 13312] @ 0x1f7efb8 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7efb7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x737 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [71: 4653056] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [73: 1168] @ 0x1125385 0x11252c5 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [45: 2880] @ 0x54b539 0x54b85d 0x54e6e2 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b85c encoding/json.stateBeginValue+0x11c encoding/json/scanner.go:225 # 0x54e6e1 encoding/json.(*Decoder).readValue+0x121 encoding/json/stream.go:103 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [343: 54880] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [20: 320] @ 0xafa88f 0xafa758 0x113eea5 0x483fe1 # 0xafa88e net/rpc.(*Server).ServeCodec+0x4e net/rpc/server.go:460 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [120: 13440] @ 0xb08bbd 0xb081e9 0x113e52d 0x483fe1 # 0xb08bbc github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xbc github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:178 # 0xb081e8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:57 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [458: 190528] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [440: 7040] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [60: 1440] @ 0x209eda5 0x2458f37 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209eda4 github.com/getsentry/sentry-go.WithTransactionSource+0x24 github.com/getsentry/sentry-go@v0.36.0/tracing.go:955 # 0x2458f36 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x196 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:101 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 576] @ 0x776ea8 0x776e73 0x75582d 0x483fe1 # 0x776ea7 bufio.NewWriterSize+0x1c7 bufio/bufio.go:599 # 0x776e72 net/http.newBufioWriterSize+0x192 net/http/server.go:894 # 0x75582c net/http.(*conn).serve+0x2ac net/http/server.go:2014 0: 0 [40: 16640] @ 0x12575bb 0x125c637 0x182b7ac 0x182bc8d 0x185281c 0x18527af 0x11adcb0 0x483fe1 # 0x12575ba github.com/jmoiron/sqlx.Rebind+0x5a github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x185281b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x18527ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:437 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [163: 2608] @ 0x746352 0x746328 0x7462ea 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x746351 net/textproto.MIMEHeader.Set+0x191 net/textproto/header.go:22 # 0x746327 net/http.Header.Set+0x167 net/http/header.go:40 # 0x7462e9 net/http.(*Request).AddCookie+0x129 net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 1280] @ 0x24fa94f 0x24f9bbc 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fa94e github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x28ae github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [180: 51840] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2048351 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2048350 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x390 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:505 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [164: 23616] @ 0xae3873 0xafa535 0x113eea5 0x483fe1 # 0xae3872 encoding/gob.NewDecoder+0x32 encoding/gob/decoder.go:46 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [84: 2016] @ 0x209ee85 0x2458f50 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209ee84 github.com/getsentry/sentry-go.WithSpanOrigin+0x24 github.com/getsentry/sentry-go@v0.36.0/tracing.go:969 # 0x2458f4f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1af github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:102 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [87: 77952] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x184478a 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1844789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1170 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 3120] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [68: 78336] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 320] @ 0x79647b 0x798592 0x7a0257 0xc4324a 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x79647a regexp.(*Regexp).backtrack+0x37a regexp/backtrack.go:362 # 0x798591 regexp.(*Regexp).doExecute+0x271 regexp/exec.go:535 # 0x7a0256 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1059 # 0xc43249 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a9 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [77: 54208] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x2554e73 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2554e72 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 23552] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [201: 19296] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [83: 3984] @ 0x479c9a 0x479caf 0x6324c5 0x6324af 0x250511f 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6324c4 net/url.ParseQuery+0x24 net/url/url.go:965 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x250511e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5e github.com/mattermost/mattermost/server/v8/channels/web/params.go:131 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x118dc15 0x48feea 0x48ff97 0x118daee 0x118dac1 0x23d42ea 0x25d91e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x118dc14 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf4 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x118daed sync.(*Map).Range+0x4d sync/hashtriemap.go:115 # 0x118dac0 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x23d42e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetActivePluginManifests+0x29 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:402 # 0x25d91e6 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x66 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [120: 38400] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [816: 117504] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae2fcb 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fca encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1191 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [272: 30464] @ 0x933ee7 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933ee6 github.com/hashicorp/yamux.newStream+0xc6 github.com/hashicorp/yamux@v0.1.2/stream.go:77 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [31: 8928] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1728b6d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728b6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x8ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1154 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 2400] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22adb8c 0x2554d28 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22adb8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2554d27 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 96] @ 0x1741ef1 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1741ef0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3024 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 464] @ 0x16a3970 0x16a3bc5 0x16b165b 0x16b15db 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [38: 1216] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x253c725 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x253c724 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1113 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 480] @ 0x4ba5e7 0x4ba5cf 0x4ba94a 0x23fa95d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ba5e6 path.(*lazybuf).append+0x686 path/path.go:39 # 0x4ba5ce path.Clean+0x66e path/path.go:127 # 0x4ba949 path.Join+0x189 path/path.go:172 # 0x23fa95c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xffc github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:223 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 1920] @ 0x175ac5e 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x175ac5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [215: 44720] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0xae2f4f 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f4e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1186 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [206: 23072] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1841dca 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841dc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [578: 166464] @ 0xc472ce 0xc472c2 0x11b1124 0x247d228 0x247d1fa 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xc472cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc472c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:160 # 0x11b1123 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x63 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x247d227 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x247d1f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0x59 github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [264: 6336] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [22: 45056] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 1872] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [38: 14592] @ 0x125fea6 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125fea5 github.com/jmoiron/sqlx.scanAll+0x5c5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [426: 2617344] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [117: 2808] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [268: 77184] @ 0x2462a5c 0x2462a43 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2462a5b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x2462a42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 19712] @ 0x85a02c 0x859fc8 0x2619d02 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x85a02b github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x859fc7 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x2619d01 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xee1 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:706 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 3840] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 640] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [311: 89568] @ 0xc473ce 0xc473c2 0x23fae14 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x23fae13 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x14b3 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:250 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [112: 10752] @ 0xafa5e7 0xafa701 0x113eea5 0x483fe1 # 0xafa5e6 encoding/gob.NewEncoder+0x1e6 encoding/gob/encoder.go:38 # 0xafa700 net/rpc.(*Server).ServeConn+0x300 net/rpc/server.go:450 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [368: 64768] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [32: 1024] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2e0e 0xbc2e05 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2e0d os.Open+0x3cd os/file.go:370 # 0xbc2e04 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3c4 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 320] @ 0x540f4d 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x540f4c encoding/json.(*decodeState).object+0x196c encoding/json/decode.go:733 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [526: 30162944] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [261: 91872] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a7c32 0x11986ee 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x11986ed github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [175: 2800] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [70: 4480] @ 0xae9d05 0xae9cc9 0xaec8ce 0xae9efe 0xaedca5 0xaee534 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9d04 encoding/gob.(*Encoder).newEncoderState+0xc4 encoding/gob/encode.go:82 # 0xae9cc8 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaee533 encoding/gob.(*Encoder).sendActualType+0x173 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [53: 1272] @ 0x16b1634 0x16b15db 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1633 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [51: 14688] @ 0xc473ce 0xc473c2 0x24fabb4 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x24fabb3 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2b13 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:321 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 272] @ 0x172042c 0x17376b8 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x172042b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x36b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:451 # 0x17376b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2258 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [16: 18432] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af0fe 0x16aed98 0x16b00bd 0x1737255 0x16c2af9 0x1fd6cff 0x1f700d0 0x204c876 0x2053e7d 0x20539bf 0x2051cd7 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af0fd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1737254 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2239 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x204c875 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc95 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:979 # 0x2053e7c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.3+0xbc github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:694 # 0x20539be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1cbe github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:738 # 0x2051cd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func2+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:756 0: 0 [115: 559360] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x183817b 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x183817a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x15a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [11: 7040] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [9: 13824] @ 0x67c192 0x68112a 0x68161c 0x68d125 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x67c191 crypto/tls.(*halfConn).encrypt+0x1b1 crypto/tls/conn.go:484 # 0x681129 crypto/tls.(*Conn).writeRecordLocked+0x649 crypto/tls/conn.go:1025 # 0x68161b crypto/tls.(*Conn).writeHandshakeRecord+0x13b crypto/tls/conn.go:1060 # 0x68d124 crypto/tls.(*Conn).clientHandshake+0x444 crypto/tls/handshake_client.go:325 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [22: 176] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [58: 4640] @ 0x709152 0x23f9c78 0x23f9c81 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9c77 net/http.(*Request).Cookie+0x317 net/http/request.go:452 # 0x23f9c80 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x320 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:181 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [136: 208896] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [182: 17472] @ 0x5275a6 0x24f8c70 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x24f8c6f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xbcf github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 32256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [268: 30016] @ 0x4125d4 0x4aaf08 0xb08d98 0xb08d65 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0xb08d97 time.After+0x57 time/sleep.go:203 # 0xb08d64 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:189 0: 0 [1079: 258960] @ 0x5474d6 0x544613 0x5443d2 0x543cbe 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [127: 14224] @ 0x48037c 0x4aaf48 0xb08211 0xb081c5 0x113e93d 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0xb08210 time.After+0x70 time/sleep.go:203 # 0xb081c4 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:61 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [337: 97056] @ 0xc46b69 0xc46b5d 0x23fae28 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc46b68 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x28 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc46b5c github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x1c github.com/mattermost/mattermost/server/public/shared/request/context.go:114 # 0x23fae27 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x14c7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:253 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 256] @ 0x17c68be 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17c68bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [56: 3584] @ 0x9317a5 0x93136a 0x93136b 0x9315a5 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x931369 github.com/hashicorp/yamux.(*Session).waitForSend+0x149 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x93136a github.com/hashicorp/yamux.(*Session).Ping+0x14a github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [11: 176] @ 0x93130f 0x9315a5 0x483fe1 # 0x93130e github.com/hashicorp/yamux.(*Session).Ping+0xee github.com/hashicorp/yamux@v0.1.2/session.go:339 # 0x9315a4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [7: 56] @ 0x1f7bdfb 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7bdfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:120 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 2272] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [208: 23296] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [104: 4992] @ 0x461d32 0x4612a5 0x46140a 0x183ec8f 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ec8e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xae github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 3072] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f70118 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f70117 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:302 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [261: 4176] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [154: 3696] @ 0x6cf347 0x6d008e 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6d008d net/textproto.readMIMEHeader+0x20d net/textproto/reader.go:552 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [43: 688] @ 0x54b539 0x54b93a 0x54b23d 0x53dad4 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54b538 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:179 # 0x54b939 encoding/json.stateBeginValue+0x1f9 encoding/json/scanner.go:222 # 0x54b23c encoding/json.checkValid+0x9c encoding/json/scanner.go:35 # 0x53dad3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:102 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [119: 1904] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [289: 50864] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [5: 1280] @ 0x48ed3d 0x48ec06 0x48e97c 0x54b2fe 0x549ca5 0x54547d 0x548de4 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0x253d0e5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48ed3c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x48ec05 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x48e97b sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54b2fd encoding/json.newScanner+0x1d encoding/json/scanner.go:94 # 0x549ca4 encoding/json.appendCompact+0x84 encoding/json/indent.go:51 # 0x54547c encoding/json.addrMarshalerEncoder+0x1dc encoding/json/encode.go:475 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x253d0e4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1167 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [104: 33280] @ 0xc143b9 0xc143e3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc143b8 encoding/json.NewDecoder+0x38 encoding/json/stream.go:32 # 0xc143e2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x62 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [168: 48384] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x2516857 0x2518882 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2516856 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0x36 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:18 # 0x2518881 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xb01 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [107: 17120] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [112: 57344] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [47: 13536] @ 0xc46b69 0xc46b5d 0x24fae03 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0xc46b68 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x28 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc46b5c github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x1c github.com/mattermost/mattermost/server/public/shared/request/context.go:114 # 0x24fae02 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d62 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:348 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1124: 647424] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [212: 23744] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ed06 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ed05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [132: 2112] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea4d4 0xaecd39 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [974: 15584] @ 0x50f21d 0x53ec1d 0x5413d0 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x5413cf encoding/json.(*decodeState).literalStore+0x1af encoding/json/decode.go:859 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [126: 14112] @ 0x4125d4 0x113e23e 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e23d net/rpc.(*Client).Call+0x31d net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [393: 125760] @ 0x20481a5 0x20481d9 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20481a4 encoding/json.NewDecoder+0x1e4 encoding/json/stream.go:32 # 0x20481d8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x218 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:476 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [302: 463872] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 1464] @ 0x503ca6 0x51542d 0xad8b05 0xad8acb 0xadd112 0xade4e5 0xae0633 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0xad8b04 reflect.Value.Interface+0x64 reflect/value.go:1484 # 0xad8aca encoding/gob.decStringSlice+0x2a encoding/gob/dec_helpers.go:352 # 0xadd111 encoding/gob.(*Decoder).decodeArrayHelper+0x91 encoding/gob/decode.go:540 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [762: 36576] @ 0x5135c5 0xaf8b75 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0x5135c4 reflect.(*rtype).Method+0x164 reflect/type.go:627 # 0xaf8b74 net/rpc.suitableMethods+0x94 net/rpc/server.go:286 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [735: 47040] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [531: 152928] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [43: 2064] @ 0x407ff2 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [147: 16464] @ 0x4125d4 0x4aaf08 0xb08211 0xb081c5 0x113e52d 0x483fe1 # 0x4aaf07 time.NewTimer+0x27 time/sleep.go:144 # 0xb08210 time.After+0x70 time/sleep.go:203 # 0xb081c4 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:61 # 0x113e52c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:423 0: 0 [75: 52800] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1944: 1990656] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [34: 69632] @ 0x543d27 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [515: 131840] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [142: 6816] @ 0x479c9a 0x479caf 0x7511d6 0x755918 0x483fe1 # 0x7511d5 net/http.(*conn).readRequest+0x7d5 net/http/server.go:1101 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [65: 1040] @ 0x171f045 0x171f954 0x17421f8 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x171f044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x7e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:260 # 0x171f953 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:366 # 0x17421f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x377 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [21: 336] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2: 160] @ 0x563a9b 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x173881f 0x16c5527 0x1fd99ad 0x1f6ef86 0x22cf0a9 0x2538258 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x563a9a context.withCancel+0x3a context/context.go:277 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x173881e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2359 # 0x16c5526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2000 # 0x1fd99ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1665 # 0x1f6ef85 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetMemberCount+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:166 # 0x22cf0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2344 # 0x2538257 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x277 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:731 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 19660800] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 2031616] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3383296] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2752512] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2375680] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [61: 12688] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x888af6 0x888a9a 0x887bc5 0x884466 0x88893a 0x8879dc 0x884466 0x88893a 0x8879dc 0x884466 0x88893a 0x8879dc 0x884945 0x88893a 0x8879dc 0x884466 0x88893a 0x888d2e 0x88a4c5 0x889f4d 0x8899a8 0x883f12 0x88f9c6 0x88f792 0x1252ef0 0x1252d52 0x23a0454 0x239dee6 0x2390630 0x2029802 0x483fe1 # 0x888af5 html/template.makeEscaper+0xb5 html/template/escape.go:120 # 0x888a99 html/template.(*escaper).escapeListConditionally+0x59 html/template/escape.go:589 # 0x887bc4 html/template.(*escaper).escapeBranch+0x2e4 html/template/escape.go:526 # 0x884465 html/template.(*escaper).escape+0xc5 html/template/escape.go:156 # 0x888939 html/template.(*escaper).escapeList+0x159 html/template/escape.go:576 # 0x8879db html/template.(*escaper).escapeBranch+0xfb html/template/escape.go:512 # 0x884465 html/template.(*escaper).escape+0xc5 html/template/escape.go:156 # 0x888939 html/template.(*escaper).escapeList+0x159 html/template/escape.go:576 # 0x8879db html/template.(*escaper).escapeBranch+0xfb html/template/escape.go:512 # 0x884465 html/template.(*escaper).escape+0xc5 html/template/escape.go:156 # 0x888939 html/template.(*escaper).escapeList+0x159 html/template/escape.go:576 # 0x8879db html/template.(*escaper).escapeBranch+0xfb html/template/escape.go:512 # 0x884944 html/template.(*escaper).escape+0x5a4 html/template/escape.go:152 # 0x888939 html/template.(*escaper).escapeList+0x159 html/template/escape.go:576 # 0x8879db html/template.(*escaper).escapeBranch+0xfb html/template/escape.go:512 # 0x884465 html/template.(*escaper).escape+0xc5 html/template/escape.go:156 # 0x888939 html/template.(*escaper).escapeList+0x159 html/template/escape.go:576 # 0x888d2d html/template.(*escaper).escapeListConditionally+0x2ed html/template/escape.go:593 # 0x88a4c4 html/template.(*escaper).escapeTemplateBody+0x1c4 html/template/escape.go:705 # 0x889f4c html/template.(*escaper).computeOutCtx+0xac html/template/escape.go:666 # 0x8899a7 html/template.(*escaper).escapeTree+0x447 html/template/escape.go:659 # 0x883f11 html/template.escapeTemplate+0x91 html/template/escape.go:25 # 0x88f9c5 html/template.(*Template).lookupAndEscapeTemplate+0x1a5 html/template/template.go:163 # 0x88f791 html/template.(*Template).ExecuteTemplate+0x31 html/template/template.go:135 # 0x1252eef github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:144 # 0x1252d51 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:131 # 0x23a0453 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xa93 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x239dee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xc25 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 0: 0 [12: 576] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x25ecd2b 0x25dcf79 0x25dd452 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x25ecd2a github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0xea github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:13 # 0x25dcf78 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x38 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:63 # 0x25dd451 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x411 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:94 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [116: 928] @ 0xadf966 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [98: 301056] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [757: 24224] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [122: 35136] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [71: 1136] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x23deefc 0x112dd1e 0x11566ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x23deefb github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:277 # 0x112dd1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x11566ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1792 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [66: 1056] @ 0xbfb3a5 0xbfb357 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xbe4 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb356 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb96 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [204: 32640] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [40: 1920] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [127: 12192] @ 0xbfb6f8 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb6f7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf37 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [497: 143136] @ 0xc473ce 0xc473c2 0x24fabb4 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc473cd github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc473c1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:166 # 0x24fabb3 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2b13 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:321 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 3920] @ 0x48037c 0x4ab155 0x5655bc 0x565c8d 0x565c4f 0x182b7da 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4ab154 time.AfterFunc+0x34 time/sleep.go:211 # 0x5655bb context.WithDeadlineCause+0x21b context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 96] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x2652bea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x2652be9 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1a9 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1098 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 9856] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6517f7 0x64f90a 0x64cdc5 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x6517f6 crypto/x509.(*policyGraph).incrDepth+0x2456 crypto/x509/verify.go:1393 # 0x64f909 crypto/x509.policiesValid+0x569 crypto/x509/verify.go:1457 # 0x64cdc4 crypto/x509.(*Certificate).Verify+0x4a4 crypto/x509/verify.go:848 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [99: 1584] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1135: 653760] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [342: 60192] @ 0x479bb3 0x50ee65 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 672] @ 0x565474 0x565c8d 0x565c4f 0x182b7da 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 3344] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [240: 26880] @ 0x48037c 0x4aaf48 0xb08d98 0xb08d65 0x483fe1 # 0x48037b time.newTimer+0x3b runtime/time.go:365 # 0x4aaf47 time.NewTimer+0x67 time/sleep.go:145 # 0xb08d97 time.After+0x57 time/sleep.go:203 # 0xb08d64 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x24 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:189 0: 0 [3: 48] @ 0x539fb5 0x22adb67 0x22adb68 0x266e048 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539fb4 strings.Fields+0x74 strings/strings.go:402 # 0x22adb66 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x106 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x22adb67 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x266e047 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x1a7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3416 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 57344] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [11: 11264] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2688] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [39: 624] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [76: 2432] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [98: 31360] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 288] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179f68a 0x16d7244 0x1fed90e 0x1f50f57 0x1f5280e 0x1f525bb 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179f689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x2a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:364 # 0x16d7243 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6587 # 0x1fed90d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5286 # 0x1f50f56 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x1f5280d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x1f525ba github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xbfa github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [469: 195104] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0xaf94ae 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0xaf94ad net/rpc.suitableMethods+0x9cd net/rpc/server.go:337 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [506: 145728] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1841ca5 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841ca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [912: 21888] @ 0x505885 0x504939 0xaf9d09 0x483fe1 # 0x505884 reflect.Value.call+0xd04 reflect/value.go:606 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [34: 544] @ 0x16b0005 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0004 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [663: 15912] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [220: 253440] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 1248] @ 0x113e045 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x113e044 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x124 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:422 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [148: 454656] @ 0x543d27 0x2554dac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x2554dab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x20b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [15: 960] @ 0x24f813d 0x24f80e5 0x24e48ff 0x7576a9 0xc3e542 0x7770ee 0x755ba5 0x483fe1 # 0x24f813c github.com/mattermost/mattermost/server/v8/channels/web.newWrappedWriter+0x9c github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:24 # 0x24f80e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x44 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:146 # 0x24e48fe github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5de github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:517 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [43: 11008] @ 0x203efc8 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203efc7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [14: 336] @ 0x50e272 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728017 0x1727fb5 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1727fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x914 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1104 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 1856] @ 0xb18ff7 0xc13c73 0x24f82a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x24f82a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x479c9a 0x479caf 0x1838272 0x16ec1da 0x20056ba 0x202805b 0x2027915 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1838271 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:85 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x202805a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:402 # 0x2027914 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x274 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:347 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 942080] @ 0x5474d6 0x544613 0x5443d2 0x54eb70 0x257a86a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x257a869 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x109 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 144] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x180840d 0x1808383 0x16e6624 0x1ffecea 0x1f7be62 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22ad82d 0x22aef98 0x25ed4fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x180840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1808382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:369 # 0x16e6623 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10790 # 0x1ffece9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8532 # 0x1f7be61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:125 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x25ed4fd github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 288] @ 0x539cff 0x207ad2c 0x207ad13 0x207c8f9 0x208de34 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x207ad2b strings.SplitN+0x1cb strings/strings.go:333 # 0x207ad12 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x1b2 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:296 # 0x207c8f8 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x178 github.com/getsentry/sentry-go@v0.36.0/internal/otel/baggage/baggage.go:467 # 0x208de33 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:21 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [429: 2306304] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1825: 1635200] @ 0x1117fd0 0x1117fb7 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117fcf github.com/lib/pq.(*writeBuf).string+0x1cf github.com/lib/pq@v1.10.9/buf.go:69 # 0x1117fb6 github.com/lib/pq.(*conn).prepareTo+0x1b6 github.com/lib/pq@v1.10.9/conn.go:835 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [57: 40128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 592] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [30: 480] @ 0x183ec94 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ec93 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xb3 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [662: 381312] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [466: 7456] @ 0x50afcb 0x4f9c71 0xaead92 0xaeca4c 0xae9efe 0xaec8ce 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0xaead91 encoding/gob.(*Encoder).encodeMap+0x511 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [161: 10304] @ 0x9317a5 0x935434 0x930add 0xb08987 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x935433 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x213 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x930adc github.com/hashicorp/yamux.(*Session).AcceptStream+0x7c github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb08986 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:142 0: 0 [230: 25760] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [31: 496] @ 0x16a3f9c 0x16a3f1c 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a3f9b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [9: 6336] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 4032] @ 0x16b1585 0x16b15db 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b1584 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [116: 2784] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [9: 6912] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x10cf688 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x10cf687 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:82 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [164: 47232] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [314: 50240] @ 0x1117e4e 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117e4d github.com/lib/pq.(*conn).prepareTo+0x4d github.com/lib/pq@v1.10.9/conn.go:831 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1515: 24821760] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [125: 6000] @ 0xc3e41a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc3e419 github.com/gorilla/mux.(*Router).ServeHTTP+0xb9 github.com/gorilla/mux@v1.8.1/mux.go:196 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [68: 3264] @ 0x407ff2 0x479ce9 0xbfc35b 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [12: 1344] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x17e287e 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x17e287d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:154 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [440: 140800] @ 0xbc2edb 0xbc2f0d 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbc2eda encoding/json.NewDecoder+0x49a encoding/json/stream.go:32 # 0xbc2f0c github.com/mattermost/mattermost/server/public/model.FindManifest+0x4cc github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 1408] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6311ad 0x6324d9 0x6324af 0x253be85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6311ac net/url.parseQuery+0x18c net/url/url.go:996 # 0x6324d8 net/url.ParseQuery+0x38 net/url/url.go:966 # 0x6324ae net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x253be84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1072 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1024] @ 0x16aad15 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x182bc47 0x17b06ac 0x17b0633 0x16df884 0x1ff6fd6 0x241dab3 0x2421e07 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16aad14 github.com/mattermost/squirrel.conj.join+0x214 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17b06ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x56b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17b0632 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x16df883 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8837 # 0x1ff6fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7044 # 0x241dab2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x2421e06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3584] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 672] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x182bc47 0x17f2936 0x17f28be 0x16e3ae4 0x1ffbbb6 0x1f7a81f 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x17f2935 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17f28bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x47d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x16e3ae3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10013 # 0x1ffbbb5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7940 # 0x1f7a81e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0xbe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:46 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 335872] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [6: 192] @ 0xb0fe71 0xb12589 0xb1272d 0xb1343e 0xb13441 0xb13702 0xb13337 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0fe70 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x470 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb12588 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb1272c github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x12c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb1343d github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xbd github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:19 # 0xb13440 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:25 # 0xb13701 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1c1 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:55 # 0xb13336 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x76 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:19 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x17c4bf1 0x17c5d6f 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c5d6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1268 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [216: 20736] @ 0x1839736 0x1842098 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1839735 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:187 # 0x1842097 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x4d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:986 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [563: 9008] @ 0x505b4a 0x504939 0xaf9d09 0x483fe1 # 0x505b49 reflect.Value.call+0xfc9 reflect/value.go:650 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [57: 1368] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2554c7e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2554c7d github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 16896] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16b19e5 0x16b19b3 0x17787fe 0x1778798 0x16cfe2b 0x1fe5a57 0x1f7424b 0x259ed9a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b19e4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17787fd github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1778797 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x297 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:140 # 0x16cfe2a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4775 # 0x1fe5a56 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3895 # 0x1f7424a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x34a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:74 # 0x259ed99 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x399 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:516 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [88: 39424] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [261: 37584] @ 0x62eb25 0x62e809 0x124a831 0x24f8849 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x124a830 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x24f8848 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x7a8 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:214 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 4032] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 10400] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1536] @ 0x12578b9 0x125c637 0x182b7ac 0x17c5c9a 0x17c5c31 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x17c5c99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c5c30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1263 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x5275a6 0x16a8b45 0x16ae271 0x16ae35d 0x16ae4b7 0x16af034 0x16aed98 0x16b00bd 0x182bc47 0x1850a19 0x1850993 0x16f1627 0x200b66a 0x24a91a7 0x11adcb0 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x16a8b44 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc4 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x16ae270 github.com/mattermost/squirrel.part.ToSql+0xf0 github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1850a18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1850992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:362 # 0x16f1626 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13979 # 0x200b669 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10994 # 0x24a91a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x106 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2759 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x16b15eb 0x175ba0f 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b15ea github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175ba0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [87: 4176] @ 0x4ebcde 0x4ebd1d 0x2506cfe 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4ebcdd strconv.syntaxError+0x3bd strconv/atoi.go:48 # 0x4ebd1c strconv.ParseInt+0x3fc strconv/atoi.go:201 # 0x2506cfd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1c3d github.com/mattermost/mattermost/server/v8/channels/web/params.go:204 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [54: 41472] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 96] @ 0x16ae58f 0x16af253 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae58e github.com/mattermost/squirrel.appendToSql+0x1ae github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [98: 87808] @ 0x12578b9 0x125c637 0x182b7ac 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2101: 3227136] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [3: 768] @ 0x270d4d4 0x270d511 0x5cda05 0x5c9f13 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270d4d3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x270d510 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:551 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [96: 15360] @ 0x543d27 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [276: 39744] @ 0x1117bfa 0x11183ed 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1117bf9 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.10.9/conn.go:787 # 0x11183ec github.com/lib/pq.(*conn).prepareTo+0x5ec github.com/lib/pq@v1.10.9/conn.go:847 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [106: 5088] @ 0x16aee3c 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 96] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x544613 0x5443d2 0x543cbe 0x265265b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0x265265a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1077 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [768: 135168] @ 0x266ba6d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x266ba6c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x94c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [680: 282880] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [931: 45760512] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [888: 43646976] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [38: 608] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [272: 78336] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [331: 381312] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [440: 168960] @ 0x23fa5d3 0x23fa564 0x23f9f9d 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x23fa5d2 github.com/mattermost/logr/v2.Logger.With+0xc72 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x23fa563 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0xc03 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x23f9f9c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x63c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:209 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [307: 88416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [235: 30080] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae528 0x16af034 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae527 github.com/mattermost/squirrel.appendToSql+0x147 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [39: 19968] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260005 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260004 github.com/jmoiron/sqlx.scanAll+0x724 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [23: 368] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [651: 1333248] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [240: 276480] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [78: 4992] @ 0x9317a5 0x934ec5 0x9349f2 0x51ab97 0xb083c9 0x113e93d 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x51ab96 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb083c8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x228 github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:70 # 0x113e93c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:404 0: 0 [4: 640] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x179fcbc 0x16d6fae 0x1fed63a 0x1f50c2f 0x1f52f2c 0x1f522fa 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x179fcbb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x16d6fad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6545 # 0x1fed639 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5254 # 0x1f50c2e github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x1f52f2b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x1f522f9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x939 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [188: 6016] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 1984] @ 0x4e1b85 0x4e1e19 0x16aef53 0x16aed98 0x16b00bd 0x182bc47 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16aef52 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [69: 3312] @ 0x479c9a 0x479caf 0xc43cb3 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc43cb2 github.com/gorilla/mux.(*Route).Match+0x2f2 github.com/gorilla/mux@v1.8.1/route.go:102 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 2592] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0x16a951e 0x16a9b75 0x16ae35d 0x16aabfc 0x16be525 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x1727f89 0x16c3ed5 0x1fd8299 0x22cca90 0x253c0a5 0x253bfd1 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a951d github.com/mattermost/squirrel.Eq.toSQL+0x97d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x16a9b74 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be524 github.com/mattermost/squirrel.Or.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1727f88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x8e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1099 # 0x16c3ed4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1685 # 0x1fd8298 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1425 # 0x22cca8f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2090 # 0x253c0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x3e4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2105 # 0x253bfd0 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x310 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1082 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [106: 434176] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [124: 5952] @ 0x5275a6 0x7462b7 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7462b6 net/http.(*Request).AddCookie+0xf6 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [98: 28224] @ 0x12578b9 0x125c637 0x182b7ac 0x182bc8d 0x183001d 0x182ffbb 0x16eba64 0x2004df6 0x203f5c6 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x183001c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x182ffba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:107 # 0x16eba63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12329 # 0x2004df5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9716 # 0x203f5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x8e5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [686: 263424] @ 0x24fa9b6 0x24fa944 0x24f9bbc 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24fa9b5 github.com/mattermost/logr/v2.Logger.With+0x2915 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x24fa943 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x28a3 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:279 # 0x24f9bbb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1b1b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:314 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [78: 27456] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x75247c 0x751ef7 0x20a7c32 0x24e3732 0x24e3b31 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x75247b net/http.Header.Clone+0x6fb net/http/header.go:114 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a7c31 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x31 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x24e3731 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:282 # 0x24e3b30 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x310 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:366 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 23040] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [58: 40832] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x752368 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752367 net/http.Header.Clone+0x5e7 net/http/header.go:105 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 2208] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [413: 30449664] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [153: 9792] @ 0xaee4c5 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaee4c4 encoding/gob.(*Encoder).sendActualType+0x104 encoding/gob/encoder.go:106 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [130: 183040] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [162: 46656] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e3ca 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e3c9 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb89 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [288: 13824] @ 0x479c9a 0x479caf 0xae2f1c 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f1b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1185 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1192: 2441216] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 3072] @ 0x12578b9 0x125c637 0x182b7ac 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [84: 4032] @ 0x16b0e85 0x16b0e53 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0e84 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [750: 98304000] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [111: 21312] @ 0x173753d 0x1889390 0x17373ca 0x16c2af9 0x1fd6cff 0x1f700d0 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x173753c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2251 # 0x188938f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:175 # 0x17373c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2261 # 0x16c2af8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1391 # 0x1fd6cfe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1201 # 0x1f700cf github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:296 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 480] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [214: 102720] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [58: 1392] @ 0x54045d 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [255: 28560] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [26: 3328] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [25: 8000] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0154 0x16ae34e 0x16aabfc 0x16be4a5 0x16b7859 0x16ae35d 0x16ae4b7 0x16af253 0x16aed98 0x16b00bd 0x175babc 0x175a9d0 0x175cdda 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0153 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x16ae34d github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x16aabfb github.com/mattermost/squirrel.conj.join+0xfb github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x16be4a4 github.com/mattermost/squirrel.And.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x16b7858 github.com/mattermost/squirrel.wherePart.ToSql+0x158 github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x16ae35c github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x16ae4b6 github.com/mattermost/squirrel.appendToSql+0xd6 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x16af252 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x452 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x175babb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xcfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x175a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x175cdd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x979 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [172: 24768] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae2fcb 0xadfd69 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fca encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1191 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [30: 6720] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [3184: 52166656] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [240: 30720] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [147: 7056] @ 0x407ff2 0x479ce9 0x6cff11 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [865: 304480] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xaddbda 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xaddbd9 encoding/gob.(*Decoder).decodeMap+0x419 encoding/gob/decode.go:608 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [43: 1032] @ 0x16b0ab4 0x16b09d3 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16b0ab3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [297: 85536] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xc4359f 0xc43214 0xc43d49 0xc3e16b 0xc43a75 0xc3e16b 0xc43a75 0xc3e16b 0xc3e43a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc4359e github.com/gorilla/mux.extractVars+0x4fe github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0xc43213 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x173 github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0xc43d48 github.com/gorilla/mux.(*Route).Match+0x388 github.com/gorilla/mux@v1.8.1/route.go:106 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc43a74 github.com/gorilla/mux.(*Route).Match+0xb4 github.com/gorilla/mux@v1.8.1/route.go:50 # 0xc3e16a github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0xc3e439 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 80] @ 0x16a3970 0x16a3bc5 0x16b1abb 0x16b19b3 0x175c7f6 0x175c77d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a396f github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x175c7f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x395 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x175c77c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1288: 370944] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [187: 191488] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x20961ad 0x4bb82e 0x748e5f 0x54ea48 0x54e645 0x54e315 0xc143f3 0x260d7c6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x20961ac github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.36.0/scope.go:191 # 0x4bb82d io.(*teeReader).Read+0x6d io/io.go:630 # 0x748e5e net/http.(*maxBytesReader).Read+0x5e net/http/request.go:1225 # 0x54ea47 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:165 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x260d7c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 50176] @ 0x68c1a5 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x68c1a4 crypto/tls.(*Conn).makeClientHello+0xe24 crypto/tls/handshake_client.go:178 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [37: 13024] @ 0xbdd11e 0xbdd112 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd11d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdd111 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:83 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0x1254e6d 0x125fc85 0x1260848 0x182b947 0x182b8ff 0x17ca0bd 0x17ca052 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1254e6c github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x125fc84 github.com/jmoiron/sqlx.scanAll+0x3a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17ca0bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x105c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17ca051 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1586 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 704] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x17be1b3 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17be1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x712 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:596 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [970: 310400] @ 0x7454a5 0x2459098 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7454a4 net/http.(*Request).WithContext+0x44 net/http/request.go:372 # 0x2459097 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2f7 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:121 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 480] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 17920] @ 0x54e9ae 0x54e645 0x54e315 0x2543534 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x2543533 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [114: 7296] @ 0x24f813d 0x24f80e5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f813c github.com/mattermost/mattermost/server/v8/channels/web.newWrappedWriter+0x9c github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:24 # 0x24f80e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x44 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:146 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [595: 9520] @ 0x1125714 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [525: 50400] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [138: 6624] @ 0x209bbf9 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209bbf8 github.com/getsentry/sentry-go.StartSpan+0x318 github.com/getsentry/sentry-go@v0.36.0/tracing.go:193 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [191: 391168] @ 0x543d27 0x25d93ba 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x25d93b9 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:272 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [45: 1440] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [790: 139040] @ 0x171fa5a 0x17421f8 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x171fa59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:372 # 0x17421f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x377 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [17: 544] @ 0x461d32 0x4612a5 0x4614c5 0x20a7ffd 0x2458f95 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a7ffc github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.36.0/internal/traceutils/route_name_go1.23.go:22 # 0x2458f94 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:106 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1274: 366912] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [380: 24320] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [4: 1152] @ 0x83d0a5 0x839af5 0x8410d0 0x23e4fc8 0x1136542 0x11447f2 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83d0a4 github.com/mattermost/logr/v2.NewLogRec+0x84 github.com/mattermost/logr/v2@v2.0.22/logrec.go:39 # 0x839af4 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x8410cf github.com/mattermost/logr/v2.Sugar.Warnw+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x23e4fc7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1131 # 0x1136541 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1092 # 0x11447f1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0x51 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1011 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [130: 6240] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [213: 23856] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [420: 87360] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0x5648c9 0x563ab9 0x563a7d 0x7ecf35 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5648c8 context.(*cancelCtx).propagateCancel+0x168 context/context.go:492 # 0x563ab8 context.withCancel+0x58 context/context.go:278 # 0x563a7c context.WithCancel+0x1c context/context.go:241 # 0x7ecf34 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4664: 19103744] @ 0x11990be 0x1199069 0x1199025 0x113e77f 0x483fe1 # 0x11990bd bufio.NewReaderSize+0xbd bufio/bufio.go:57 # 0x1199068 bufio.NewReader+0x68 bufio/bufio.go:63 # 0x1199024 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x24 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:34 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [42: 21504] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x186fa85 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [86: 1376] @ 0xbfc452 0xbfc418 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc451 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc417 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [326: 52160] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [879: 21096] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [30: 8640] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1728c1b 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1728c1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x99a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1157 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [37: 1776] @ 0x16b0825 0x16b07b9 0x184448d 0x184439d 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x184448c github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x184439c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1166 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [278: 44480] @ 0x203a297 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203a296 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:128 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [285: 36480] @ 0x50f21d 0xb76e6f 0xb77dfe 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xb76e6e github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xb77dfd github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [40: 1280] @ 0x54045d 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54045c encoding/json.(*decodeState).object+0xe7c encoding/json/decode.go:782 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [830: 13280] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [161: 370944] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [60: 138240] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [791: 12656] @ 0x1125714 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1125713 github.com/lib/pq.textDecode+0x1f3 github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [476: 182784] @ 0x6cfee8 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cfee7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:520 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [699: 22368] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [233: 238592] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 1408] @ 0x709152 0x23f9c78 0x23f9c81 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709151 net/http.readCookies+0x91 net/http/cookie.go:339 # 0x23f9c77 net/http.(*Request).Cookie+0x317 net/http/request.go:452 # 0x23f9c80 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x320 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:181 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [32: 10240] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x182bc47 0x18523b6 0x1852343 0x11adcb0 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18523b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1852342 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x362 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:448 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [72: 3456] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [50: 1200] @ 0x93405d 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x93405c github.com/hashicorp/yamux.newStream+0x23c github.com/hashicorp/yamux@v0.1.2/stream.go:80 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [201: 32160] @ 0x203a297 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x203a296 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:128 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [278: 8896] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [179: 25776] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae2fcb 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fca encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1191 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [302: 9664] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [399: 510720] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1757: 84336] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [59: 1416] @ 0x503ca6 0x51542d 0xae65e5 0xae65cb 0xaea458 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0xae65e4 reflect.Value.Interface+0x44 reflect/value.go:1484 # 0xae65ca encoding/gob.encStringSlice+0x2a encoding/gob/enc_helpers.go:292 # 0xaea457 encoding/gob.(*Encoder).encodeArray+0x437 encoding/gob/encode.go:339 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [65: 2080] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 16] @ 0x535245 0x535350 0x62fdf0 0x6328d7 0x63293c 0xaec09a 0xaecff1 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x113e26f 0x113e1bb 0x1196172 0x23fb25c 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x62fdef net/url.(*URL).String+0xaf net/url/url.go:846 # 0x6328d6 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63293b net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xaec099 encoding/gob.(*Encoder).encodeGobEncoder+0x5d9 encoding/gob/encode.go:445 # 0xaecff0 encoding/gob.gobEncodeOpFor.func1+0xf0 encoding/gob/encode.go:587 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x113e26e net/rpc.(*Client).Call+0x34e net/rpc/client.go:321 # 0x113e1ba github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x29a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:445 # 0x1196171 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:61 # 0x23fb25b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x18fb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:275 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [158: 2528] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1052: 538624] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [238: 49504] @ 0x479bf3 0x408dc5 0x408db8 0x40e3d2 0xaee59f 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa065 0xaf98e5 0xaf9dca 0x483fe1 # 0xaee59e encoding/gob.(*Encoder).sendActualType+0x1de encoding/gob/encoder.go:113 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa064 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:409 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [238: 26656] @ 0x933ed1 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933ed0 github.com/hashicorp/yamux.newStream+0xb0 github.com/hashicorp/yamux@v0.1.2/stream.go:76 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [11: 704] @ 0x7e8965 0x23eaa79 0x23ea8f8 0x11996a6 0x1188324 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x7e8964 database/sql.(*DB).Conn+0x84 database/sql/sql.go:1958 # 0x23eaa78 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x23ea8f7 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x11996a5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x1188323 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [33: 528] @ 0x539cff 0x8e29f4 0x8e298b 0x24f83a5 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x539cfe strings.genSplit+0x7e strings/strings.go:305 # 0x8e29f3 strings.Split+0xd3 strings/strings.go:361 # 0x8e298a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:263 # 0x24f83a4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x304 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1689: 8215296] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [48: 1152] @ 0x1f83f47 0x243d1cc 0x243ce6b 0x243ce5a 0x22afa2a 0x22af487 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f83f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x66 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:417 # 0x243d1cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af486 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [201: 4824] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [646: 93024] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [544: 174080] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [121: 1936] @ 0x50afcb 0x4f9a31 0xaead5c 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0xaead5b encoding/gob.(*Encoder).encodeMap+0x4db encoding/gob/encode.go:374 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [649: 145376] @ 0x751226 0x755918 0x483fe1 # 0x751225 net/http.(*conn).readRequest+0x825 net/http/server.go:1096 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [108: 3456] @ 0xb18fbd 0xc13c73 0x23eaf1d 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb18fbc encoding/base32.(*Encoding).EncodeToString+0xbc encoding/base32/base32.go:200 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23eaf1c github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:115 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [99: 2376] @ 0x11258a6 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11258a5 github.com/lib/pq.textDecode+0x385 github.com/lib/pq@v1.10.9/encode.go:133 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [76: 3648] @ 0x407ff2 0x479db7 0x479d9a 0x50efd1 0xb7243d 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f7be2f 0x243d1e7 0x243ce6b 0x243ce5a 0x22afa2a 0x22af388 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479d99 reflect.makemap+0x19 runtime/map_swiss.go:220 # 0x50efd0 reflect.MakeMapWithSize+0x50 reflect/value.go:2960 # 0xb7243c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7be2e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:121 # 0x243d1e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:123 # 0x243ce6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:142 # 0x243ce59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:86 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [53: 9328] @ 0x543a19 0x5439ff 0x54353b 0x543848 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543a18 encoding/json.unquote+0xb8 encoding/json/decode.go:1184 # 0x5439fe encoding/json.(*decodeState).literalInterface+0x9e encoding/json/decode.go:1139 # 0x54353a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1041 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 96] @ 0x2716257 0x27332f5 0x2738366 0x2739435 0x695879 0x6936de 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x2716256 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:132 # 0x27332f4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:19 # 0x2738365 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x2739434 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x695878 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x258 crypto/tls/handshake_client_tls13.go:511 # 0x6936dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x71d crypto/tls/handshake_client_tls13.go:130 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [6: 6144] @ 0x270ec4b 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x653891 0x6531d1 0x64dc96 0x64d998 0x64e03a 0x64d9eb 0x64cc3f 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x653890 crypto/x509.checkSignature+0x4f0 crypto/x509/x509.go:1005 # 0x6531d0 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:930 # 0x64dc95 crypto/x509.(*Certificate).buildChains.func1+0x195 crypto/x509/verify.go:978 # 0x64d997 crypto/x509.(*Certificate).buildChains+0x137 crypto/x509/verify.go:1016 # 0x64e039 crypto/x509.(*Certificate).buildChains.func1+0x539 crypto/x509/verify.go:1010 # 0x64d9ea crypto/x509.(*Certificate).buildChains+0x18a crypto/x509/verify.go:1019 # 0x64cc3e crypto/x509.(*Certificate).Verify+0x31e crypto/x509/verify.go:838 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 112] @ 0x16a274c 0x16a2740 0x16a2645 0x16a2645 0x16a24c5 0x16a3955 0x16b1e6f 0x17c5b76 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16b1e6e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x17c5b75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1260 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [38: 43776] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [271: 78048] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfb3e5 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x2517fed 0x2057462 0x204827c 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xc24 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2517fec github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x26c github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x2057461 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc81 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x204827b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2bb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:489 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 816] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [60: 38400] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [645: 206400] @ 0x50f21d 0x16a4a51 0x16a3f05 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x16a4a50 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x16a3f04 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [135: 8640] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [289: 9248] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [228: 18240] @ 0x5275a6 0x7462b7 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7462b6 net/http.(*Request).AddCookie+0xf6 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [40: 4480] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x179eb37 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x179eb36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:319 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 2080] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x1853dab 0x16f121b 0x200b20f 0x24a9b2d 0x266daf8 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x1853daa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:601 # 0x16f121a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13916 # 0x200b20e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10946 # 0x24a9b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xcc github.com/mattermost/mattermost/server/v8/channels/app/user.go:2800 # 0x266daf7 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x397 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3395 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 432] @ 0x62eb25 0x62e809 0x2429168 0x24272d5 0x2424207 0x2423568 0x24232a6 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x2429167 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x27 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:796 # 0x24272d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:623 # 0x2424206 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:326 # 0x2423567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x267 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:194 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 63232] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ae2b7 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ae2b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3b6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [93: 904704] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [44: 214016] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [110: 5280] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf7d65 0xaf6eff 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7d64 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xaf6efe net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [1420: 454400] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [144: 6912] @ 0x565d65 0xc40d1f 0xc3e48a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0xc40d1e github.com/gorilla/mux.requestWithRoute+0x5e github.com/gorilla/mux@v1.8.1/mux.go:454 # 0xc3e489 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [279: 40176] @ 0x1841e0c 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841e0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:977 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [151: 173952] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1383: 2478336] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2299: 441408] @ 0x709525 0x23f9dbb 0x23f9db2 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709524 net/http.readCookies+0x464 net/http/cookie.go:362 # 0x23f9dba net/http.(*Request).Cookies+0x45a net/http/request.go:429 # 0x23f9db1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x451 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:194 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [154: 3696] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [216: 41472] @ 0x709525 0x23f9c78 0x23f9c81 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709524 net/http.readCookies+0x464 net/http/cookie.go:362 # 0x23f9c77 net/http.(*Request).Cookie+0x317 net/http/request.go:452 # 0x23f9c80 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x320 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:181 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [750: 8160000] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [581: 278880] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [205: 22960] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [325: 93600] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfb3e5 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x23faa25 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb3e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xc24 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x23faa24 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:231 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [759: 388608] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [643: 6255104] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [33: 528] @ 0x24f9472 0x24f9445 0x24f9430 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f9471 net/textproto.MIMEHeader.Set+0x13d1 net/textproto/header.go:22 # 0x24f9444 net/http.Header.Set+0x13a4 net/http/header.go:40 # 0x24f942f github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x138f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:248 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 2304] @ 0x775daa 0x775dab 0x750c27 0x755918 0x483fe1 # 0x775da9 net/textproto.(*Reader).ReadLine+0xc9 net/textproto/reader.go:45 # 0x775daa net/http.readRequest+0xca net/http/request.go:1087 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [5: 240] @ 0x1830454 0x183045d 0x16ebee6 0x2005343 0x22a84a8 0x246c1c7 0xbf187e 0x483fe1 # 0x1830453 github.com/mattermost/squirrel.Expr+0x393 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x183045c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x39c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:125 # 0x16ebee5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12434 # 0x2005342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9796 # 0x22a84a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:160 # 0x246c1c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xbf187d github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1fd github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [471: 195936] @ 0xae2488 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1110: 639360] @ 0x12578b9 0x125c637 0x1829914 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x1829913 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:114 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 1456] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x175c77c 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x175c77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [264: 4224] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [314: 55264] @ 0x125f12f 0x1260b39 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x125f12e github.com/jmoiron/sqlx.(*Row).scanAny+0x72e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x1260b38 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [151: 9664] @ 0xadd965 0xae06e9 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadd964 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [2100: 268800] @ 0xaf93d2 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0xaf93d1 net/rpc.suitableMethods+0x8f1 net/rpc/server.go:337 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [55: 746240] @ 0x12231b1 0x1232a8d 0x1232be5 0x1245bb8 0x23ab408 0x23a96e5 0x23a05d6 0x23a5dbc 0x483fe1 # 0x12231b0 github.com/yuin/goldmark/parser.NewParser+0xf0 github.com/yuin/goldmark@v1.7.13/parser/parser.go:735 # 0x1232a8c github.com/yuin/goldmark.DefaultParser+0x32c github.com/yuin/goldmark@v1.7.13/markdown.go:16 # 0x1232be4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.7.13/markdown.go:102 # 0x1245bb7 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x177 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x23ab407 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:854 # 0x23a96e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:721 # 0x23a05d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x17361cf 0x16c53dd 0x1fd9843 0x22cde93 0x25428c5 0x2542898 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17361ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0xae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2134 # 0x16c53dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1979 # 0x1fd9842 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1649 # 0x22cde92 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2228 # 0x25428c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x184 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2224 # 0x2542897 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x157 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1602 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [138: 3312] @ 0x50ee35 0x16a3d65 0x16a41e6 0x16a3066 0x16a30c9 0x16a3fda 0x16a3f1c 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0x16a3d64 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x16a41e5 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x16a3065 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x16a30c8 github.com/lann/ps.(*tree).ForEach+0xa8 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x16a3fd9 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [717: 114720] @ 0x543d27 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [430: 123840] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1876f5e 0x1876efa 0x1875f5d 0x187e388 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1876f5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1876ef9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1756 # 0x1875f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x187e387 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AutocompleteUsersInChannel.func1+0x47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:2264 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [12: 6912] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x1817e2d 0x1817b13 0x16e8a3a 0x20016c6 0x23a7ade 0x23a0e31 0x23a51d2 0x23a5cff 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x1817e2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1817b12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:194 # 0x16e8a39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11468 # 0x20016c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9060 # 0x23a7add github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x23a0e30 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x790 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [130: 6240] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [52: 1664] @ 0xb76113 0xb760ee 0xb760a5 0xb75293 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x26524dc 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb75292 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b2 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x26524db github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1db github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1052 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [51: 1044480] @ 0x1741d6b 0x1741a66 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1741d6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:400 # 0x1741a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x405 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3020 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [132: 2517504] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1949: 2245248] @ 0x25050f1 0x24f8628 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x25050f0 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x30 github.com/mattermost/mattermost/server/v8/channels/web/params.go:128 # 0x24f8627 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x587 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:194 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [246: 11808] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x203eed0 0x260da85 0x260da60 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x203eecf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x260da84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x260da5f github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 92160] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 192] @ 0x4e1b85 0x4e1cf9 0xb7bdf9 0xb7bde1 0xb7b6f3 0xb7b6f4 0xb798d9 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f6f47d 0x22cf469 0x2538334 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7bdf8 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7bde0 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xb7b6f2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xb7b6f3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xb798d8 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:210 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f6f47c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetPinnedPostCount+0x13c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:219 # 0x22cf468 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2371 # 0x2538333 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:743 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 32] @ 0xadf966 0xae0230 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xadf965 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:840 # 0xae022f encoding/gob.(*Decoder).decOpFor+0x98f encoding/gob/decode.go:863 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [643: 267488] @ 0x1f7f3c6 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1f7f3c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:230 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [23: 5888] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x182bc47 0x1851f8a 0x1851f1d 0x11adcb0 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x1851f89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1851f1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x45c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:462 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [79: 384256] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x2543445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x2543444 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0xe4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1655 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [49: 20384] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [69: 1104] @ 0xbfc4ba 0xbfc477 0x10ceb4f 0x10cd945 0x1f77f42 0x1f7006c 0x22af5dc 0x22b02a6 0x25deec7 0x25dee2e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4b9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfc476 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7006b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:291 # 0x22af5db github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xbb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:298 # 0x22b02a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x25deec6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x826 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:406 # 0x25dee2d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x78d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:222 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 816] @ 0x16b0825 0x16b07b9 0x1735745 0x173563d 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16b0824 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x16b07b8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1735744 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x173563c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2061 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 48640] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266d85e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266d85d github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3378 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 6336] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x264af65 0x264aed3 0x264ae68 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x264af64 net/textproto.MIMEHeader.Set+0x464 net/textproto/header.go:22 # 0x264aed2 net/http.Header.Set+0x3d2 net/http/header.go:40 # 0x264ae67 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x367 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:518 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 160] @ 0x50afcb 0x4f9c71 0x547625 0x544613 0x5443d2 0x543cbe 0xc1a32b 0x5453fa 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9c70 reflect.(*MapIter).Value+0x50 reflect/map_swiss.go:311 # 0x547624 encoding/json.mapEncoder.encode+0x3a4 encoding/json/encode.go:772 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1a32a github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x2a github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x5453f9 encoding/json.addrMarshalerEncoder+0x159 encoding/json/encode.go:471 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 5040] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 57344] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [70: 4587520] @ 0x1a08d45 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08d44 github.com/klauspost/compress/flate.(*compressor).init+0x1c4 github.com/klauspost/compress@v1.18.0/flate/deflate.go:827 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 344064] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [135: 2160] @ 0x1125385 0x11252c5 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1125384 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.10.9/encode.go:77 # 0x11252c4 github.com/lib/pq.decode+0x24 github.com/lib/pq@v1.10.9/encode.go:64 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1871bea 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1871be9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1339 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [57: 1867776] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [401: 6416] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 32] @ 0x112167f 0x7df797 0x7e7019 0x7efa11 0x7e68d6 0x7e664f 0x7e646f 0x7e5ae2 0x7e6388 0x182a869 0x182a20e 0x1819414 0x16e92e7 0x20020c7 0x20405f2 0x2649005 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112167e github.com/lib/pq.(*conn).ExecContext+0x7e github.com/lib/pq@v1.10.9/conn_go18.go:37 # 0x7df796 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x7e7018 database/sql.(*DB).execDC.func2+0x158 database/sql/sql.go:1713 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e68d5 database/sql.(*DB).execDC+0x215 database/sql/sql.go:1708 # 0x7e664e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x7e646e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e6387 database/sql.(*DB).ExecContext+0xc7 database/sql/sql.go:1671 # 0x182a868 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:191 # 0x182a20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:155 # 0x1819413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateLastActivityAt+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:305 # 0x16e92e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:11636 # 0x20020c6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9188 # 0x20405f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x151 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x2649004 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x484 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:325 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [223: 24976] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 320] @ 0x8665c9 0x8665ad 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8665c8 text/template/parse.lex+0x128 text/template/parse/lex.go:248 # 0x8665ac text/template/parse.(*Tree).Parse+0x10c text/template/parse/parse.go:248 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [507: 24920064] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2: 1536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae965 0x16b7a3c 0x16aedcd 0x16b00bd 0x186fa85 0x17c4bf1 0x17c706f 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae964 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x244 github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x186fa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x17c4bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1189 # 0x17c706e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x8ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1355 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 64512] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [502: 144576] @ 0x24f84b0 0x24f85ec 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f84af github.com/mattermost/mattermost/server/public/shared/request.NewContext+0x40f github.com/mattermost/mattermost/server/public/shared/request/context.go:30 # 0x24f85eb github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x54b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:183 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 80] @ 0x7dc1d7 0x7e7e0e 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1735a65 0x1735a03 0x16c49b7 0x1fd8d94 0x22d6ec8 0x22d7a95 0x25435e7 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7dc1d6 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x7e7e0d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1735a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1735a02 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2094 # 0x16c49b6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1832 # 0x1fd8d93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1537 # 0x22d6ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x187 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3172 # 0x22d7a94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3241 # 0x25435e6 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x286 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1677 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 14336] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 32] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b093f 0x17c5788 0x17c5771 0x17c625b 0x16dc8db 0x1ff3b18 0x1f7a145 0x240bf3a 0x25df238 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b093e github.com/mattermost/squirrel.SelectBuilder.Columns+0x1de github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x17c5787 github.com/mattermost/squirrel.StatementBuilderType.Select+0x2c7 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x17c5770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x2b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1252 # 0x17c625a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x45a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1276 # 0x16dc8da github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8117 # 0x1ff3b17 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6485 # 0x1f7a144 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:121 # 0x240bf39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x179 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25df237 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xb97 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [63: 2016] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [12: 6094848] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1009: 355168] @ 0x20952a5 0x2097633 0x208fe12 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20952a4 github.com/getsentry/sentry-go.NewScope+0x64 github.com/getsentry/sentry-go@v0.36.0/scope.go:55 # 0x2097632 github.com/getsentry/sentry-go.(*Scope).Clone+0x92 github.com/getsentry/sentry-go@v0.36.0/scope.go:328 # 0x208fe11 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.36.0/hub.go:118 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [193: 518784] @ 0x543d27 0x260dad9 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0x260dad8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0xb0c965 0xb160d5 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb0c964 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x444 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb160d4 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 1179648] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0x547e76 0x548a63 0x5470aa 0x548a63 0x5486ef 0x548255 0x5470aa 0x548a63 0x5470aa 0x548a63 0x547766 0x5470aa 0x548a63 0x544613 0x5443d2 0x54eb70 0xbdd32b 0x25df9ea 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0x547e75 encoding/json.encodeByteSlice+0x175 encoding/json/encode.go:815 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0xbdd32a github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x8a github.com/mattermost/mattermost/server/public/model/post_list.go:98 # 0x25df9e9 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1349 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4644864] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 9961472] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5316608] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 4956160] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4423680] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 2752512] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [13: 6176768] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 5226496] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 224] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b1abb 0x16b19b3 0x17cb5c9 0x17cb084 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b1aba github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b19b2 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x17cb5c8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x6c8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x17cb083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1676 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [25: 12697600] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 256] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af034 0x16aed98 0x16b00bd 0x17ca01b 0x17c8a85 0x16dcdf8 0x1ff4030 0x240db58 0x240f1f0 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af033 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x233 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17ca01a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xfba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1582 # 0x17c8a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1499 # 0x16dcdf7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xb7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8180 # 0x1ff402f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xaf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6533 # 0x240db57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1208 # 0x240f1ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x3af github.com/mattermost/mattermost/server/v8/channels/app/post.go:1441 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 32] @ 0x461d32 0x4612a5 0x46140a 0x17bdc35 0x17c051e 0x16db47b 0x1ff23d0 0x240cc58 0x240f032 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17bdc34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x194 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:580 # 0x17c051d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xfdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:714 # 0x16db47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0xfa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7790 # 0x1ff23cf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0xef github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6213 # 0x240cc57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1093 # 0x240f031 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1429 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 128] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x16ae87c 0x16b7a3c 0x16aedcd 0x16b00bd 0x17cb605 0x17cae9d 0x16dc37b 0x1ff3563 0x240e67c 0x240ef47 0x25e0109 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x16ae87b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x15b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17cb604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1679 # 0x17cae9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1647 # 0x16dc37a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8033 # 0x1ff3562 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6421 # 0x240e67b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1317 # 0x240ef46 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x106 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1417 # 0x25e0108 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x4c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:312 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [29: 14016512] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 120] @ 0x50e272 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x50e271 reflect.Value.extendSlice+0x71 reflect/value.go:2618 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [96: 393216] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [194: 6208] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [122: 5856] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [280: 860160] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [815: 143440] @ 0x171fa5a 0x1742778 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x171fa59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:372 # 0x1742777 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [107: 1712] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [571: 274080] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [729: 8957952] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [563: 288256] @ 0x54e9ae 0x54e645 0x54e315 0x204822d 0x2047c31 0x2687dd2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0x204822c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x26c github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:481 # 0x2047c30 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:419 # 0x2687dd1 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x811 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 1056] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x11b0fb0 0x11b0f3e 0x11b0f1d 0x702f82 0x702831 0x704e49 0x23a687b 0x23a686a 0x23a6e49 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x11b0faf net/textproto.MIMEHeader.Set+0xaf net/textproto/header.go:22 # 0x11b0f3d net/http.Header.Set+0x3d net/http/header.go:40 # 0x11b0f1c github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0x1c github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:18 # 0x702f81 net/http.send+0x5e1 net/http/client.go:259 # 0x702830 net/http.(*Client).send+0x90 net/http/client.go:180 # 0x704e48 net/http.(*Client).do+0x988 net/http/client.go:728 # 0x23a687a net/http.(*Client).Do+0x41a net/http/client.go:587 # 0x23a6869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x409 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x23a6e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x208 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [91: 11648] @ 0x5275a6 0x7462b7 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x5275a5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x7462b6 net/http.(*Request).AddCookie+0xf6 net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 336] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a0619 0x23a5dbc 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a0618 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x23a5dbb github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0x1bb github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:437 0: 0 [1238: 26938880] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1428: 456960] @ 0x50f21d 0x125fee5 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x125fee4 github.com/jmoiron/sqlx.scanAll+0x604 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [504: 145152] @ 0x2462a5c 0x2462a43 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2462a5b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:43 # 0x2462a42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 6528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x41c9ac 0x41c98e 0x47a145 0xaf28bf 0xaf28af 0xaf2299 0xaee445 0xaee9d6 0xaee86f 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xaf7ccd 0xaf6ce6 0xaf805a 0x114303d 0x1142ff1 0x11965a2 0x2402757 0x11922b8 0x48feea 0x48ff97 0x11920f2 0x11920b6 0x22e7674 0x2400c11 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0xaf28be maps.Clone[...]+0x5fe maps/maps.go:55 # 0xaf28ae encoding/gob.buildTypeInfo+0x5ee encoding/gob/type.go:783 # 0xaf2298 encoding/gob.getTypeInfo+0xf8 encoding/gob/type.go:725 # 0xaee444 encoding/gob.(*Encoder).sendActualType+0x84 encoding/gob/encoder.go:97 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaee86e encoding/gob.(*Encoder).sendActualType+0x4ae encoding/gob/encoder.go:122 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xaf7ccc net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xaf6ce5 net/rpc.(*Client).send+0x205 net/rpc/client.go:91 # 0xaf8059 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x114303c net/rpc.(*Client).Call+0x11c net/rpc/client.go:321 # 0x1142ff0 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageWillBePosted+0xd0 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:839 # 0x11965a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageWillBePosted+0x61 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:93 # 0x2402756 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func4+0x76 github.com/mattermost/mattermost/server/v8/channels/app/post.go:301 # 0x11922b7 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x137 github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x48fee9 internal/sync.(*HashTrieMap[...]).iter+0xe9 internal/sync/hashtriemap.go:512 # 0x48ff96 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x11920f1 sync.(*Map).Range+0x71 sync/hashtriemap.go:115 # 0x11920b5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x22e7673 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:302 # 0x2400c10 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1210 github.com/mattermost/mattermost/server/v8/channels/app/post.go:300 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [206: 23072] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b165b 0x16b15db 0x1841d0a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b165a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b15da github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1841d09 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:969 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1388: 177664] @ 0xafaad1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xafaad0 net/rpc.(*Server).ServeCodec+0x290 net/rpc/server.go:478 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [634: 202880] @ 0x503ca6 0x51542d 0x16a3ff4 0x16a3f7d 0x16a3f1c 0x16b0014 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x16a3ff3 reflect.Value.Interface+0x93 reflect/value.go:1484 # 0x16a3f7c github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x16a3f1b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x16b0013 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 96] @ 0x11137bb 0x111fcfb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1728dfb 0x1728d9d 0x16c451f 0x1fd88de 0x22ccd64 0x253cb9d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11137ba github.com/lib/pq.(*readBuf).string+0xda github.com/lib/pq@v1.10.9/buf.go:38 # 0x111fcfa github.com/lib/pq.parseStatementRowDescribe+0xda github.com/lib/pq@v1.10.9/conn.go:1970 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1728dfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xb7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1728d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1168 # 0x16c451e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1769 # 0x1fd88dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1489 # 0x22ccd63 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2109 # 0x253cb9c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x55c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1142 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [704: 22528] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [262: 29344] @ 0x933ebb 0x9337d3 0x932d73 0x932a14 0x9328d8 0x483fe1 # 0x933eba github.com/hashicorp/yamux.newStream+0x9a github.com/hashicorp/yamux@v0.1.2/stream.go:75 # 0x9337d2 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x932d72 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [771: 592128] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1142: 657792] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1841dcf 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1841dce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x20e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:972 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [185: 53280] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [49: 31360] @ 0x11196ba 0x11198c8 0x111f0e5 0x111f0bb 0x111836a 0x1118c88 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x17c6f97 0x17c6f31 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f0e4 github.com/lib/pq.(*conn).recv1+0x64 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f0ba github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3a github.com/lib/pq@v1.10.9/conn.go:1843 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x17c6f96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x7d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17c6f30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x770 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1351 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [145: 6960] @ 0x565d65 0x209b9b6 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0x209b9b5 github.com/getsentry/sentry-go.StartSpan+0xd5 github.com/getsentry/sentry-go@v0.36.0/tracing.go:132 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 16] @ 0xc08b56 0xc08f97 0x24995dd 0x24a3c8e 0x265499c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc08b55 github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x215 github.com/mattermost/mattermost/server/public/model/user.go:696 # 0xc08f96 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x116 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0x24995dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1182 # 0x24a3c8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteUsersInChannel+0x20d github.com/mattermost/mattermost/server/v8/channels/app/user.go:2285 # 0x265499b github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x61b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1299 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 960] @ 0x16aee3c 0x16aed98 0x16b00bd 0x179ebca 0x16d639b 0x1fec9c6 0x1f5158c 0x1f51297 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x179ebc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetAllByStatus+0x1a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:320 # 0x16d639a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6398 # 0x1fec9c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5142 # 0x1f5158b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x1f51296 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x156 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [60: 34560] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfae8e 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfae8d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x6cd github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [783: 137808] @ 0x22cec9f 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x22cec9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x1be github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2313 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [171: 24624] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae2fcb 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fca encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1191 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [976: 1124352] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [936: 299520] @ 0xc40d3f 0xc40db2 0xc3e48a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc40d3e net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0xc40db1 github.com/gorilla/mux.requestWithRoute+0xf1 github.com/gorilla/mux@v1.8.1/mux.go:455 # 0xc3e489 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [131: 2096] @ 0x50f21d 0x540429 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [54: 864] @ 0x6cf347 0x6cf157 0x6ccfa8 0x73fe18 0x2458ee5 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6cf346 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:788 # 0x6cf156 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:656 # 0x6ccfa7 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x73fe17 net/http.Header.Get+0x17 net/http/header.go:50 # 0x2458ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x144 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [190: 3040] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [64: 65536] @ 0x4e20f4 0x4e1b1d 0x4e1e19 0x4babf4 0x16ae556 0x16af1ab 0x16aed98 0x16b00bd 0x17c6f05 0x17c74c9 0x16dd375 0x1ff467a 0x1f79aff 0x240c702 0x25df4d2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1e18 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:191 # 0x4babf3 io.WriteString+0x53 io/io.go:316 # 0x16ae555 github.com/mattermost/squirrel.appendToSql+0x175 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x16af1aa github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3aa github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x17c6f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x17c74c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1361 # 0x16dd374 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8264 # 0x1ff4679 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6597 # 0x1f79afe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x15e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:104 # 0x240c701 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x161 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1053 # 0x25df4d1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe31 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:231 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [808: 361984] @ 0x111fccb 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcca github.com/lib/pq.parseStatementRowDescribe+0xaa github.com/lib/pq@v1.10.9/conn.go:1968 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [10: 48640] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x24a4e52 0x264aba5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x24a4e51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2435 # 0x264aba4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:487 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [472: 22656] @ 0x50f21d 0xafb2c5 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb2c4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:560 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [24: 12582912] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [11: 2883584] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [1: 176] @ 0x112570f 0x11252d0 0x111da25 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 896] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [210: 23520] @ 0x16a274c 0x16a2740 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0f5b 0x16b0e53 0x183ecb5 0x183ec70 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a274b github.com/lann/ps.(*tree).clone+0x22b github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a273f github.com/lann/ps.setLowLevel+0x21f github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0f5a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b0e52 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x183ecb4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ec6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [551: 79344] @ 0x479bf3 0x408dc5 0x408db8 0x40c412 0xae2fcb 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2fca encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1191 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [4: 3072] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [439: 7024] @ 0x50f21d 0x540429 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x183835d 0x16ec1da 0x20056ba 0x2027fd7 0x2027853 0x257a7e6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x183835c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x15c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:86 # 0x16ec1d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12497 # 0x20056b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9844 # 0x2027fd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:394 # 0x2027852 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b2 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:345 # 0x257a7e5 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:255 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [119: 274176] @ 0x11196ba 0x11198c8 0x111f72a 0x111f705 0x111ca0a 0x1118caa 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111f729 github.com/lib/pq.(*conn).recv1+0xa9 github.com/lib/pq@v1.10.9/conn.go:1100 # 0x111f704 github.com/lib/pq.(*conn).postExecuteWorkaround+0x84 github.com/lib/pq@v1.10.9/conn.go:1911 # 0x111ca09 github.com/lib/pq.(*stmt).exec+0x6e9 github.com/lib/pq@v1.10.9/conn.go:1463 # 0x1118ca9 github.com/lib/pq.(*conn).query+0x2e9 github.com/lib/pq@v1.10.9/conn.go:917 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [29: 4176] @ 0x62eb25 0x62e809 0x124a831 0x250fe90 0x24fc8cc 0x24faf37 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x62eb24 net/url.parse+0xc4 net/url/url.go:519 # 0x62e808 net/url.Parse+0x48 net/url/url.go:478 # 0x124a830 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x250fe8f github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x2f github.com/mattermost/mattermost/server/v8/channels/web/web.go:79 # 0x24fc8cb github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xbeb github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:431 # 0x24faf36 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e96 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:360 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1179: 603648] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [136: 15232] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [178: 2848] @ 0x74627f 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74627e net/http.(*Request).AddCookie+0xbe net/http/request.go:465 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [487: 23937024] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [768: 8355840] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [35: 143360] @ 0x74e5fe 0x74e5e9 0x74e57d 0x757249 0x20a7134 0x24e403c 0x2508c62 0xb6b01f 0x268767a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74e5fd bufio.NewWriterSize+0xdd bufio/bufio.go:600 # 0x74e5e8 bufio.NewWriter+0xc8 bufio/bufio.go:609 # 0x74e57c net/http.(*conn).hijackLocked+0x5c net/http/server.go:327 # 0x757248 net/http.(*response).Hijack+0xc8 net/http/server.go:2244 # 0x20a7133 github.com/getsentry/sentry-go/internal/httputils.(*httpFancyWriter).Hijack+0x73 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:160 # 0x24e403b github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Hijack+0x3b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:434 # 0x2508c61 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Hijack+0x21 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:55 # 0xb6b01e github.com/gorilla/websocket.(*Upgrader).Upgrade+0x45e github.com/gorilla/websocket@v1.5.3/server.go:180 # 0x2687679 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xb9 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [249: 6119424] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [227: 10896] @ 0x479c9a 0x479caf 0xae2f1c 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2f1b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1185 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [820: 13120] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [363: 11616] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [457: 7312] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x5443d2 0x543cbe 0xc1295d 0x545012 0x548e03 0x5470aa 0x544613 0x5443d2 0x54eb70 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xc1295c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x545011 encoding/json.marshalerEncoder+0xd1 encoding/json/encode.go:452 # 0x548e02 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:916 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [223: 114176] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [911: 291520] @ 0xc40bff 0xc40c72 0xc3e47a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc40bfe net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0xc40c71 github.com/gorilla/mux.requestWithVars+0xf1 github.com/gorilla/mux@v1.8.1/mux.go:450 # 0xc3e479 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [810: 336960] @ 0x1f7e999 0x1f7e90f 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1f7e998 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x118 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:600 # 0x1f7e90e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:177 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [952: 304640] @ 0x209b968 0x209f325 0x2458fbe 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209b967 github.com/getsentry/sentry-go.StartSpan+0x87 github.com/getsentry/sentry-go@v0.36.0/tracing.go:125 # 0x209f324 github.com/getsentry/sentry-go.StartTransaction+0x164 github.com/getsentry/sentry-go@v0.36.0/tracing.go:1061 # 0x2458fbd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:105 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [256: 6291456] @ 0x17427d3 0x17426ee 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x17427d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x472 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x17426ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3045 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1358: 391104] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [394: 226944] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf5a5 0x10cf533 0x1f77f42 0x1f7f40a 0x24930e5 0x24930b8 0x22af345 0x22af4b2 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f7f409 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:231 # 0x24930e4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x44 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x24930b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:441 # 0x22af344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:267 # 0x22af4b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:287 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [579: 166752] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x1841d65 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1841d64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:970 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [5632: 11534336] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1274: 2283008] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4: 192] @ 0xb6f385 0xb6f377 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22af388 0x24a51fa 0x265256e 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb6f384 bytes.NewReader+0x64 bytes/reader.go:159 # 0xb6f376 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22af387 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:274 # 0x24a51f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2477 # 0x265256d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x26d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 512] @ 0x7ecf6f 0x7e7a8c 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261019 0x12607e9 0x182b947 0x182b8ff 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x7ecf6e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x7e7a8b database/sql.(*DB).queryDC+0x56b database/sql/sql.go:1800 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261018 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x12607e8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 128] @ 0x56555e 0x565c8d 0x565c4f 0x182b7da 0x1844826 0x18447ce 0x16ed69e 0x2006fa9 0x24854e9 0x2629b85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x56555d context.WithDeadlineCause+0x1bd context/context.go:643 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x182b7d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:244 # 0x1844825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18447cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x16ed69d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12923 # 0x2006fa8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10179 # 0x24854e8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1670 # 0x2629b84 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:590 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [62: 35712] @ 0x12578b9 0x125c637 0x182b7ac 0x182b6d2 0x175c85d 0x175cffe 0x16c6f71 0x1fdb5dd 0x22e1e74 0x2554d5b 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182b7ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:243 # 0x182b6d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x175c85c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x175cffd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x16c6f70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2384 # 0x1fdb5dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1969 # 0x22e1e73 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:28 # 0x2554d5a github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [203: 22736] @ 0x16a26be 0x16a26b2 0x16a2645 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec49 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a26bd github.com/lann/ps.(*tree).clone+0x19d github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a26b1 github.com/lann/ps.setLowLevel+0x191 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x16a2644 github.com/lann/ps.setLowLevel+0x124 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [42: 12096] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0xbfc4f6 0xc0e27e 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc4f5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc0e27d github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa3d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1605: 154080] @ 0x50f21d 0x4fdcb6 0x5138a9 0xaf8b75 0xaf84c5 0x113eca5 0x113ec1b 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x4fdcb5 reflect.FuncOf+0x115 reflect/type.go:1859 # 0x5138a8 reflect.(*rtype).Method+0x448 reflect/type.go:636 # 0xaf8b74 net/rpc.suitableMethods+0x94 net/rpc/server.go:286 # 0xaf84c4 net/rpc.(*Server).register+0x244 net/rpc/server.go:259 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [608: 87552] @ 0x53dab7 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53dab6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:101 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1036: 42434560] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1404: 57507840] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [710: 8724480] @ 0x1742253 0x174208c 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1742252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:410 # 0x174208b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3031 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [296: 123136] @ 0x461d32 0x4612a5 0x4614c5 0x74631d 0x23f9e65 0x23f8425 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x74631c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x23f9e64 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x504 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:198 # 0x23f8424 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4787: 19607552] @ 0xafa488 0xafa470 0xafa413 0x113eea5 0x483fe1 # 0xafa487 bufio.NewWriterSize+0x87 bufio/bufio.go:600 # 0xafa46f bufio.NewWriter+0x6f bufio/bufio.go:609 # 0xafa412 net/rpc.(*Server).ServeConn+0x12 net/rpc/server.go:446 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [75: 2400] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1514: 436032] @ 0x479bb3 0x50ee65 0xade451 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [66: 2112] @ 0x16a2089 0x16a3cb7 0x16a44a9 0x16a3b93 0x16b0adb 0x16b09d3 0x183ec65 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a2088 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x16a3cb6 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x16a44a8 github.com/lann/builder.forEach+0x108 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x16a3b92 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [2366: 77529088] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [697: 2854912] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [124: 174592] @ 0x461d32 0x4612a5 0x46140a 0x1741f39 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1741f38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [108: 5184] @ 0x1261154 0x1260b22 0x1829ab6 0x1829a6e 0x1841e85 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1261153 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1841e84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 354432] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [4277: 280297472] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [79: 5056] @ 0xae02cb 0xae1d98 0xae2555 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae02ca encoding/gob.(*Decoder).decOpFor+0xa2a encoding/gob/decode.go:865 # 0xae1d97 encoding/gob.(*Decoder).compileSingle+0x217 encoding/gob/decode.go:1110 # 0xae2554 encoding/gob.(*Decoder).compileDec+0x254 encoding/gob/decode.go:1135 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [51: 2448] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [4256: 6537216] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [148: 9472] @ 0x461d32 0x4612a5 0x46140a 0x183ecdf 0x183ecc0 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x183ecde github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xfe github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x183ecbf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:736 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [106: 11872] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1091: 5865216] @ 0xba4ee5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xba4ee4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x44 github.com/mattermost/mattermost/server/public/model/config.go:3901 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [212: 122112] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xbfc35b 0xc0e2a9 0x10ceb4f 0x10cf791 0x10cf693 0x1f7834f 0x1f7ea7b 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfc35a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc0e2a8 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa68 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7ea7a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x1fa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 3456] @ 0x752347 0x751ef7 0x20a6e56 0x20a6e35 0x20a6d4b 0x1a913af 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x752346 net/http.Header.Clone+0x5c6 net/http/header.go:104 # 0x751ef6 net/http.(*response).WriteHeader+0x176 net/http/server.go:1231 # 0x20a6e55 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:94 # 0x20a6e34 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:113 # 0x20a6d4a github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:98 # 0x1a913ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.0/gzip/gzip.go:201 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 25344] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [491: 2639616] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742553 0x17423e4 0x16c6195 0x1fda739 0x22cee4f 0x266b855 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742552 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17423e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3036 # 0x16c6194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2174 # 0x1fda738 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1809 # 0x22cee4e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2324 # 0x266b854 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x734 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3227 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4815: 19722240] @ 0xae390b 0xae38b4 0xae38b3 0xafa535 0x113eea5 0x483fe1 # 0xae390a bufio.NewReaderSize+0xca bufio/bufio.go:57 # 0xae38b3 bufio.NewReader+0x73 bufio/bufio.go:63 # 0xae38b2 encoding/gob.NewDecoder+0x72 encoding/gob/decoder.go:49 # 0xafa534 net/rpc.(*Server).ServeConn+0x134 net/rpc/server.go:449 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [74: 4736] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [34: 5440] @ 0x5474d6 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x5474d5 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:764 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [66: 4224] @ 0xaf82d9 0x113eca5 0x113ec1b 0x483fe1 # 0xaf82d8 net/rpc.(*Server).register+0x58 net/rpc/server.go:239 # 0x113eca4 net/rpc.(*Server).RegisterName+0x3c4 net/rpc/server.go:231 # 0x113ec1a github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x33a github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:412 0: 0 [61: 35136] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 12288] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x1870145 0x18700e7 0x16f5dc7 0x20108d1 0x24955a3 0x264dcac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1870144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x18700e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x16f5dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15185 # 0x20108d0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11968 # 0x24955a2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:761 # 0x264dcab github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:742 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 6144] @ 0x54e9ae 0x54e645 0x54e315 0xc143f3 0x264dba6 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xc143f2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x264dba5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:733 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [46: 16192] @ 0xbdca93 0xbdca4b 0x2423d2a 0x25e0411 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdca92 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xf2 github.com/mattermost/mattermost/server/public/model/post.go:347 # 0xbdca4a github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xaa github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x2423d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:266 # 0x25e0410 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [28: 14450688] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [50: 26214400] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 8560640] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [24: 11796480] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 7176192] @ 0xb721ba 0xb71d57 0xb760fc 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb721b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xb71d56 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xb760fb github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [20: 7864320] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [27: 12828672] @ 0xb76113 0xb760ee 0xb760a5 0xb7618c 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb7585b 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cd945 0x1f77f42 0x1f73da9 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb76112 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xb760ed github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xb760a4 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xb7618b github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb7585a github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cd944 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1f77f41 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:511 # 0x1f73da8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:38 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [138: 6624] @ 0x565d65 0xc40bdf 0xc3e47a 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x565d64 context.WithValue+0xa4 context/context.go:728 # 0xc40bde github.com/gorilla/mux.requestWithVars+0x5e github.com/gorilla/mux@v1.8.1/mux.go:449 # 0xc3e479 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [516: 148608] @ 0xc46b69 0xc46b5d 0x24f968b 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xc46b68 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x28 github.com/mattermost/mattermost/server/public/shared/request/context.go:59 # 0xc46b5c github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x1c github.com/mattermost/mattermost/server/public/shared/request/context.go:114 # 0x24f968a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15ea github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:271 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 4608] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x208e01f 0x2095116 0x209efc5 0x2458f05 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x208e01e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x21e github.com/getsentry/sentry-go@v0.36.0/dynamic_sampling_context.go:30 # 0x2095115 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x135 github.com/getsentry/sentry-go@v0.36.0/propagation_context.go:74 # 0x209efc4 github.com/getsentry/sentry-go.ContinueTrace+0x84 github.com/getsentry/sentry-go@v0.36.0/tracing.go:980 # 0x2458f04 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:99 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 192] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e609e 0x17e5f53 0x16e17da 0x1ff9426 0x2432886 0x261d445 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e609d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e5f52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.GetViews+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:125 # 0x16e17d9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9425 # 0x1ff9425 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7492 # 0x2432885 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x285 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x261d444 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:968 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [348: 38976] @ 0x7511ef 0x755918 0x483fe1 # 0x7511ee net/http.(*conn).readRequest+0x7ee net/http/server.go:1103 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [35: 170240] @ 0x2046610 0x2687d74 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x204660f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x3cf github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:230 # 0x2687d73 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b3 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 13568] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 2304] @ 0x16af67d 0x16af696 0x16aed98 0x16b00bd 0x1871b74 0x16f533d 0x200fb9d 0x2493394 0x2493378 0x26494b2 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16af67c bytes.(*Buffer).String+0x87c bytes/buffer.go:71 # 0x16af695 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x895 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1871b73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1333 # 0x16f533c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15020 # 0x200fb9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11808 # 0x2493393 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x2493377 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:465 # 0x26494b1 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:338 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [33: 135168] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1772: 1360896] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [181: 11584] @ 0x20a69ee 0x2459018 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x20a69ed github.com/getsentry/sentry-go/internal/httputils.NewWrapResponseWriter+0x12d github.com/getsentry/sentry-go@v0.36.0/internal/httputils/wrap_writer.go:49 # 0x2459017 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x277 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:111 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [126: 2016] @ 0xbfb330 0xbfb2f0 0x10ceb4f 0x10cf5a5 0x10cf533 0x203a2cc 0x2462af7 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfb32f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb6f github.com/tinylib/msgp@v1.4.0/msgp/read_bytes.go:991 # 0xbfb2ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb2f github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x10ceb4e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x10cf5a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf532 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x203a2cb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:129 # 0x2462af6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [612: 215424] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x24e43c5 0x24e4397 0x24e4365 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24e43c4 net/textproto.MIMEHeader.Add+0xa4 net/textproto/header.go:15 # 0x24e4396 net/http.Header.Add+0x76 net/http/header.go:31 # 0x24e4364 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:483 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [19: 5136384] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 109056] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [227: 14528] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 110592] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc54a 0xae34bf 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [7: 129024] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [211: 23632] @ 0x16a259f 0x16a2593 0x16a24c5 0x16a3955 0x16a3bc5 0x16b0adb 0x16b09d3 0x183ec2e 0x1841c4a 0x16eddbd 0x2007743 0x247d26b 0x22af446 0x23e4b85 0x1135ee8 0x11741f9 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x16a259e github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x16a2592 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x16a24c4 github.com/lann/ps.(*tree).Set+0xc4 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x16a3954 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x16a3bc4 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x16b0ada github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x16b09d2 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x183ec2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x1841c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:968 # 0x16eddbc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13028 # 0x2007742 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10259 # 0x247d26a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:979 # 0x22af445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:281 # 0x23e4b84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1103 # 0x1135ee7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x11741f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5481 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1329: 2721792] @ 0x11196ba 0x11198c8 0x111d44c 0x23ed328 0x118c71f 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x23ed327 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x118c71e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [148: 7104] @ 0x479c9a 0x479caf 0x2095266 0x2097633 0x208fe12 0x2458e4c 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x2095265 github.com/getsentry/sentry-go.NewScope+0x25 github.com/getsentry/sentry-go@v0.36.0/scope.go:59 # 0x2097632 github.com/getsentry/sentry-go.(*Scope).Clone+0x92 github.com/getsentry/sentry-go@v0.36.0/scope.go:328 # 0x208fe11 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.36.0/hub.go:118 # 0x2458e4b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:90 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1246: 27112960] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x1742086 0x1741f04 0x16c631e 0x1fda8c9 0x22ceb75 0x23e1387 0x113252a 0x1166c05 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1742085 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x1741f03 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3026 # 0x16c631d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2195 # 0x1fda8c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1825 # 0x22ceb74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2307 # 0x23e1386 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x1132529 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x1166c04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3808 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [4130: 5815040] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x6cff11 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6cff10 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:523 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 384] @ 0x16ae99e 0x16ae9a1 0x16b7a3c 0x16aedcd 0x16b00bd 0x1829d10 0x17255e5 0x16c2727 0x1fd68cd 0x1f6f5e6 0x22cbbc9 0x22adf7a 0x22adf75 0x2538229 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x16ae99d bytes.(*Buffer).String+0x27d bytes/buffer.go:71 # 0x16ae9a0 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x280 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x16b7a3b github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x3b github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x16aedcc github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1829d0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:128 # 0x17255e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:887 # 0x16c2726 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1328 # 0x1fd68cc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1153 # 0x1f6f5e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:233 # 0x22cbbc8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1979 # 0x22adf79 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1975 # 0x22adf74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x74 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:98 # 0x2538228 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x248 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:726 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [92: 3768320] @ 0x4d3fb9 0x4d3e69 0x16440c5 0x2460eec 0x2460b6e 0x264acd2 0x264acb5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2460b6d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x10d github.com/mattermost/mattermost/server/v8/channels/app/server.go:1680 # 0x264acd1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:871 # 0x264acb4 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1b4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:509 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [496: 142848] @ 0x24f8236 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8235 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x195 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:152 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [323: 62016] @ 0x709525 0x22ad450 0x22ad45b 0x24f95ef 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x709524 net/http.readCookies+0x464 net/http/cookie.go:362 # 0x22ad44f net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x22ad45a github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x24f95ee github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x154e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [373: 477440] @ 0x6d00fc 0x7761a9 0x7761aa 0x750c27 0x755918 0x483fe1 # 0x6d00fb net/textproto.readMIMEHeader+0x27b net/textproto/reader.go:568 # 0x7761a8 net/textproto.(*Reader).ReadMIMEHeader+0x4c8 net/textproto/reader.go:502 # 0x7761a9 net/http.readRequest+0x4c9 net/http/request.go:1133 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [1: 576] @ 0xbfa265 0xbfa221 0x10ce415 0x10cf4af 0x10cf433 0x20395b0 0x2462b95 0x24f9647 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbfa264 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xbfa220 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cf4ae github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cf432 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.SetWithExpiry+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:73 # 0x20395af github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x2462b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x24f9646 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x15a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:258 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 86507520] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [11: 43253760] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [10: 9830400] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 2949120] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3096576] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 3096576] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [16: 8388608] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [17: 8912896] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 2539520] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3383296] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4055040] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [7: 3153920] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4423680] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [9: 4423680] @ 0x11196ba 0x11198c8 0x111d44c 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x11196b9 github.com/lib/pq.(*conn).recvMessage+0x119 github.com/lib/pq@v1.10.9/conn.go:1030 # 0x11198c7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.10.9/conn.go:1073 # 0x111d44b github.com/lib/pq.(*rows).Next+0x10b github.com/lib/pq@v1.10.9/conn.go:1587 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 576] @ 0xb1438e 0xb160bd 0xb132ec 0x2426425 0x24233f8 0x24232a6 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb1438d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb160bc github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb132eb github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:18 # 0x2426424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:539 # 0x24233f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:183 # 0x24232a5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:169 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [4: 73728] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x177b4ee 0x177b1c6 0x16d021b 0x1fe5ed7 0x1f73de8 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x177b4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x177b1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:368 # 0x16d021a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4838 # 0x1fe5ed6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3943 # 0x1f73de7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x127 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:42 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 8960] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0xbdd15c 0xbdd2cf 0x25e0628 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xbdd15b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:85 # 0xbdd2ce github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:97 # 0x25e0627 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:346 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [18: 2359296] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x548a63 0x5486ef 0x548255 0x547766 0x544613 0x5443d2 0x54eb70 0x264dd6a 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x264dd69 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x229 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:748 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [2: 128] @ 0x112570f 0x11252d0 0x111da25 0x7ed562 0x7ed429 0x7efa11 0x7ed391 0x125fec4 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x112570e github.com/lib/pq.textDecode+0x1ee github.com/lib/pq@v1.10.9/encode.go:99 # 0x11252cf github.com/lib/pq.decode+0x2f github.com/lib/pq@v1.10.9/encode.go:66 # 0x111da24 github.com/lib/pq.(*rows).Next+0x6e4 github.com/lib/pq@v1.10.9/conn.go:1618 # 0x7ed561 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x7ed428 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7ed390 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x125fec3 github.com/jmoiron/sqlx.scanAll+0x5e3 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2304] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x186fb2a 0x186faab 0x16f5f62 0x2010a7f 0x1f7f0ec 0x1657130 0x24953d3 0x2652609 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x186fb29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x186faaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1146 # 0x16f5f61 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15206 # 0x2010a7e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11984 # 0x1f7f0eb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x165712f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:141 # 0x24953d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:752 # 0x2652608 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x308 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1071 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7a399 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e685 0x1656ecc 0x1656eca 0x2493b25 0x2650c19 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7a398 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e684 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfiles+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:135 # 0x1656ecb github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:118 # 0x1656ec9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x2493b24 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:534 # 0x2650c18 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2c18 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1015 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [394: 69344] @ 0xae2488 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0xae2487 encoding/gob.(*Decoder).compileDec+0x187 encoding/gob/decode.go:1153 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [36230: 1187184640] @ 0x1199207 0x113e77f 0x483fe1 # 0x1199206 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x206 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:36 # 0x113e77e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x29e github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:429 0: 0 [227: 523008] @ 0x47ed67 0x50e166 0x50e2ba 0x50e4ec 0x1260085 0x1260848 0x182b947 0x182b8ff 0x182bc8d 0x17e28f6 0x17e27b3 0x16e0f9a 0x1ff8ae6 0x242fc04 0x23df353 0x112e48a 0x1157eed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e2b9 reflect.Value.extendSlice+0xb9 reflect/value.go:2623 # 0x50e4eb reflect.Append+0x6b reflect/value.go:2649 # 0x1260084 github.com/jmoiron/sqlx.scanAll+0x7a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x182bc8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:266 # 0x17e28f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x17e27b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.GetAll+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:156 # 0x16e0f99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9278 # 0x1ff8ae5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7380 # 0x242fc03 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x23df352 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:311 # 0x112e489 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x1157eec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1970 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [72: 350208] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266b1fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266b1fd github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xdd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3182 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [981: 313920] @ 0x775d74 0x750c27 0x755918 0x483fe1 # 0x775d73 net/http.readRequest+0x93 net/http/request.go:1083 # 0x750c26 net/http.(*conn).readRequest+0x226 net/http/server.go:1048 # 0x755917 net/http.(*conn).serve+0x397 net/http/server.go:2027 0: 0 [2361: 2417664] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [25: 10035200] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x4bb297 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x4bb296 io.copyBuffer+0x1d6 io/io.go:431 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [3: 86016] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [31: 744] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0x113eea5 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0x113eea4 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c4 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:416 0: 0 [1: 6528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x41c9ac 0x41c98e 0x47a145 0xaf28bf 0xaf28af 0xaf2299 0xaee445 0xaee9d6 0xaee68d 0xaee9d6 0xaee86f 0xaee9d6 0xaeeb9e 0xaef02c 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0x47a144 maps.clone+0x24 runtime/map_swiss.go:333 # 0xaf28be maps.Clone[...]+0x5fe maps/maps.go:55 # 0xaf28ae encoding/gob.buildTypeInfo+0x5ee encoding/gob/type.go:783 # 0xaf2298 encoding/gob.getTypeInfo+0xf8 encoding/gob/type.go:725 # 0xaee444 encoding/gob.(*Encoder).sendActualType+0x84 encoding/gob/encoder.go:97 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaee68c encoding/gob.(*Encoder).sendActualType+0x2cc encoding/gob/encoder.go:126 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaee86e encoding/gob.(*Encoder).sendActualType+0x4ae encoding/gob/encoder.go:122 # 0xaee9d5 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xaeeb9d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xaef02b encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [12555: 822804480] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [8: 1280] @ 0x7e79fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1829d45 0x184f62b 0x16f1d6a 0x200bdaa 0x24a9359 0x11adcb0 0x483fe1 # 0x7e79fd database/sql.(*DB).queryDC+0x4dd database/sql/sql.go:1795 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1829d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:133 # 0x184f62a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:265 # 0x16f1d69 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14063 # 0x200bda9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11058 # 0x24a9358 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xd8 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2746 # 0x11adcaf golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [864: 248832] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x209c14d 0x2458ff7 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x209c14c github.com/getsentry/sentry-go.(*Span).SetData+0xec github.com/getsentry/sentry-go@v0.36.0/tracing.go:256 # 0x2458ff6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x256 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:109 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [48: 1572864] @ 0x4bb1c5 0x4baf0c 0x4baeeb 0x70bc05 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4baf0b io.Copy+0x8b io/io.go:388 # 0x4baeea io.CopyN+0x6a io/io.go:364 # 0x70bc04 net/http.serveContent+0xd24 net/http/fs.go:424 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x6d7e8e 0x6d8819 0x6d897f 0x6d7a7d 0x48e78b 0x6d7ae8 0x6d7acb 0x70bcc5 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6d7e8d mime.setExtensionType+0x12d mime/type.go:174 # 0x6d8818 mime.loadMimeFile+0x1b8 mime/type_unix.go:97 # 0x6d897e mime.initMimeUnix+0x7e mime/type_unix.go:114 # 0x6d7a7c mime.initMime+0x3c mime/type.go:81 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6d7ae7 sync.(*Once).Do+0x47 sync/once.go:69 # 0x6d7aca mime.TypeByExtension+0x2a mime/type.go:105 # 0x70bcc4 net/http.serveContent+0xde4 net/http/fs.go:283 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 458752] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 294912] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 24] @ 0x6d8745 0x6d8746 0x6d897f 0x6d7a7d 0x48e78b 0x6d7ae8 0x6d7acb 0x70bcc5 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x6d8744 bufio.(*Scanner).Text+0xe4 bufio/scan.go:115 # 0x6d8745 mime.loadMimeFile+0xe5 mime/type_unix.go:88 # 0x6d897e mime.initMimeUnix+0x7e mime/type_unix.go:114 # 0x6d7a7c mime.initMime+0x3c mime/type.go:81 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6d7ae7 sync.(*Once).Do+0x47 sync/once.go:69 # 0x6d7aca mime.TypeByExtension+0x2a mime/type.go:105 # 0x70bcc4 net/http.serveContent+0xde4 net/http/fs.go:283 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x491265 0x49123b 0x6d8234 0x6d820f 0x6d80ff 0x6d8819 0x6d897f 0x6d7a7d 0x48e78b 0x6d7ae8 0x6d7acb 0x70bcc5 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x491264 internal/sync.newEntryNode[...]+0x304 internal/sync/hashtriemap.go:572 # 0x49123a internal/sync.(*HashTrieMap[...]).Swap+0x2da internal/sync/hashtriemap.go:263 # 0x6d8233 internal/sync.(*HashTrieMap[...]).Store+0x4d3 internal/sync/hashtriemap.go:200 # 0x6d820e sync.(*Map).Store+0x4ae sync/hashtriemap.go:55 # 0x6d80fe mime.setExtensionType+0x39e mime/type.go:193 # 0x6d8818 mime.loadMimeFile+0x1b8 mime/type_unix.go:97 # 0x6d897e mime.initMimeUnix+0x7e mime/type_unix.go:114 # 0x6d7a7c mime.initMime+0x3c mime/type.go:81 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6d7ae7 sync.(*Once).Do+0x47 sync/once.go:69 # 0x6d7aca mime.TypeByExtension+0x2a mime/type.go:105 # 0x70bcc4 net/http.serveContent+0xde4 net/http/fs.go:283 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 48] @ 0x16aee3c 0x16aed98 0x16b00bd 0x182bc47 0x18380f6 0x1838053 0x16ec0e6 0x200559d 0x246051d 0x23a6c90 0x23a6c91 0x23a2545 0x23a51d2 0x23a5cff 0x483fe1 # 0x16aee3b github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x3b github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x16aed97 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x16b00bc github.com/mattermost/squirrel.SelectBuilder.ToSql+0xfc github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x182bc46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:261 # 0x18380f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:257 # 0x1838052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:72 # 0x16ec0e5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12476 # 0x200559c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9828 # 0x246051c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ServerId+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1618 # 0x23a6c8f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServerId+0x4f github.com/mattermost/mattermost/server/v8/channels/app/app.go:41 # 0x23a6c90 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:524 # 0x23a2544 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x23a51d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x23a5cfe github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [26: 126464] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x22aef98 0x266f5fe 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x22aef97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0x97 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:225 # 0x266f5fd github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x51d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3495 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [22: 352] @ 0x24f8c05 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x24f8c04 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:222 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [128: 1048576] @ 0x68bfd5 0x68bfeb 0x68cd5d 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x68bfd4 crypto/internal/fips140/mlkem.NewDecapsulationKey768+0xc54 crypto/internal/fips140/mlkem/mlkem768.go:200 # 0x68bfea crypto/tls.(*Conn).makeClientHello+0xc6a crypto/tls/handshake_client.go:171 # 0x68cd5c crypto/tls.(*Conn).clientHandshake+0x7c crypto/tls/handshake_client.go:275 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [9: 3612672] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 1280] @ 0x1a0a465 0x1a0a527 0x1a08bb1 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a0a464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.0/flate/huffman_code.go:86 # 0x1a0a526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.0/flate/huffman_bit_writer.go:151 # 0x1a08bb0 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.0/flate/deflate.go:809 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [5: 1351680] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266f8ac 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266f8ab github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x7cb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3510 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [6: 288] @ 0x53ff05 0x53e6fe 0x53df7e 0x54e3fa 0x2543534 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x53ff04 encoding/json.(*decodeState).object+0x924 encoding/json/decode.go:702 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x2543533 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x1d3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1661 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [110: 535040] @ 0xb7520c 0xb7512b 0xb7507e 0xb822e3 0xb73839 0xb735f0 0xb77e47 0xb7067a 0xb70432 0xb6f437 0x10ceb68 0x10cf791 0x10cf693 0x1f7834f 0x1f7b22e 0x243cdc3 0x22afa2a 0x22ad82d 0x24f1f7b 0x25deda5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0xb7520b github.com/vmihailenco/msgpack/v5.makeStrings+0x12b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xb7512a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xb7507d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xb822e2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xb73838 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:341 # 0xb735ef github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:299 # 0xb77e46 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xb70679 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xb70431 github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x651 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xb6f436 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x10ceb67 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x10cf790 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x10cf692 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x72 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x1f7834e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:528 # 0x1f7b22d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:66 # 0x243cdc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:81 # 0x22afa29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:344 # 0x22ad82c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24f1f7a github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0xba github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x25deda4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x704 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:212 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 475136] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [7: 2809856] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [8: 2162688] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [12: 4816896] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x253c407 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x253c406 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x746 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1102 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [70: 4587520] @ 0x4e20f4 0x4e1b1d 0x54542a 0x54541c 0x548de4 0x5470aa 0x5486ef 0x548255 0x544613 0x5443d2 0x54eb70 0x254311d 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x545429 bytes.(*Buffer).Grow+0x189 bytes/buffer.go:168 # 0x54541b encoding/json.addrMarshalerEncoder+0x17b encoding/json/encode.go:473 # 0x548de3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:914 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x54eb6f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:210 # 0x254311c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1644 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [162: 46656] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x53df7e 0x53db79 0xc125d2 0x7de907 0x7eedfa 0x7eead3 0x125ff87 0x1260848 0x182b947 0x182b8ff 0x1741a5e 0x17419fa 0x16c5ffe 0x1fda5a9 0x22ce9e8 0x2542e9c 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xc125d1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7de906 database/sql.convertAssignRows+0x1ee6 database/sql/convert.go:394 # 0x7eedf9 database/sql.(*Rows).scanLocked+0x259 database/sql/sql.go:3399 # 0x7eead2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x125ff86 github.com/jmoiron/sqlx.scanAll+0x6a6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x1260847 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x182b946 github.com/jmoiron/sqlx.(*DB).SelectContext+0x206 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x182b8fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectCtx+0x1be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x1741a5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:239 # 0x17419f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x399 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3015 # 0x16c5ffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2153 # 0x1fda5a8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1793 # 0x22ce9e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2298 # 0x2542e9b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x21b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1632 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 0: 0 [1: 204800] @ 0x83a6d9 0x8590d5 0xb9ca0e 0xba679e 0x1493a87 0x2455b0b 0x2455af4 0x26c8db9 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x83a6d8 github.com/mattermost/logr/v2.New+0x2d8 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x8590d4 github.com/mattermost/mattermost/server/public/shared/mlog.LoggerConfiguration.IsValid+0x34 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:73 # 0xb9ca0d github.com/mattermost/mattermost/server/public/model.(*LogSettings).isValid+0x16d github.com/mattermost/mattermost/server/public/model/config.go:1482 # 0xba679d github.com/mattermost/mattermost/server/public/model.(*Config).IsValid+0x33d github.com/mattermost/mattermost/server/public/model/config.go:4077 # 0x1493a86 github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x2c6 github.com/mattermost/mattermost/server/v8/config/store.go:294 # 0x2455b0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ReloadConfig+0x56a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:129 # 0x2455af3 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start+0x553 github.com/mattermost/mattermost/server/v8/channels/app/server.go:837 # 0x26c8db8 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x138 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:104 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1098: 175680] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4268032] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23d0212 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23d0211 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPluginsActiveState.func2+0x4b1 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:142 0: 0 [723: 46272] @ 0xadd126 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadd125 encoding/gob.(*Decoder).decodeArrayHelper+0xa5 encoding/gob/decode.go:543 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [8: 5632] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [1: 208] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1052: 25248] @ 0x9363cf 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x9363ce github.com/hashicorp/yamux.(*Stream).readData+0x8e github.com/hashicorp/yamux@v0.1.2/stream.go:490 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [457: 21936] @ 0x50f21d 0xafb387 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xafb386 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:573 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2359: 150976] @ 0x9317a5 0x934ec5 0x9349f2 0x5732f5 0xafa293 0xaf98e5 0xaf9dca 0x483fe1 # 0x9317a4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x934ec4 github.com/hashicorp/yamux.(*Stream).write+0x3a4 github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9349f1 github.com/hashicorp/yamux.(*Stream).Write+0x111 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x5732f4 bufio.(*Writer).Flush+0x54 bufio/bufio.go:643 # 0xafa292 net/rpc.(*gobServerCodec).WriteResponse+0x272 net/rpc/server.go:427 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [2675: 342400] @ 0xafaad1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xafaad0 net/rpc.(*Server).ServeCodec+0x290 net/rpc/server.go:478 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [9: 11520] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [24: 6144] @ 0xadbf98 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [4: 16384] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [375: 60000] @ 0x1118cb6 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [54: 864] @ 0x50f21d 0xae37fd 0xade9fa 0xae053a 0xadc81f 0xae05a8 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xae37fc encoding/gob.allocValue+0x1c encoding/gob/decode.go:1308 # 0xade9f9 encoding/gob.(*Decoder).decodeInterface+0x219 encoding/gob/decode.go:715 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [66: 1056] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadc81f 0xae05a8 0xadd29f 0xade4e5 0xae0633 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [2: 896] @ 0x479bb3 0x50ee65 0xadb7ce 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479bb2 reflect.unsafe_NewArray+0x12 runtime/malloc.go:1795 # 0x50ee64 reflect.MakeSlice+0xa4 reflect/value.go:2918 # 0xadb7cd encoding/gob.decUint8Slice+0x14d encoding/gob/decode.go:377 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 0: 0 [6: 144] @ 0x911f5b 0xae3e25 0xae3d9e 0xae4087 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x911f5a internal/saferio.ReadData+0x5a internal/saferio/io.go:36 # 0xae3e24 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xae3d9d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xae4086 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [345: 22080] @ 0xaeaf88 0xaeaf54 0xaf384f 0xaea4d4 0xaecd39 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaeaf87 encoding/gob.(*Encoder).newEncoderState+0xe7 encoding/gob/encode.go:82 # 0xaeaf53 encoding/gob.(*Encoder).encodeInterface+0xb3 encoding/gob/encode.go:392 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1240: 10158080] @ 0x4e20f4 0x4e1b1d 0x4e1efe 0x4bb211 0x936506 0x9364e5 0x932fad 0x932a14 0x9328d8 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1efd bytes.(*Buffer).ReadFrom+0x3d bytes/buffer.go:209 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x936505 io.Copy+0x1c5 io/io.go:388 # 0x9364e4 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x932fac github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2ac github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x932a13 github.com/hashicorp/yamux.(*Session).recvLoop+0xf3 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9328d7 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [40: 8320] @ 0x111fcb2 0x111f1f5 0x111836a 0x1118c88 0x1121527 0x23eb155 0x7e919d 0x23eaf05 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111fcb1 github.com/lib/pq.parseStatementRowDescribe+0x91 github.com/lib/pq@v1.10.9/conn.go:1967 # 0x111f1f4 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x174 github.com/lib/pq@v1.10.9/conn.go:1854 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x1118c87 github.com/lib/pq.(*conn).query+0x2c7 github.com/lib/pq@v1.10.9/conn.go:916 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x23eb154 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:108 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eaf04 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 64] @ 0x111f16b 0x111836a 0x111906f 0x1121765 0x23eb695 0x7e919d 0x23eb3c5 0x118baea 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x111f16a github.com/lib/pq.(*conn).readStatementDescribeResponse+0xea github.com/lib/pq@v1.10.9/conn.go:1847 # 0x1118369 github.com/lib/pq.(*conn).prepareTo+0x569 github.com/lib/pq@v1.10.9/conn.go:846 # 0x111906e github.com/lib/pq.(*conn).Exec+0x18e github.com/lib/pq@v1.10.9/conn.go:952 # 0x1121764 github.com/lib/pq.(*conn).ExecContext+0x164 github.com/lib/pq@v1.10.9/conn_go18.go:46 # 0x23eb694 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec.func1+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:134 # 0x7e919c database/sql.(*Conn).Raw+0xdc database/sql/sql.go:2094 # 0x23eb3c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x118bae9 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [94: 3008] @ 0xb18ff7 0xc13c73 0x23eaf1d 0x118b382 0x505826 0x504939 0xaf9d09 0x483fe1 # 0xb18ff6 encoding/base32.(*Encoding).EncodeToString+0xf6 encoding/base32/base32.go:202 # 0xc13c72 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x23eaf1c github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x1bc github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:115 # 0x118b381 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 6912] @ 0xae7c57 0xaee15f 0xaeb74c 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae7c56 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xaee15e encoding/gob.(*Encoder).writeMessage+0x3be encoding/gob/encoder.go:82 # 0xaeb74b encoding/gob.(*Encoder).encodeInterface+0x8ab encoding/gob/encode.go:424 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 32768] @ 0x4bb1c5 0x4d2c8f 0x4d2c4f 0x4d2bbc 0x4bb15d 0x119afc6 0x119af11 0x118f859 0x119a2f8 0x118eae5 0x118f1da 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d2c8e io.Copy+0x4e io/io.go:388 # 0x4d2c4e os.genericWriteTo+0xe os/file.go:275 # 0x4d2bbb os.(*File).WriteTo+0x9b os/file.go:253 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x119afc5 io.Copy+0x165 io/io.go:388 # 0x119af10 github.com/mattermost/mattermost/server/public/plugin.getPluginExecutableChecksum+0xb0 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:247 # 0x118f858 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate.WithExecutableFromManifest.func3+0x158 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:64 # 0x119a2f7 github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0xc17 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:126 # 0x118eae4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x118f1d9 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x579 github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 5300224] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 5300224] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [122: 5856] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [320: 184320] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x54386d 0x543519 0x5435eb 0x5434f2 0x543848 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x543518 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1038 # 0x5435ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1056 # 0x5434f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1035 # 0x543847 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 65536] @ 0x11c7f9e 0x198aa35 0x198ae0e 0x19a3ad3 0x19a3be9 0x19a3d36 0x2497532 0x2497765 0x23e31c5 0x1133f88 0x116d139 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198ae0d github.com/anthonynsimon/bild/transform.Crop+0x6d github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:46 # 0x19a3ad2 github.com/mattermost/mattermost/server/v8/channels/app/imaging.CropCenter+0xd2 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:153 # 0x19a3be8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.resizeAndCropCenter+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:176 # 0x19a3d35 github.com/mattermost/mattermost/server/v8/channels/app/imaging.FillCenter+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:200 # 0x2497531 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x2f1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:953 # 0x2497764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:964 # 0x23e31c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:883 # 0x1133f87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x116d138 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4603 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 8192] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x23f481a 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 20480] @ 0x11c7f9e 0x198af5c 0x198ad09 0x19a416d 0x19a3bda 0x19a3d36 0x2497532 0x2497765 0x23e31c5 0x1133f88 0x116d139 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198af5b github.com/anthonynsimon/bild/transform.resampleHorizontal+0xfb github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:57 # 0x198ad08 github.com/anthonynsimon/bild/transform.Resize+0xe8 github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:30 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3bd9 github.com/mattermost/mattermost/server/v8/channels/app/imaging.resizeAndCropCenter+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:173 # 0x19a3d35 github.com/mattermost/mattermost/server/v8/channels/app/imaging.FillCenter+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:200 # 0x2497531 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x2f1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:953 # 0x2497764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:964 # 0x23e31c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:883 # 0x1133f87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x116d138 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4603 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [13: 851968] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118e4f3 0x118e4eb 0x23fdb1d 0x23e407f 0x23e4074 0x113513e 0x11713ed 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118e4f2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118e4ea github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x23fdb1c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x23e407e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x23e4073 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1038 # 0x113513d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x11713ec github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5128 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [107: 61632] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408e4d 0x40d905 0x54386d 0x53fb9f 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x53db79 0xba4f08 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54386c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1105 # 0x53fb9e encoding/json.(*decodeState).object+0x5be encoding/json/decode.go:617 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0xba4f07 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:3902 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 24] @ 0x50ee35 0xade451 0xae0633 0xadc81f 0xae05a8 0xadc81f 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9f85 0xafb5f8 0xafb1af 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d206 0x483fe1 # 0x50ee34 reflect.MakeSlice+0x74 reflect/value.go:2918 # 0xade450 encoding/gob.(*Decoder).decodeSlice+0x230 encoding/gob/decode.go:663 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae05a7 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:897 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9f84 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:401 # 0xafb5f7 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:587 # 0xafb1ae net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:547 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d205 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0xa5 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:255 0: 0 [1: 4399104] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 16384] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118ed4a 0x118ed45 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118ed49 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe9 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118ed44 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 4399104] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 4096] @ 0xae390b 0xae38b4 0xae38b3 0xaf7850 0xb09b8e 0x119a3be 0x118eae5 0x118f1da 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0xae390a bufio.NewReaderSize+0xca bufio/bufio.go:57 # 0xae38b3 bufio.NewReader+0x73 bufio/bufio.go:63 # 0xae38b2 encoding/gob.NewDecoder+0x72 encoding/gob/decoder.go:49 # 0xaf784f net/rpc.NewClient+0x12f net/rpc/client.go:195 # 0xb09b8d github.com/hashicorp/go-plugin.(*RPCClient).Dispense+0x1cd github.com/hashicorp/go-plugin@v1.7.0/rpc_client.go:162 # 0x119a3bd github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0xcdd github.com/mattermost/mattermost/server/public/plugin/supervisor.go:139 # 0x118eae4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x118f1d9 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x579 github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 65536] @ 0xb01f17 0xb01ea1 0x483fe1 # 0xb01f16 bufio.NewReaderSize+0x196 bufio/bufio.go:57 # 0xb01ea0 github.com/hashicorp/go-plugin.(*Client).logStderr+0x120 github.com/hashicorp/go-plugin@v1.7.0/client.go:1175 0: 0 [1: 4268032] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 32768] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x118f0bc 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 8192] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118ed4a 0x118ed45 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118ed49 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe9 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118ed44 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118ed4a 0x118ed45 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118ed49 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe9 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118ed44 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 65536] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x118ed4a 0x118ed45 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118ed49 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe9 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118ed44 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 4268032] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 24] @ 0x4cfd25 0x4cf59d 0x4cf6e8 0x118d46f 0x11916c6 0x11916be 0x23f481a 0x23d994a 0x23d8a57 0x483fe1 # 0x4cfd24 os.(*File).readdir+0x4c4 os/dir_unix.go:132 # 0x4cf59c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4cf6e7 os.ReadDir+0xc7 os/dir.go:125 # 0x118d46e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 64] @ 0x535245 0x535350 0x53a585 0x569b7f 0x8e3931 0x8e38d8 0x8e3a4e 0x8e3a4e 0x23f47eb 0x23d994a 0x23d8a57 0x483fe1 # 0x535244 strings.(*Builder).grow+0x24 strings/builder.go:61 # 0x53534f strings.(*Builder).Grow+0x4f strings/builder.go:75 # 0x53a584 strings.Join+0x104 strings/strings.go:506 # 0x569b7e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x8e3930 path/filepath.Join+0x2b0 path/filepath/path.go:131 # 0x8e38d7 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x257 github.com/mattermost/mattermost/server/public/utils/file.go:98 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x23f47ea github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:491 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [4184: 17137664] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [48: 3072] @ 0xae99d1 0xae9973 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xae9b31 0xaedcc8 0xaeb6ff 0xaf384f 0xaea7bc 0xaeadb8 0xaeca4c 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae99d0 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xae9972 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9b30 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xaedcc7 encoding/gob.(*Encoder).encode+0x1c7 encoding/gob/encode.go:668 # 0xaeb6fe encoding/gob.(*Encoder).encodeInterface+0x85e encoding/gob/encode.go:419 # 0xaf384e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:554 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 204800] @ 0x83a6d9 0x8590d5 0xb9ca0e 0xba679e 0x1493226 0x2025c5e 0x22f7f85 0x23ddd66 0x112d447 0x1153fe6 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x83a6d8 github.com/mattermost/logr/v2.New+0x2d8 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x8590d4 github.com/mattermost/mattermost/server/public/shared/mlog.LoggerConfiguration.IsValid+0x34 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:73 # 0xb9ca0d github.com/mattermost/mattermost/server/public/model.(*LogSettings).isValid+0x16d github.com/mattermost/mattermost/server/public/model/config.go:1482 # 0xba679d github.com/mattermost/mattermost/server/public/model.(*Config).IsValid+0x33d github.com/mattermost/mattermost/server/public/model/config.go:4077 # 0x1493225 github.com/mattermost/mattermost/server/v8/config.(*Store).Set+0x125 github.com/mattermost/mattermost/server/v8/config/store.go:192 # 0x2025c5d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveConfig+0x1bd github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:110 # 0x22f7f84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/config.go:244 # 0x23ddd65 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SavePluginConfig+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:125 # 0x112d446 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SavePluginConfig+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:89 # 0x1153fe5 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SavePluginConfig+0x45 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1456 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6716: 55017472] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6: 196608] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x4d2c8f 0x4d2c4f 0x4d2bbc 0x4bb15d 0x8e3385 0x8e3386 0x8e3a2a 0x8e3a4e 0x8e3a4e 0x23f47eb 0x23d994a 0x23d8a57 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4d2c8e io.Copy+0x4e io/io.go:388 # 0x4d2c4e os.genericWriteTo+0xe os/file.go:275 # 0x4d2bbb os.(*File).WriteTo+0x9b os/file.go:253 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x8e3384 io.Copy+0x1a4 io/io.go:388 # 0x8e3385 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x1a5 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8e3a29 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3a9 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x23f47ea github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:491 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 811008] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 24] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x118f0bc 0x23f4911 0x23d994a 0x23d8a57 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 8192] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23f54c5 0x23f54ba 0x23f428b 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23f54c4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x64 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23f54b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).removePluginLocally+0x59 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:574 # 0x23f428a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xc4a github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:485 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23f3b75 0x23f3b6d 0x23d994a 0x23d8a57 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23f3b74 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x534 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23f3b6c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x52c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 65536] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23f3b75 0x23f3b6d 0x23d994a 0x23d8a57 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23f3b74 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x534 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23f3b6c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x52c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x23d9949 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x969 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 24] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [3: 48] @ 0x50f21d 0x540429 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x540428 encoding/json.(*decodeState).object+0xe48 encoding/json/decode.go:781 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [2: 416] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x8668ec 0x8666e8 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8668eb text/template/parse.(*Tree).add+0x6b text/template/parse/parse.go:261 # 0x8666e7 text/template/parse.(*Tree).Parse+0x247 text/template/parse/parse.go:252 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [2: 1408] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [2: 3584] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 2048] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [2: 1792] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [8: 1024] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [4: 4096] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [9: 10368] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [3: 192] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [2: 2560] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 480] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 1408] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [24: 6144] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [14: 448] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 4096] @ 0x20604ea 0x20604c1 0x20604bd 0x20606dd 0x2066f52 0x206ef8e 0x206e72d 0x206e008 0x23fd8b5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x20604e9 bufio.NewReaderSize+0x89 bufio/bufio.go:57 # 0x20604c0 bufio.NewReader+0x60 bufio/bufio.go:63 # 0x20604bc golang.org/x/crypto/openpgp/packet.peekVersion+0x5c golang.org/x/crypto@v0.43.0/openpgp/packet/packet.go:344 # 0x20606dc golang.org/x/crypto/openpgp/packet.Read+0x9c golang.org/x/crypto@v0.43.0/openpgp/packet/packet.go:367 # 0x2066f51 golang.org/x/crypto/openpgp/packet.(*Reader).Next+0x71 golang.org/x/crypto@v0.43.0/openpgp/packet/reader.go:37 # 0x206ef8d golang.org/x/crypto/openpgp.addSubkey+0x4d golang.org/x/crypto@v0.43.0/openpgp/keys.go:443 # 0x206e72c golang.org/x/crypto/openpgp.ReadEntity+0x3ac golang.org/x/crypto@v0.43.0/openpgp/keys.go:375 # 0x206e007 golang.org/x/crypto/openpgp.ReadKeyRing+0xe7 golang.org/x/crypto@v0.43.0/openpgp/keys.go:259 # 0x23fd8b4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [17: 557056] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [2: 1024] @ 0x270e339 0x270e2f6 0x270e2fa 0x270e93a 0x270d39c 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x2064ad9 0x2070005 0x23fd8e5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270e939 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:741 # 0x270d39b crypto/internal/fips140/bigmod.rr+0x25b crypto/internal/fips140/bigmod/nat.go:511 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x2064ad8 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:523 # 0x2070004 golang.org/x/crypto/openpgp.CheckDetachedSignature+0x3a4 golang.org/x/crypto@v0.43.0/openpgp/read.go:424 # 0x23fd8e4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:126 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [2: 65536] @ 0x6e7c2c 0x6e7bae 0x6eab46 0x6ea478 0x2322ca5 0x2322cad 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e7c2b compress/flate.(*dictDecoder).init+0x18b compress/flate/dict_decoder.go:43 # 0x6e7bad compress/flate.NewReader+0x10d compress/flate/inflate.go:815 # 0x6eab45 compress/gzip.(*Reader).readHeader+0x365 compress/gzip/gunzip.go:238 # 0x6ea477 compress/gzip.(*Reader).Reset+0x297 compress/gzip/gunzip.go:113 # 0x2322ca4 compress/gzip.NewReader+0x124 compress/gzip/gunzip.go:94 # 0x2322cac github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x12c github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:26 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 384] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 1024] @ 0x270ec4b 0x270d3ef 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x2064ad9 0x2070005 0x23fd8e5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x270d3ee crypto/internal/fips140/bigmod.rr+0x2ae crypto/internal/fips140/bigmod/nat.go:517 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x2064ad8 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:523 # 0x2070004 golang.org/x/crypto/openpgp.CheckDetachedSignature+0x3a4 golang.org/x/crypto@v0.43.0/openpgp/read.go:424 # 0x23fd8e4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:126 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [2: 2048] @ 0x270ec4b 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x2064ad9 0x2070005 0x23fd8e5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x2064ad8 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:523 # 0x2070004 golang.org/x/crypto/openpgp.CheckDetachedSignature+0x3a4 golang.org/x/crypto@v0.43.0/openpgp/read.go:424 # 0x23fd8e4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:126 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 512] @ 0x270e339 0x270e2f6 0x270e2fa 0x270e93a 0x270d39c 0x270da86 0x270d52a 0x5cda05 0x5c9f13 0x2064ad9 0x2065cb8 0x206eccf 0x206e6bd 0x206e008 0x23fd8b5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x270e338 crypto/internal/fips140/bigmod.(*Nat).reset+0xb8 crypto/internal/fips140/bigmod/nat.go:96 # 0x270e2f5 crypto/internal/fips140/bigmod.(*Nat).set+0x75 crypto/internal/fips140/bigmod/nat.go:132 # 0x270e2f9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x79 crypto/internal/fips140/bigmod/nat.go:699 # 0x270e939 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:741 # 0x270d39b crypto/internal/fips140/bigmod.rr+0x25b crypto/internal/fips140/bigmod/nat.go:511 # 0x270da85 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:577 # 0x270d529 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:552 # 0x5cda04 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:625 # 0x5c9f12 crypto/rsa.VerifyPKCS1v15+0x192 crypto/rsa/fips.go:376 # 0x2064ad8 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:523 # 0x2065cb7 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyUserIdSignature+0x57 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:695 # 0x206ecce golang.org/x/crypto/openpgp.addUserID+0x14e golang.org/x/crypto@v0.43.0/openpgp/keys.go:424 # 0x206e6bc golang.org/x/crypto/openpgp.ReadEntity+0x33c golang.org/x/crypto@v0.43.0/openpgp/keys.go:348 # 0x206e007 golang.org/x/crypto/openpgp.ReadKeyRing+0xe7 golang.org/x/crypto@v0.43.0/openpgp/keys.go:259 # 0x23fd8b4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 1024] @ 0x270ec4b 0x2710bde 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x2064ad9 0x206569e 0x206f03b 0x206e72d 0x206e008 0x23fd8b5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x270ec4a crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xea crypto/internal/fips140/bigmod/nat.go:789 # 0x2710bdd crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x29d crypto/internal/fips140/bigmod/nat.go:1051 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x2064ad8 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:523 # 0x206569d golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyKeySignature+0x5d golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:617 # 0x206f03a golang.org/x/crypto/openpgp.addSubkey+0xfa golang.org/x/crypto@v0.43.0/openpgp/keys.go:460 # 0x206e72c golang.org/x/crypto/openpgp.ReadEntity+0x3ac golang.org/x/crypto@v0.43.0/openpgp/keys.go:375 # 0x206e007 golang.org/x/crypto/openpgp.ReadKeyRing+0xe7 golang.org/x/crypto@v0.43.0/openpgp/keys.go:259 # 0x23fd8b4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 448] @ 0x206071a 0x2066f52 0x206ef8e 0x206e72d 0x206e008 0x23fd8b5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x2060719 golang.org/x/crypto/openpgp/packet.Read+0xd9 golang.org/x/crypto@v0.43.0/openpgp/packet/packet.go:373 # 0x2066f51 golang.org/x/crypto/openpgp/packet.(*Reader).Next+0x71 golang.org/x/crypto@v0.43.0/openpgp/packet/reader.go:37 # 0x206ef8d golang.org/x/crypto/openpgp.addSubkey+0x4d golang.org/x/crypto@v0.43.0/openpgp/keys.go:443 # 0x206e72c golang.org/x/crypto/openpgp.ReadEntity+0x3ac golang.org/x/crypto@v0.43.0/openpgp/keys.go:375 # 0x206e007 golang.org/x/crypto/openpgp.ReadKeyRing+0xe7 golang.org/x/crypto@v0.43.0/openpgp/keys.go:259 # 0x23fd8b4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 512] @ 0x2710b0b 0x2710aa0 0x2710aa9 0x2731dff 0x272c1c5 0x272c05c 0x5c9f5b 0x2064ad9 0x206569e 0x206f03b 0x206e72d 0x206e008 0x23fd8b5 0x23fd814 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x2710b0a crypto/internal/fips140/bigmod.(*Nat).reset+0x1ca crypto/internal/fips140/bigmod/nat.go:96 # 0x2710a9f crypto/internal/fips140/bigmod.(*Nat).set+0x15f crypto/internal/fips140/bigmod/nat.go:132 # 0x2710aa8 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x168 crypto/internal/fips140/bigmod/nat.go:1049 # 0x2731dfe crypto/internal/fips140/rsa.encrypt+0xfe crypto/internal/fips140/rsa/rsa.go:390 # 0x272c1c4 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x272c05b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5c9f5a crypto/rsa.VerifyPKCS1v15+0x1da crypto/rsa/fips.go:380 # 0x2064ad8 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:523 # 0x206569d golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyKeySignature+0x5d golang.org/x/crypto@v0.43.0/openpgp/packet/public_key.go:617 # 0x206f03a golang.org/x/crypto/openpgp.addSubkey+0xfa golang.org/x/crypto@v0.43.0/openpgp/keys.go:460 # 0x206e72c golang.org/x/crypto/openpgp.ReadEntity+0x3ac golang.org/x/crypto@v0.43.0/openpgp/keys.go:375 # 0x206e007 golang.org/x/crypto/openpgp.ReadKeyRing+0xe7 golang.org/x/crypto@v0.43.0/openpgp/keys.go:259 # 0x23fd8b4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x23fd813 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [1: 2048] @ 0x4bbd29 0x23fd9a5 0x23fd7b5 0x23fcc91 0x23dc2ca 0x23d9585 0x23d8a57 0x483fe1 # 0x4bbd28 io.ReadAll+0xc8 io/io.go:723 # 0x23fd9a4 github.com/mattermost/mattermost/server/v8/channels/app.decodeIfArmored+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:133 # 0x23fd7b4 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:110 # 0x23fcc90 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x23dc2c9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 0: 0 [4288: 93306880] @ 0x543d27 0xba4ec5 0x22f7e49 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x543d26 encoding/json.Marshal+0x126 encoding/json/encode.go:179 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 128] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 401408] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x118ed4a 0x118ed45 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118ed49 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe9 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118ed44 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 112] @ 0x565474 0x565c8d 0x565c4f 0x1829945 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b3055 0x22b1c8e 0x23e53b7 0x1137cb7 0x117a32e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x565473 context.WithDeadlineCause+0xd3 context/context.go:631 # 0x565c8c context.WithDeadline+0x4c context/context.go:617 # 0x565c4e context.WithTimeout+0xe context/context.go:695 # 0x1829944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:115 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b3054 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchBot+0x54 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:264 # 0x22b1c8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnsureBot+0x88d github.com/mattermost/mattermost/server/v8/channels/app/bot.go:54 # 0x23e53b6 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1176 # 0x1137cb6 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1266 # 0x117a32d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).EnsureBotUser+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4864] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [2214: 354240] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 5529600] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 131072] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d491a 0x23d4912 0x23f4e9d 0x23e401f 0x1135078 0x117106d 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d4919 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x59 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d4911 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).disablePlugin+0x51 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:476 # 0x23f4e9c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RemovePlugin+0x33c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:529 # 0x23e401e github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).RemovePlugin+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1034 # 0x1135077 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).RemovePlugin+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:956 # 0x117106c github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).RemovePlugin+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5099 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [75: 14400] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 5529600] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [65: 3120] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 5376] @ 0xae9758 0xae95ea 0xaea4d4 0xaecd39 0xaea7bc 0xaeadb8 0xaeca4c 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaec8ce 0xae9efe 0xaedca5 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xae9757 encoding/gob.(*encBuffer).WriteString+0x277 encoding/gob/encode.go:60 # 0xae95e9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xaea4d3 encoding/gob.(*Encoder).encodeArray+0x4b3 encoding/gob/encode.go:351 # 0xaecd38 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:516 # 0xaea7bb encoding/gob.encodeReflectValue+0x9b encoding/gob/encode.go:363 # 0xaeadb7 encoding/gob.(*Encoder).encodeMap+0x537 encoding/gob/encode.go:375 # 0xaeca4b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:536 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaec8cd encoding/gob.encOpFor.func4+0x6d encoding/gob/encode.go:546 # 0xae9efd encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xaedca4 encoding/gob.(*Encoder).encode+0x1a4 encoding/gob/encode.go:666 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 0: 0 [1: 64] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0x4d3e05 0x4d3df9 0x16440c5 0x2460eec 0x2497825 0x2497826 0x23e31c5 0x1133f88 0x116d139 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0x4d3e04 os.Open+0x44 os/file.go:370 # 0x4d3df8 os.ReadFile+0x38 os/file.go:800 # 0x16440c4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x2460eeb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1715 # 0x2497824 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ReadFile+0x124 github.com/mattermost/mattermost/server/v8/channels/app/file.go:114 # 0x2497825 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x125 github.com/mattermost/mattermost/server/v8/channels/app/user.go:970 # 0x23e31c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:883 # 0x1133f87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x116d138 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4603 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 491520] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [153: 34272] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [6302: 206503936] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23ddb77 0x112d19d 0x1153323 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23ddb76 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x112d19c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x1153322 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x42 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1346 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0x55053d 0x541865 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x55053c encoding/json.unquoteBytes+0x17c encoding/json/decode.go:1226 # 0x541864 encoding/json.(*decodeState).literalStore+0x644 encoding/json/decode.go:930 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [43: 352256] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23d41d6 0x23d41ce 0x22f7e98 0x22f7e5b 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23d41d5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23d41cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x22f7e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x22f7e5a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 160] @ 0x1118cb6 0x1121527 0x7dfa17 0x7e7eb9 0x7efa11 0x7e76fe 0x7e749c 0x7e728f 0x7e5ae2 0x7e71a5 0x1261139 0x1260b22 0x1829ab6 0x1829a6e 0x1711608 0x16c08a4 0x1fd458a 0x22b3ab7 0x22b14f5 0x23e53b7 0x1137cb7 0x117a32e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x1118cb5 github.com/lib/pq.(*conn).query+0x2f5 github.com/lib/pq@v1.10.9/conn.go:918 # 0x1121526 github.com/lib/pq.(*conn).QueryContext+0x126 github.com/lib/pq@v1.10.9/conn_go18.go:24 # 0x7dfa16 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x7e7eb8 database/sql.(*DB).queryDC.func1+0x158 database/sql/sql.go:1786 # 0x7efa10 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x7e76fd database/sql.(*DB).queryDC+0x1dd database/sql/sql.go:1781 # 0x7e749b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x7e728e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x7e5ae1 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x7e71a4 database/sql.(*DB).QueryContext+0xc4 database/sql/sql.go:1741 # 0x1261138 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x1260b21 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x1829ab5 github.com/jmoiron/sqlx.(*DB).GetContext+0x215 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x1829a6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:124 # 0x1711607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x16c08a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:812 # 0x1fd4589 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:739 # 0x22b3ab6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:334 # 0x22b14f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnsureBot+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:44 # 0x23e53b6 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1176 # 0x1137cb6 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1266 # 0x117a32d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).EnsureBotUser+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4399104] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 16] @ 0x50afcb 0x4f9a31 0x5475be 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x5486ef 0x548255 0x544613 0x546bfa 0x547766 0x544613 0x546bfa 0x547766 0x547766 0x5470aa 0x5470aa 0x548a63 0x544613 0x5443d2 0x543cbe 0xba4ec5 0x22f7e49 0x23dddc5 0x23dddc6 0x112d507 0x115430b 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x50afca reflect.copyVal+0x2a reflect/value.go:1791 # 0x4f9a30 reflect.(*MapIter).Key+0x50 reflect/map_swiss.go:267 # 0x5475bd encoding/json.mapEncoder.encode+0x33d encoding/json/encode.go:769 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x5486ee encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:870 # 0x548254 encoding/json.sliceEncoder.encode+0x334 encoding/json/encode.go:843 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x546bf9 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:680 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x547765 encoding/json.mapEncoder.encode+0x4e5 encoding/json/encode.go:784 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x5470a9 encoding/json.structEncoder.encode+0x309 encoding/json/encode.go:727 # 0x548a62 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:899 # 0x544612 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:333 # 0x5443d1 encoding/json.(*encodeState).marshal+0xb1 encoding/json/encode.go:309 # 0x543cbd encoding/json.Marshal+0xbd encoding/json/encode.go:175 # 0xba4ec4 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:3897 # 0x22f7e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x23dddc4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:101 # 0x23dddc5 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:130 # 0x112d506 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x115430a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1484 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 320] @ 0xbc2edb 0xbc2f0d 0xb89065 0x118d593 0x118ed4a 0x118ed45 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0xbc2eda encoding/json.NewDecoder+0x49a encoding/json/stream.go:32 # 0xbc2f0c github.com/mattermost/mattermost/server/public/model.FindManifest+0x4cc github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x118ed49 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe9 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x118ed44 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4399104] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4096] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 1327104] @ 0x6e0d65 0x6e0d8d 0x90fb58 0x90fc51 0x11ea569 0x11eb931 0x11ebf2a 0x19a278e 0x249757e 0x2497765 0x23e31c5 0x1133f88 0x116d139 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x6e0d64 compress/flate.NewWriter+0x84 compress/flate/deflate.go:663 # 0x6e0d8c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:678 # 0x90fb57 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x90fc50 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x11ea568 image/png.(*encoder).writeImage+0xd28 image/png/writer.go:536 # 0x11eb930 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x11ebf29 image/png.(*Encoder).Encode+0x569 image/png/writer.go:657 # 0x19a278d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xed github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x249757d github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x33d github.com/mattermost/mattermost/server/v8/channels/app/user.go:956 # 0x2497764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:964 # 0x23e31c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:883 # 0x1133f87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x116d138 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4603 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 262144] @ 0x11c7f9e 0x198aa35 0x198acca 0x198ac9f 0x19a416d 0x19a3bda 0x19a3d36 0x2497532 0x2497765 0x23e31c5 0x1133f88 0x116d139 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c7f9d image.NewRGBA+0x5d image/image.go:229 # 0x198aa34 github.com/anthonynsimon/bild/clone.AsRGBA+0x54 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:26 # 0x198acc9 github.com/anthonynsimon/bild/clone.AsShallowRGBA+0xa9 github.com/anthonynsimon/bild@v0.14.0/clone/clone.go:36 # 0x198ac9e github.com/anthonynsimon/bild/transform.Resize+0x7e github.com/anthonynsimon/bild@v0.14.0/transform/resize.go:23 # 0x19a416c github.com/mattermost/mattermost/server/v8/channels/app/imaging.Resize+0x24c github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:266 # 0x19a3bd9 github.com/mattermost/mattermost/server/v8/channels/app/imaging.resizeAndCropCenter+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:173 # 0x19a3d35 github.com/mattermost/mattermost/server/v8/channels/app/imaging.FillCenter+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:200 # 0x2497531 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x2f1 github.com/mattermost/mattermost/server/v8/channels/app/user.go:953 # 0x2497764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:964 # 0x23e31c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:883 # 0x1133f87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x116d138 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4603 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 262144] @ 0x11c9005 0x11e50a5 0x11e4a2a 0x11e7ddb 0x11e7f6f 0x11e854c 0x11c6c0b 0x19a18c5 0x24972ba 0x2497765 0x23e31c5 0x1133f88 0x116d139 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x11c9004 image.NewNRGBA+0x64 image/image.go:473 # 0x11e50a4 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x11e4a29 image/png.(*decoder).decode+0x569 image/png/reader.go:371 # 0x11e7dda image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x11e7f6e image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x11e854b image/png.Decode+0x12b image/png/reader.go:981 # 0x11c6c0a image.Decode+0x22a image/format.go:93 # 0x19a18c4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).Decode+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:63 # 0x24972b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x79 github.com/mattermost/mattermost/server/v8/channels/app/user.go:939 # 0x2497764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:964 # 0x23e31c4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:883 # 0x1133f87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x116d138 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4603 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 0: 0 [1: 4988928] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 352256] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 32768] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x118f0bc 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 16384] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x118f0bc 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4988928] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 32768] @ 0x4bb1c5 0x4d2c8f 0x4d2c4f 0x4d2bbc 0x4bb15d 0xafc33b 0xafc286 0xafdebf 0xafc8d7 0x119a399 0x118eae5 0x118f1da 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d2c8e io.Copy+0x4e io/io.go:388 # 0x4d2c4e os.genericWriteTo+0xe os/file.go:275 # 0x4d2bbb os.(*File).WriteTo+0x9b os/file.go:253 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0xafc33a io.Copy+0x13a io/io.go:388 # 0xafc285 github.com/hashicorp/go-plugin.(*SecureConfig).Check+0x85 github.com/hashicorp/go-plugin@v1.7.0/client.go:349 # 0xafdebe github.com/hashicorp/go-plugin.(*Client).Start+0xb5e github.com/hashicorp/go-plugin@v1.7.0/client.go:662 # 0xafc8d6 github.com/hashicorp/go-plugin.(*Client).Client+0x36 github.com/hashicorp/go-plugin@v1.7.0/client.go:446 # 0x119a398 github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0xcb8 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:134 # 0x118eae4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x118f1d9 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x579 github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 253952] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x118f0bc 0x23f4911 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x118f0bb github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x45b github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x23f4910 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x12d0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:511 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 253952] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 1536] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x11916c6 0x11916be 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x11916c5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x11916bd github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 1408] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 208] @ 0x4d8f08 0x4d8a4c 0x4d5b17 0x8e39d9 0x8e3a4e 0x8e3a4e 0x8e3a4e 0x23f47eb 0x23f2f47 0x23d3325 0x483fe1 # 0x4d8f07 os.lstatNolog+0x27 os/stat_unix.go:43 # 0x4d8a4b os.Lstat+0x2b os/stat.go:26 # 0x4d5b16 os.(*unixDirent).Info+0x56 os/file_unix.go:480 # 0x8e39d8 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x358 github.com/mattermost/mattermost/server/public/utils/file.go:107 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x23f47ea github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:491 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [4: 131072] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x4d2c8f 0x4d2c4f 0x4d2bbc 0x4bb15d 0x8e3385 0x8e3386 0x8e3a2a 0x8e3a4e 0x8e3a4e 0x8e3a4e 0x23f47eb 0x23f2f47 0x23d3325 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4d2c8e io.Copy+0x4e io/io.go:388 # 0x4d2c4e os.genericWriteTo+0xe os/file.go:275 # 0x4d2bbb os.(*File).WriteTo+0x9b os/file.go:253 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x8e3384 io.Copy+0x1a4 io/io.go:388 # 0x8e3385 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x1a5 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8e3a29 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3a9 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x23f47ea github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:491 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 208] @ 0x4d8da8 0x4d89ec 0x4d6705 0x8e37b9 0x8e3a4e 0x23f47eb 0x23f2f47 0x23d3325 0x483fe1 # 0x4d8da7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4d89eb os.Stat+0x2b os/stat.go:13 # 0x4d6704 os.MkdirAll+0x24 os/path.go:21 # 0x8e37b8 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x138 github.com/mattermost/mattermost/server/public/utils/file.go:87 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x23f47ea github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:491 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 131072] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0xb89065 0x118d593 0x23f3b75 0x23f3b6d 0x23f2f47 0x23d3325 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23f3b74 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x534 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23f3b6c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x52c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 3584] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 704] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 160] @ 0x50f21d 0x53ec1d 0x53f63d 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0xb89065 0x118d593 0x23f3b75 0x23f3b6d 0x23f2f47 0x23d3325 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53ec1c encoding/json.indirect+0x2fc encoding/json/decode.go:477 # 0x53f63c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:601 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23f3b74 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x534 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23f3b6c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x52c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 32768] @ 0x54e9ae 0x54e645 0x54e315 0xbc2f25 0x23f335a 0x23f2f1e 0x23d3325 0x483fe1 # 0x54e9ad encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:159 # 0x54e644 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:140 # 0x54e314 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:63 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0x23f3359 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x279 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:417 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 1490944] @ 0x4d3fb9 0x4d3e69 0x1191a6e 0x23f481a 0x23f2f47 0x23d3325 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x1191a6d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ed github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x23f4819 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11d9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:497 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 128] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 768] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [8: 262144] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x4d2c8f 0x4d2c4f 0x4d2bbc 0x4bb15d 0x8e3385 0x8e3386 0x8e3a2a 0x8e3a4e 0x8e3a4e 0x23f47eb 0x23f2f47 0x23d3325 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x4d2c8e io.Copy+0x4e io/io.go:388 # 0x4d2c4e os.genericWriteTo+0xe os/file.go:275 # 0x4d2bbb os.(*File).WriteTo+0x9b os/file.go:253 # 0x4bb15c io.copyBuffer+0x9c io/io.go:411 # 0x8e3384 io.Copy+0x1a4 io/io.go:388 # 0x8e3385 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x1a5 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8e3a29 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3a9 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8e3a4d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3cd github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x23f47ea github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x11aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:491 # 0x23f2f46 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 896] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 1280] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 4096] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 32768] @ 0x70127a 0x48ea11 0x710d37 0x7114da 0x7113cb 0x71acf6 0x739efb 0x737af2 0x736b19 0x483fe1 # 0x701279 net/http.init.func5+0x19 net/http/h2_bundle.go:1216 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x710d36 net/http.http2getDataBufferChunk+0x76 net/http/h2_bundle.go:1230 # 0x7114d9 net/http.(*http2dataBuffer).lastChunkOrAlloc+0x59 net/http/h2_bundle.go:1333 # 0x7113ca net/http.(*http2dataBuffer).Write+0x8a net/http/h2_bundle.go:1316 # 0x71acf5 net/http.(*http2pipe).Write+0x175 net/http/h2_bundle.go:4020 # 0x739efa net/http.(*http2clientConnReadLoop).processData+0x21a net/http/h2_bundle.go:10400 # 0x737af1 net/http.(*http2clientConnReadLoop).run+0x4d1 net/http/h2_bundle.go:9967 # 0x736b18 net/http.(*http2ClientConn).readLoop+0x78 net/http/h2_bundle.go:9812 0: 0 [1: 24] @ 0x64045c 0x646425 0x6472bd 0x63cdde 0x648be5 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x64045b crypto/x509.parseName+0x11b crypto/x509/parser.go:146 # 0x646424 crypto/x509.parseCertificate+0x504 crypto/x509/parser.go:960 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x63cddd crypto/x509.(*CertPool).AppendCertsFromPEM+0x11d crypto/x509/cert_pool.go:231 # 0x648be4 crypto/x509.loadSystemRoots+0x3a4 crypto/x509/root_unix.go:72 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [2: 3072] @ 0x645f65 0x6472bd 0x63cdde 0x648be5 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x645f64 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:884 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x63cddd crypto/x509.(*CertPool).AppendCertsFromPEM+0x11d crypto/x509/cert_pool.go:231 # 0x648be4 crypto/x509.loadSystemRoots+0x3a4 crypto/x509/root_unix.go:72 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 640] @ 0x5ce8d3 0x63cd1b 0x648be5 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5ce8d2 encoding/pem.Decode+0x692 encoding/pem/pem.go:171 # 0x63cd1a crypto/x509.(*CertPool).AppendCertsFromPEM+0x5a crypto/x509/cert_pool.go:222 # 0x648be4 crypto/x509.loadSystemRoots+0x3a4 crypto/x509/root_unix.go:72 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x5bcf85 0x6405dd 0x6465aa 0x6472bd 0x63cdde 0x648be5 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x5bcf84 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6405dc crypto/x509.parseName+0x29c crypto/x509/parser.go:130 # 0x6465a9 crypto/x509.parseCertificate+0x689 crypto/x509/parser.go:980 # 0x6472bc crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1074 # 0x63cddd crypto/x509.(*CertPool).AppendCertsFromPEM+0x11d crypto/x509/cert_pool.go:231 # 0x648be4 crypto/x509.loadSystemRoots+0x3a4 crypto/x509/root_unix.go:72 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 221184] @ 0x4d3fb9 0x4d3e69 0x648bca 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x648bc9 crypto/x509.loadSystemRoots+0x389 crypto/x509/root_unix.go:70 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [1: 32] @ 0x49bd85 0x49ec37 0x49ec41 0x4d595c 0x4d596a 0x4d593b 0x4d5903 0x648dea 0x648d96 0x648ca8 0x648aad 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49ec36 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x49ec40 syscall.readlinkat+0x40 syscall/zsyscall_linux_amd64.go:120 # 0x4d595b syscall.Readlink+0x9b syscall/syscall_linux.go:315 # 0x4d5969 os.readlink.func1+0xa9 os/file_unix.go:450 # 0x4d593a os.ignoringEINTR2[...]+0x7a os/file_posix.go:261 # 0x4d5902 os.readlink+0x42 os/file_unix.go:449 # 0x648de9 os.Readlink+0x89 os/file.go:430 # 0x648d95 crypto/x509.isSameDirSymlink+0x35 crypto/x509/root_unix.go:106 # 0x648ca7 crypto/x509.readUniqueDirectoryEntries+0xa7 crypto/x509/root_unix.go:93 # 0x648aac crypto/x509.loadSystemRoots+0x26c crypto/x509/root_unix.go:62 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [5: 640] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [7: 8960] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [5: 5120] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [5: 5760] @ 0x6e5145 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5144 compress/flate.(*huffmanDecoder).init+0x204 compress/flate/inflate.go:178 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 221184] @ 0x4d3fb9 0x4d3e69 0x648976 0x648736 0x48e78b 0x6485e5 0x6485c8 0x64ca7d 0x69217d 0x696bef 0x69370c 0x68d4f0 0x6844fa 0x76cf2e 0x76cf29 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x648975 crypto/x509.loadSystemRoots+0x135 crypto/x509/root_unix.go:42 # 0x648735 crypto/x509.initSystemRoots+0x55 crypto/x509/root.go:40 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6485e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x6485c7 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:31 # 0x64ca7c crypto/x509.(*Certificate).Verify+0x15c crypto/x509/verify.go:816 # 0x69217c crypto/tls.(*Conn).verifyServerCertificate+0xa9c crypto/tls/handshake_client.go:1145 # 0x696bee crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x26e crypto/tls/handshake_client_tls13.go:658 # 0x69370b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x74b crypto/tls/handshake_client_tls13.go:136 # 0x68d4ef crypto/tls.(*Conn).clientHandshake+0x80f crypto/tls/handshake_client.go:379 # 0x6844f9 crypto/tls.(*Conn).handshakeContext+0x399 crypto/tls/conn.go:1568 # 0x76cf2d crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1508 # 0x76cf28 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1703 0: 0 [15: 480] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [16: 4096] @ 0x6e5235 0x6e5c9a 0x6e554e 0x6e569b 0x6eb15e 0x15a2038 0x15a1efc 0x4bb250 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x6e5234 compress/flate.(*huffmanDecoder).init+0x2f4 compress/flate/inflate.go:187 # 0x6e5c99 compress/flate.(*decompressor).readHuffman+0x379 compress/flate/inflate.go:460 # 0x6e554d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x6e569a compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x6eb15d compress/gzip.(*Reader).Read+0x9d compress/gzip/gunzip.go:252 # 0x15a2037 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:677 # 0x15a1efb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:638 # 0x4bb24f io.copyBuffer+0x18f io/io.go:429 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [10: 327680] @ 0x4bb1c5 0x4d272f 0x4d26ef 0x4d265c 0x4bb211 0x2323633 0x2323634 0x2322fc4 0x23f31f5 0x23f2f1e 0x23d3325 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0x4d272e io.Copy+0x4e io/io.go:388 # 0x4d26ee os.genericReadFrom+0xe os/file.go:185 # 0x4d265b os.(*File).ReadFrom+0x9b os/file.go:161 # 0x4bb210 io.copyBuffer+0x150 io/io.go:415 # 0x2323632 io.Copy+0x92 io/io.go:388 # 0x2323633 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2322fc3 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x443 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x23f31f4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x114 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x23f2f1d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15d github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x23d3324 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xd24 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 64] @ 0x49bd85 0x49e9f6 0x49e9fe 0x4d424b 0x4d4234 0x4d5194 0x4d5157 0x4d5126 0x4d2fbe 0xbc2b8b 0xbc2b82 0xb89065 0x118d593 0x23f54c5 0x23f54ba 0x23d3bf0 0x483fe1 # 0x49bd84 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x49e9f5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x49e9fd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4d424a syscall.Open+0x2a syscall/syscall_linux.go:284 # 0x4d4233 os.open+0x13 os/file_open_unix.go:15 # 0x4d5193 os.openFileNolog.func1+0x93 os/file_unix.go:279 # 0x4d5156 os.ignoringEINTR+0x56 os/file_posix.go:251 # 0x4d5125 os.openFileNolog+0x25 os/file_unix.go:278 # 0x4d2fbd os.OpenFile+0x3d os/file.go:392 # 0xbc2b8a os.Open+0x14a os/file.go:370 # 0xbc2b81 github.com/mattermost/mattermost/server/public/model.FindManifest+0x141 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xb89064 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x118d592 github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x152 github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x23f54c4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x64 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x23f54b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).removePluginLocally+0x59 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:574 # 0x23d3bef github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func1+0x3ef github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:289 0: 0 [1: 16] @ 0x50f21d 0x53fe27 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0x53fe26 encoding/json.(*decodeState).object+0x846 encoding/json/decode.go:688 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 360448] @ 0x4d3fb9 0x4d3e69 0x8dec69 0x8dec5e 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x8dec68 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:38 # 0x8dec5d github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x1d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:56 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 18432] @ 0x47ed67 0x50e166 0x50e00e 0x53f2df 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x47ed66 reflect.growslice+0x46 runtime/slice.go:336 # 0x50e165 reflect.Value.grow+0xa5 reflect/value.go:2603 # 0x50e00d reflect.Value.Grow+0x6d reflect/value.go:2590 # 0x53f2de encoding/json.(*decodeState).array+0x43e encoding/json/decode.go:547 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 64] @ 0x789865 0x789673 0x789b25 0x78d351 0x79b850 0x79b84b 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x257386f 0x2524a8f 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x789864 regexp/syntax.(*parser).maybeConcat+0xc4 regexp/syntax/parse.go:351 # 0x789672 regexp/syntax.(*parser).push+0x252 regexp/syntax/parse.go:321 # 0x789b24 regexp/syntax.(*parser).literal+0x124 regexp/syntax/parse.go:375 # 0x78d350 regexp/syntax.parse+0xbd0 regexp/syntax/parse.go:930 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x257386e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitCompliance+0x14e github.com/mattermost/mattermost/server/v8/channels/api4/compliance.go:20 # 0x2524a8e github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x204e github.com/mattermost/mattermost/server/v8/channels/api4/api.go:333 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 160] @ 0x7889fb 0x7889a6 0x786d73 0x787a66 0x787d87 0x7868d5 0x79b897 0xc41e38 0xc41dd7 0xc44178 0xc3edf3 0xc3ee60 0x25990ef 0x2524a39 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787a65 regexp/syntax.(*compiler).compile+0xfe5 regexp/syntax/compile.go:135 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc41e37 regexp.Compile+0x697 regexp/regexp.go:131 # 0xc41dd6 github.com/gorilla/mux.newRouteRegexp+0x636 github.com/gorilla/mux@v1.8.1/regexp.go:96 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x25990ee github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitFile+0x2ce github.com/mattermost/mattermost/server/v8/channels/api4/file.go:39 # 0x2524a38 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1ff8 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:325 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 5376] @ 0x5524b6 0x5494aa 0x53f85e 0x53e6fe 0x53df7e 0x53db79 0x149390d 0x1492985 0x1492b09 0x26c8b2e 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x5524b5 encoding/json.typeFields+0x1655 encoding/json/encode.go:1221 # 0x5494a9 encoding/json.cachedTypeFields+0x129 encoding/json/encode.go:1332 # 0x53f85d encoding/json.(*decodeState).object+0x27d encoding/json/decode.go:647 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x149390c github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x14c github.com/mattermost/mattermost/server/v8/config/store.go:260 # 0x1492984 github.com/mattermost/mattermost/server/v8/config.NewStoreFromBacking+0x84 github.com/mattermost/mattermost/server/v8/config/store.go:79 # 0x1492b08 github.com/mattermost/mattermost/server/v8/config.NewStoreFromDSN+0x108 github.com/mattermost/mattermost/server/v8/config/store.go:100 # 0x26c8b2d github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0xad github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:51 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 112] @ 0x789aa6 0x789a20 0x78d351 0x79b850 0x79b84b 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x252f879 0x2524a25 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x789aa5 regexp/syntax.(*parser).newRegexp+0xa5 regexp/syntax/parse.go:146 # 0x789a1f regexp/syntax.(*parser).literal+0x1f regexp/syntax/parse.go:368 # 0x78d350 regexp/syntax.parse+0xbd0 regexp/syntax/parse.go:930 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x252f878 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitChannel+0x1118 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:59 # 0x2524a24 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1fe4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:323 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 1408] @ 0x7889fb 0x7889a6 0x786d73 0x787a66 0x787812 0x787d87 0x7868d5 0x79b897 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x252f239 0x2524a25 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x786d72 regexp/syntax.(*compiler).compile+0x2f2 regexp/syntax/compile.go:110 # 0x787a65 regexp/syntax.(*compiler).compile+0xfe5 regexp/syntax/compile.go:135 # 0x787811 regexp/syntax.(*compiler).compile+0xd91 regexp/syntax/compile.go:129 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x252f238 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitChannel+0xad8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:45 # 0x2524a24 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1fe4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:323 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 64] @ 0x4ba82a 0x17a3585 0x129000b 0x17a3125 0x17a35f7 0x1831658 0x203781a 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4ba829 path.Join+0x69 path/path.go:163 # 0x17a3584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).initMorph.func1+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/migrate.go:107 # 0x129000a github.com/mattermost/morph/sources/embedded.WithInstance+0xca github.com/mattermost/morph@v1.1.0/sources/embedded/embedded.go:38 # 0x17a3124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).initMorph+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/migrate.go:104 # 0x17a35f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).migrate+0x36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/migrate.go:148 # 0x1831657 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.New+0x2f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:196 # 0x2037819 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0xf9 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:260 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 704] @ 0x7889fb 0x7889a6 0x787fff 0x787d87 0x7868d5 0x79b897 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x2646bfa 0x2524a05 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x787ffe regexp/syntax.(*compiler).compile+0x157e regexp/syntax/compile.go:101 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x2646bf9 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0x2059 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:103 # 0x2524a04 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1fc4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:320 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 40960] @ 0x4d3fb9 0x4d3e69 0x891c17 0x8915cc 0x8917fc 0x12524cc 0x1252483 0x24509b9 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x891c16 html/template.readFileOS+0x36 html/template/template.go:520 # 0x8915cb html/template.parseFiles+0xcb html/template/template.go:410 # 0x8917fb html/template.parseGlob+0xbb html/template/template.go:477 # 0x12524cb html/template.ParseGlob+0x6b html/template/template.go:448 # 0x1252482 github.com/mattermost/mattermost/server/v8/platform/shared/templates.NewWithWatcher+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:64 # 0x24509b8 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x1718 github.com/mattermost/mattermost/server/v8/channels/app/server.go:331 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 3072] @ 0x4d3fb9 0x4d3e69 0x891c17 0x8915cc 0x8917fc 0x12524cc 0x1252483 0x24509b9 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x4d3fb8 os.readFileContents+0x58 os/file.go:826 # 0x4d3e68 os.ReadFile+0xa8 os/file.go:805 # 0x891c16 html/template.readFileOS+0x36 html/template/template.go:520 # 0x8915cb html/template.parseFiles+0xcb html/template/template.go:410 # 0x8917fb html/template.parseGlob+0xbb html/template/template.go:477 # 0x12524cb html/template.ParseGlob+0x6b html/template/template.go:448 # 0x1252482 github.com/mattermost/mattermost/server/v8/platform/shared/templates.NewWithWatcher+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:64 # 0x24509b8 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x1718 github.com/mattermost/mattermost/server/v8/channels/app/server.go:331 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 80] @ 0x78710a 0x7870a6 0x787204 0x787d65 0x7868d5 0x79b897 0xc42172 0xc42159 0xc44178 0xc3fed6 0xc3ff00 0x25239a5 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x787109 regexp/syntax.(*compiler).inst+0x689 regexp/syntax/compile.go:164 # 0x7870a5 regexp/syntax.(*compiler).empty+0x625 regexp/syntax/compile.go:266 # 0x787203 regexp/syntax.(*compiler).compile+0x783 regexp/syntax/compile.go:120 # 0x787d64 regexp/syntax.(*compiler).compile+0x12e4 regexp/syntax/compile.go:145 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3fed5 github.com/gorilla/mux.(*Route).PathPrefix+0x1d5 github.com/gorilla/mux@v1.8.1/route.go:380 # 0xc3feff github.com/gorilla/mux.(*Router).PathPrefix+0x1ff github.com/gorilla/mux@v1.8.1/mux.go:338 # 0x25239a4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0xf64 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:241 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 204800] @ 0x83a6d9 0x8590d5 0xb9d28e 0xba67b9 0x1493a87 0x202858b 0x2450ea9 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x83a6d8 github.com/mattermost/logr/v2.New+0x2d8 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x8590d4 github.com/mattermost/mattermost/server/public/shared/mlog.LoggerConfiguration.IsValid+0x34 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:73 # 0xb9d28d github.com/mattermost/mattermost/server/public/model.(*ExperimentalAuditSettings).isValid+0x30d github.com/mattermost/mattermost/server/public/model/config.go:1598 # 0xba67b8 github.com/mattermost/mattermost/server/public/model.(*Config).IsValid+0x358 github.com/mattermost/mattermost/server/public/model/config.go:4081 # 0x1493a86 github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x2c6 github.com/mattermost/mattermost/server/v8/config/store.go:294 # 0x202858a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetupFeatureFlags+0x34a github.com/mattermost/mattermost/server/v8/channels/app/platform/feature_flags.go:34 # 0x2450ea8 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x1c08 github.com/mattermost/mattermost/server/v8/channels/app/server.go:361 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 144] @ 0x12578b9 0x125c637 0x182a1ef 0x182a2b4 0x17e6beb 0x16e1d12 0x1ff99eb 0x237c4c3 0x237c4a7 0x237d23a 0x2451979 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x12578b8 github.com/jmoiron/sqlx.Rebind+0x358 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x125c636 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x182a1ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:153 # 0x182a2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:164 # 0x17e6bea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).Create+0x72a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:48 # 0x16e1d11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).Create+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9509 # 0x1ff99ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).Create+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7556 # 0x237c4c2 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).CreatePropertyField+0x13e2 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:13 # 0x237c4a6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doSetupContentFlaggingProperties+0x13c6 github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:721 # 0x237d239 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doAppMigrations+0x3d9 github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:856 # 0x2451978 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x26d8 github.com/mattermost/mattermost/server/v8/channels/app/server.go:458 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 13568] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x23c050b 0x23cef5a 0x237d23a 0x2451979 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x23c050a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doPermissionsMigration+0x4ca github.com/mattermost/mattermost/server/v8/channels/app/permissions_migrations.go:231 # 0x23cef59 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doPermissionsMigrations+0xcd9 github.com/mattermost/mattermost/server/v8/channels/app/permissions_migrations.go:1319 # 0x237d239 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doAppMigrations+0x3d9 github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:856 # 0x2451978 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x26d8 github.com/mattermost/mattermost/server/v8/channels/app/server.go:458 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 0: 0 [1: 1792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x40b997 0x40b705 0x40d997 0x1805f38 0x18067ef 0x16e6eb2 0x1fff6eb 0x1f7ad3b 0x23c0270 0x23cef5a 0x237d23a 0x2451979 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x1805f37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.NewRoleFromModel+0x257 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:54 # 0x18067ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).Save+0x2ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:121 # 0x16e6eb1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10958 # 0x1fff6ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8660 # 0x1f7ad3a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.Save+0xfa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:44 # 0x23c026f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doPermissionsMigration+0x22f github.com/mattermost/mattermost/server/v8/channels/app/permissions_migrations.go:237 # 0x23cef59 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doPermissionsMigrations+0xcd9 github.com/mattermost/mattermost/server/v8/channels/app/permissions_migrations.go:1319 # 0x237d239 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doAppMigrations+0x3d9 github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:856 # 0x2451978 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x26d8 github.com/mattermost/mattermost/server/v8/channels/app/server.go:458 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 16 [3: 48] @ 0x503ca6 0x51542d 0x50f3a9 0x50c1e6 0xadeaa8 0xae053a 0xadd29f 0xade4e5 0xae0633 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x503ca5 reflect.packEface+0x45 reflect/value.go:135 # 0x51542c reflect.valueInterface+0xac reflect/value.go:1513 # 0x50f3a8 reflect.Value.assignTo+0x108 reflect/value.go:3059 # 0x50c1e5 reflect.Value.Set+0xe5 reflect/value.go:2057 # 0xadeaa7 encoding/gob.(*Decoder).decodeInterface+0x2c7 encoding/gob/decode.go:726 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd29e encoding/gob.(*Decoder).decodeArrayHelper+0x21e encoding/gob/decode.go:565 # 0xade4e4 encoding/gob.(*Decoder).decodeSlice+0x2c4 encoding/gob/decode.go:667 # 0xae0632 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:885 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 1: 24 [1: 24] @ 0x8a0785 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8a0784 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x244 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:48 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 32 [1: 32] @ 0x24e42ad 0x24e413b 0x25b1b6f 0x2646d45 0x2524a05 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x24e42ac github.com/klauspost/compress/gzhttp.NewWrapper.func1+0x2c github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:482 # 0x24e413a github.com/klauspost/compress/gzhttp.GzipHandler+0x5a github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:455 # 0x25b1b6e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).APISessionRequired+0xee github.com/mattermost/mattermost/server/v8/channels/api4/handlers.go:64 # 0x2646d44 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0x21a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:107 # 0x2524a04 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1fc4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:320 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 32 [1: 32] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 32 [1: 32] @ 0xadbf98 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc54a 0xae34bf 0xadea2f 0xae053a 0xadd743 0xaddb9f 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0xadbf97 encoding/gob.decString+0xb7 encoding/gob/decode.go:423 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc549 encoding/gob.(*Decoder).decodeSingle+0x169 encoding/gob/decode.go:461 # 0xae34be encoding/gob.(*Decoder).decodeValue+0x25e encoding/gob/decode.go:1252 # 0xadea2e encoding/gob.(*Decoder).decodeInterface+0x24e encoding/gob/decode.go:716 # 0xae0539 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:901 # 0xadd742 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xaddb9e encoding/gob.(*Decoder).decodeMap+0x3de encoding/gob/decode.go:607 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 1: 48 [1: 48] @ 0x479c9a 0x479caf 0x8a046a 0x8a03e4 0x8a04af 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8a0469 text/template.(*Template).init+0x129 text/template/template.go:76 # 0x8a03e3 text/template.New+0xa3 text/template/template.go:43 # 0x8a04ae github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x16e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 48 [1: 48] @ 0x50f21d 0xadaa45 0xadc925 0xae3496 0xae3c53 0xae40b6 0xae44cd 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x50f21c reflect.New+0x5c reflect/value.go:3021 # 0xadaa44 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xadc924 encoding/gob.(*Decoder).decodeStruct+0x264 encoding/gob/decode.go:491 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae3c52 encoding/gob.(*Decoder).recvType+0xf2 encoding/gob/decoder.go:70 # 0xae40b5 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xae44cc encoding/gob.(*Decoder).DecodeValue+0x16c encoding/gob/decoder.go:229 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 1: 48 [1: 48] @ 0x461d32 0x4612a5 0x4614c5 0xae261d 0xae25fd 0xae300a 0xadfd69 0xadff4b 0xae29d2 0xae300a 0xadfd69 0xae29d2 0xae300a 0xae3357 0xae44f5 0xae4305 0xaf7dc5 0xaf70f1 0x483fe1 # 0xae261c encoding/gob.overflow+0x31c encoding/gob/decode.go:109 # 0xae25fc encoding/gob.(*Decoder).compileDec+0x2fc encoding/gob/decode.go:1161 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xadff4a encoding/gob.(*Decoder).decOpFor+0x6aa encoding/gob/decode.go:881 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xadfd68 encoding/gob.(*Decoder).decOpFor+0x4c8 encoding/gob/decode.go:891 # 0xae29d1 encoding/gob.(*Decoder).compileDec+0x6d1 encoding/gob/decode.go:1173 # 0xae3009 encoding/gob.(*Decoder).getDecEnginePtr+0x149 encoding/gob/decode.go:1192 # 0xae3356 encoding/gob.(*Decoder).decodeValue+0xf6 encoding/gob/decode.go:1237 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf7dc4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xaf70f0 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 1: 48 [1: 48] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0x25dd135 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0x25dd134 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:78 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 2: 48 [2: 48] @ 0x8a0752 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8a0751 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x211 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:20 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 48 [1: 48] @ 0x86b3ab 0x86b338 0x86aa4a 0x86a76d 0x868d89 0x867d57 0x867950 0x86702b 0x8666db 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x86b3aa text/template/parse.(*Tree).newField+0x1aa text/template/parse/node.go:505 # 0x86b337 text/template/parse.(*Tree).term+0x137 text/template/parse/parse.go:780 # 0x86aa49 text/template/parse.(*Tree).operand+0x29 text/template/parse/parse.go:726 # 0x86a76c text/template/parse.(*Tree).command+0x14c text/template/parse/parse.go:696 # 0x868d88 text/template/parse.(*Tree).pipeline+0xc68 text/template/parse/parse.go:502 # 0x867d56 text/template/parse.(*Tree).action+0x276 text/template/parse/parse.go:418 # 0x86794f text/template/parse.(*Tree).textOrAction+0x22f text/template/parse/parse.go:374 # 0x86702a text/template/parse.(*Tree).parse+0x4ca text/template/parse/parse.go:315 # 0x8666da text/template/parse.(*Tree).Parse+0x23a text/template/parse/parse.go:251 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 48 [1: 48] @ 0x867d7c 0x867d3a 0x867950 0x86702b 0x8666db 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x867d7b text/template/parse.(*Tree).newAction+0x29b text/template/parse/node.go:270 # 0x867d39 text/template/parse.(*Tree).action+0x259 text/template/parse/parse.go:418 # 0x86794f text/template/parse.(*Tree).textOrAction+0x22f text/template/parse/parse.go:374 # 0x86702a text/template/parse.(*Tree).parse+0x4ca text/template/parse/parse.go:315 # 0x8666da text/template/parse.(*Tree).Parse+0x23a text/template/parse/parse.go:251 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 64 [1: 64] @ 0x4e1b85 0x4e238b 0xb7cf2f 0xb7cf1a 0xb7d005 0xb7cfa9 0xb7998a 0xb78f0f 0x10ce425 0x10cd8c5 0x2402e49 0x240237f 0x23fe4b8 0x25dd896 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e1b84 bytes.(*Buffer).grow+0x1a4 bytes/buffer.go:137 # 0x4e238a bytes.(*Buffer).WriteByte+0x4a bytes/buffer.go:289 # 0xb7cf2e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xb7cf19 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xb7d004 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb79989 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd8c4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x2402e48 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func1+0x168 github.com/mattermost/mattermost/server/v8/channels/app/post.go:187 # 0x240237e github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x297e github.com/mattermost/mattermost/server/v8/channels/app/post.go:428 # 0x23fe4b7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x177 github.com/mattermost/mattermost/server/v8/channels/app/post.go:65 # 0x25dd895 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x855 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:110 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 80 [1: 80] @ 0x461e06 0x867805 0x8677df 0x86702b 0x8666db 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x867804 text/template/parse.(*Tree).newText+0xe4 text/template/parse/node.go:136 # 0x8677de text/template/parse.(*Tree).textOrAction+0xbe text/template/parse/parse.go:370 # 0x86702a text/template/parse.(*Tree).parse+0x4ca text/template/parse/parse.go:315 # 0x8666da text/template/parse.(*Tree).Parse+0x23a text/template/parse/parse.go:251 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 96 [1: 96] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 112 [1: 112] @ 0x461e06 0x867805 0x8677df 0x86702b 0x8666db 0x865385 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x867804 text/template/parse.(*Tree).newText+0xe4 text/template/parse/node.go:136 # 0x8677de text/template/parse.(*Tree).textOrAction+0xbe text/template/parse/parse.go:370 # 0x86702a text/template/parse.(*Tree).parse+0x4ca text/template/parse/parse.go:315 # 0x8666da text/template/parse.(*Tree).Parse+0x23a text/template/parse/parse.go:251 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 112 [1: 112] @ 0x446433 0x483fe1 # 0x446432 runtime.main+0x172 runtime/proc.go:213 2: 128 [2: 128] @ 0x8a03ba 0x8a04af 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8a03b9 text/template.New+0x79 text/template/template.go:40 # 0x8a04ae github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x16e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 128 [1: 128] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 144 [1: 144] @ 0x479a66 0x40e7a8 0x215c525 0x455278 0x446605 0x4464ee 0x483fe1 # 0x215c524 github.com/aws/aws-sdk-go/aws/endpoints.init+0x7bda4 github.com/aws/aws-sdk-go@v1.55.8/aws/endpoints/defaults.go:31808 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 1: 144 [1: 144] @ 0x479a66 0x40e7a8 0x2118f85 0x455278 0x446605 0x4464ee 0x483fe1 # 0x2118f84 github.com/aws/aws-sdk-go/aws/endpoints.init+0x38804 github.com/aws/aws-sdk-go@v1.55.8/aws/endpoints/defaults.go:16651 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 1: 144 [1: 144] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 144 [1: 144] @ 0x479a66 0x40e7a8 0x214bcdb 0x455278 0x446605 0x4464ee 0x483fe1 # 0x214bcda github.com/aws/aws-sdk-go/aws/endpoints.init+0x6b55a github.com/aws/aws-sdk-go@v1.55.8/aws/endpoints/defaults.go:27499 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 3: 144 [3: 144] @ 0x479c9a 0x479caf 0x8a040f 0x8a03e4 0x8a04af 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8a040e text/template.(*Template).init+0xce text/template/template.go:74 # 0x8a03e3 text/template.New+0xa3 text/template/template.go:43 # 0x8a04ae github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x16e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 160 [1: 160] @ 0x79b96b 0xc41e38 0xc41dd7 0xc44178 0xc3edf3 0xc3ee60 0x252fcd9 0x2524a25 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x79b96a regexp.compile+0x14a regexp/regexp.go:184 # 0xc41e37 regexp.Compile+0x697 regexp/regexp.go:131 # 0xc41dd6 github.com/gorilla/mux.newRouteRegexp+0x636 github.com/gorilla/mux@v1.8.1/regexp.go:96 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x252fcd8 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitChannel+0x1578 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:70 # 0x2524a24 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1fe4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:323 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 160 [2: 160] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 160 [1: 160] @ 0x4914ab 0x491499 0x4912f7 0x6d7fb3 0x6d7f92 0x6d7f5f 0x6d8819 0x6d897f 0x6d7a7d 0x48e78b 0x6d7ae8 0x6d7acb 0x70bcc5 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4914aa internal/sync.newIndirectNode[...]+0x6a internal/sync/hashtriemap.go:550 # 0x491498 internal/sync.(*HashTrieMap[...]).expand+0x58 internal/sync/hashtriemap.go:177 # 0x4912f6 internal/sync.(*HashTrieMap[...]).Swap+0x396 internal/sync/hashtriemap.go:272 # 0x6d7fb2 internal/sync.(*HashTrieMap[...]).Store+0x252 internal/sync/hashtriemap.go:200 # 0x6d7f91 sync.(*Map).Store+0x231 sync/hashtriemap.go:55 # 0x6d7f5e mime.setExtensionType+0x1fe mime/type.go:180 # 0x6d8818 mime.loadMimeFile+0x1b8 mime/type_unix.go:97 # 0x6d897e mime.initMimeUnix+0x7e mime/type_unix.go:114 # 0x6d7a7c mime.initMime+0x3c mime/type.go:81 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6d7ae7 sync.(*Once).Do+0x47 sync/once.go:69 # 0x6d7aca mime.TypeByExtension+0x2a mime/type.go:105 # 0x70bcc4 net/http.serveContent+0xde4 net/http/fs.go:283 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 2: 160 [2: 160] @ 0x8a0405 0x8a03e4 0x8a04af 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8a0404 text/template.(*Template).init+0xc4 text/template/template.go:73 # 0x8a03e3 text/template.New+0xa3 text/template/template.go:43 # 0x8a04ae github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x16e github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 160 [1: 160] @ 0x4914ab 0x491499 0x4912f7 0x6d8234 0x6d820f 0x6d80ff 0x6d8819 0x6d897f 0x6d7a7d 0x48e78b 0x6d7ae8 0x6d7acb 0x70bcc5 0x70db25 0x70e29a 0x250cc42 0x7576a9 0x250c996 0x7576a9 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4914aa internal/sync.newIndirectNode[...]+0x6a internal/sync/hashtriemap.go:550 # 0x491498 internal/sync.(*HashTrieMap[...]).expand+0x58 internal/sync/hashtriemap.go:177 # 0x4912f6 internal/sync.(*HashTrieMap[...]).Swap+0x396 internal/sync/hashtriemap.go:272 # 0x6d8233 internal/sync.(*HashTrieMap[...]).Store+0x4d3 internal/sync/hashtriemap.go:200 # 0x6d820e sync.(*Map).Store+0x4ae sync/hashtriemap.go:55 # 0x6d80fe mime.setExtensionType+0x39e mime/type.go:193 # 0x6d8818 mime.loadMimeFile+0x1b8 mime/type_unix.go:97 # 0x6d897e mime.initMimeUnix+0x7e mime/type_unix.go:114 # 0x6d7a7c mime.initMime+0x3c mime/type.go:81 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x6d7ae7 sync.(*Once).Do+0x47 sync/once.go:69 # 0x6d7aca mime.TypeByExtension+0x2a mime/type.go:105 # 0x70bcc4 net/http.serveContent+0xde4 net/http/fs.go:283 # 0x70db24 net/http.serveFile+0x744 net/http/fs.go:756 # 0x70e299 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:986 # 0x250cc41 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x261 net/http/server.go:2356 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x250c995 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:129 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 192 [1: 192] @ 0xc453c5 0x25230aa 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0xc453c4 github.com/gorilla/mux.(*Route).Subrouter+0xa4 github.com/gorilla/mux@v1.8.1/route.go:496 # 0x25230a9 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x669 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:206 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 192 [1: 192] @ 0xc453c5 0x2523e31 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0xc453c4 github.com/gorilla/mux.(*Route).Subrouter+0xa4 github.com/gorilla/mux@v1.8.1/route.go:496 # 0x2523e30 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x13f0 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:259 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 224 [1: 224] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 224 [2: 224] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 240 [1: 240] @ 0x12561f1 0x1254671 0x1255165 0x1258717 0x125847b 0x1258c31 0x125a936 0x125b7e5 0x1829f8b 0x1829f64 0x1712185 0x16c0f12 0x1fd4ceb 0x22b37ca 0x22b1c8e 0x23e53b7 0x1137cb7 0x117a32e 0x505826 0x504939 0xaf9d09 0x483fe1 # 0x12561f0 github.com/jmoiron/sqlx/reflectx.getMapping+0x710 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:381 # 0x1254670 github.com/jmoiron/sqlx/reflectx.(*Mapper).TypeMap+0x90 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:108 # 0x1255164 github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByNameFunc+0x84 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:187 # 0x1258716 github.com/jmoiron/sqlx.bindArgs+0x236 github.com/jmoiron/sqlx@v1.4.0/named.go:182 # 0x125847a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x1258c30 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x125a935 github.com/jmoiron/sqlx.bindNamedMapper+0x135 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x125b7e4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x1829f8a github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ea github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x1829f63 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x1c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:149 # 0x1712184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Update+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:207 # 0x16c0f11 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Update+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:938 # 0x1fd4cea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Update+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:835 # 0x22b37c9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchBot+0x7c9 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:316 # 0x22b1c8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnsureBot+0x88d github.com/mattermost/mattermost/server/v8/channels/app/bot.go:54 # 0x23e53b6 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1176 # 0x1137cb6 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1266 # 0x117a32d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).EnsureBotUser+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6249 # 0x505825 reflect.Value.call+0xca5 reflect/value.go:584 # 0x504938 reflect.Value.Call+0xb8 reflect/value.go:368 # 0xaf9d08 net/rpc.(*service).call+0x208 net/rpc/server.go:381 1: 256 [2: 512] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 4: 256 [4: 256] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 6: 288 [6: 288] @ 0x541f16 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x53df7e 0x53db79 0x8df791 0x8df16d 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x541f15 encoding/json.(*decodeState).literalStore+0xcf5 encoding/json/decode.go:960 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x8df790 github.com/mattermost/go-i18n/i18n/bundle.unmarshal+0x50 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:162 # 0x8df16c github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x28c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 288 [1: 288] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0x540925 0x53e6fe 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0x23f335a 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0x540924 encoding/json.(*decodeState).object+0x1344 encoding/json/decode.go:806 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0x23f3359 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x279 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:417 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 1: 288 [90: 25920] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x479f65 0x512969 0x4fa385 0xaddbda 0xae06e9 0xadc81f 0xae3496 0xae44f5 0xae4305 0xaf9fe5 0xafb311 0xafa8b1 0xafa758 0xb09e26 0xb08630 0x113d35f 0x483fe1 # 0x479f64 reflect.mapassign_faststr0+0x24 runtime/map_swiss.go:269 # 0x512968 reflect.mapassign_faststr+0xa8 reflect/value.go:3612 # 0x4fa384 reflect.Value.SetMapIndex+0x224 reflect/map_swiss.go:427 # 0xaddbd9 encoding/gob.(*Decoder).decodeMap+0x419 encoding/gob/decode.go:608 # 0xae06e8 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:866 # 0xadc81e encoding/gob.(*Decoder).decodeStruct+0x15e encoding/gob/decode.go:494 # 0xae3495 encoding/gob.(*Decoder).decodeValue+0x235 encoding/gob/decode.go:1250 # 0xae44f4 encoding/gob.(*Decoder).DecodeValue+0x194 encoding/gob/decoder.go:231 # 0xae4304 encoding/gob.(*Decoder).Decode+0x124 encoding/gob/decoder.go:206 # 0xaf9fe4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:405 # 0xafb310 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:566 # 0xafa8b0 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:462 # 0xafa757 net/rpc.(*Server).ServeConn+0x357 net/rpc/server.go:453 # 0xb09e25 github.com/hashicorp/go-plugin.serve+0x125 github.com/hashicorp/go-plugin@v1.7.0/rpc_server.go:208 # 0xb0862f github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xef github.com/hashicorp/go-plugin@v1.7.0/mux_broker.go:90 # 0x113d35e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:245 1: 288 [1: 288] @ 0x541c6c 0x53e7d5 0x540351 0x53e6fe 0x53f3af 0x53e734 0x540351 0x53e6fe 0x540351 0x53e6fe 0x53df7e 0x54e3fa 0xbc2f25 0x23f335a 0x23dc31b 0x23d9585 0x23d8a57 0x483fe1 # 0x541c6b encoding/json.(*decodeState).literalStore+0xa4b encoding/json/decode.go:953 # 0x53e7d4 encoding/json.(*decodeState).value+0x114 encoding/json/decode.go:389 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53f3ae encoding/json.(*decodeState).array+0x50e encoding/json/decode.go:556 # 0x53e733 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:365 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x540350 encoding/json.(*decodeState).object+0xd70 encoding/json/decode.go:762 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x54e3f9 encoding/json.(*Decoder).Decode+0x159 encoding/json/stream.go:73 # 0xbc2f24 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4e4 github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0x23f3359 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x279 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:417 # 0x23dc31a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x23d9584 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x5a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x23d8a56 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 1: 384 [1: 384] @ 0xaed605 0xaeda05 0xaed7fd 0xaec472 0xaed405 0xaeda05 0xaed7fd 0xaedb99 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaed604 encoding/gob.compileEnc+0x524 encoding/gob/encode.go:614 # 0xaeda04 encoding/gob.buildEncEngine+0x1a4 encoding/gob/encode.go:649 # 0xaed7fc encoding/gob.getEncEngine+0x3c encoding/gob/encode.go:631 # 0xaec471 encoding/gob.encOpFor+0x2f1 encoding/gob/encode.go:540 # 0xaed404 encoding/gob.compileEnc+0x324 encoding/gob/encode.go:607 # 0xaeda04 encoding/gob.buildEncEngine+0x1a4 encoding/gob/encode.go:649 # 0xaed7fc encoding/gob.getEncEngine+0x3c encoding/gob/encode.go:631 # 0xaedb98 encoding/gob.(*Encoder).encode+0x98 encoding/gob/encode.go:657 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 5: 1040 [5: 1040] @ 0x479bf3 0x408dc5 0x408db8 0x40d8d9 0x87fd57 0x87e9cf 0x87fc51 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x87fd56 text/template.(*Template).associate+0xb6 text/template/template.go:233 # 0x87e9ce text/template.(*Template).AddParseTree+0x30e text/template/template.go:135 # 0x87fc50 text/template.(*Template).Parse+0x810 text/template/template.go:214 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 1408 [1: 1408] @ 0x7889fb 0x7889a6 0x787fff 0x787d87 0x7868d5 0x79b897 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x261efaf 0x2525e25 0x2524d38 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x787ffe regexp/syntax.(*compiler).compile+0x157e regexp/syntax/compile.go:101 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x261efae github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitSystemLocal+0x2ae github.com/mattermost/mattermost/server/v8/channels/api4/system_local.go:20 # 0x2525e24 github.com/mattermost/mattermost/server/v8/channels/api4.InitLocal+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:476 # 0x2524d37 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22f7 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:382 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 1408 [1: 1408] @ 0x7889fb 0x7889a6 0x787fff 0x787d87 0x7868d5 0x79b897 0xc42172 0xc42159 0xc44178 0xc3fed6 0xc3ff00 0x2525a65 0x2524d38 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x7889fa regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7889a5 regexp/syntax.(*compiler).rune+0x45 regexp/syntax/compile.go:273 # 0x787ffe regexp/syntax.(*compiler).compile+0x157e regexp/syntax/compile.go:101 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3fed5 github.com/gorilla/mux.(*Route).PathPrefix+0x1d5 github.com/gorilla/mux@v1.8.1/route.go:380 # 0xc3feff github.com/gorilla/mux.(*Router).PathPrefix+0x1ff github.com/gorilla/mux@v1.8.1/mux.go:338 # 0x2525a64 github.com/mattermost/mattermost/server/v8/channels/api4.InitLocal+0xd04 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:449 # 0x2524d37 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22f7 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:382 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 6: 1728 [6: 1728] @ 0x8652c9 0x8652bd 0x87fb6a 0x8a04c5 0x8a0766 0x8a0738 0x8df8fd 0x8df235 0x8ded86 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8652c8 text/template/parse.New+0x68 text/template/parse/parse.go:132 # 0x8652bc text/template/parse.Parse+0x5c text/template/parse/parse.go:64 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x8a04c4 github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x184 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8a0765 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x225 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8a0737 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1f7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8df8fc github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x9c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:173 # 0x8df234 github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x354 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8ded85 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xa5 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 1792 [1: 1792] @ 0xaed49f 0xaeda05 0xaed7fd 0xaec472 0xaed405 0xaeda05 0xaed7fd 0xaec472 0xaed405 0xaeda05 0xaed7fd 0xaedb99 0xaef09d 0xaeeaca 0xafa185 0xaf98e5 0xaf9dca 0x483fe1 # 0xaed49e encoding/gob.compileEnc+0x3be encoding/gob/encode.go:608 # 0xaeda04 encoding/gob.buildEncEngine+0x1a4 encoding/gob/encode.go:649 # 0xaed7fc encoding/gob.getEncEngine+0x3c encoding/gob/encode.go:631 # 0xaec471 encoding/gob.encOpFor+0x2f1 encoding/gob/encode.go:540 # 0xaed404 encoding/gob.compileEnc+0x324 encoding/gob/encode.go:607 # 0xaeda04 encoding/gob.buildEncEngine+0x1a4 encoding/gob/encode.go:649 # 0xaed7fc encoding/gob.getEncEngine+0x3c encoding/gob/encode.go:631 # 0xaec471 encoding/gob.encOpFor+0x2f1 encoding/gob/encode.go:540 # 0xaed404 encoding/gob.compileEnc+0x324 encoding/gob/encode.go:607 # 0xaeda04 encoding/gob.buildEncEngine+0x1a4 encoding/gob/encode.go:649 # 0xaed7fc encoding/gob.getEncEngine+0x3c encoding/gob/encode.go:631 # 0xaedb98 encoding/gob.(*Encoder).encode+0x98 encoding/gob/encode.go:657 # 0xaef09c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xaeeac9 encoding/gob.(*Encoder).Encode+0x69 encoding/gob/encoder.go:176 # 0xafa184 net/rpc.(*gobServerCodec).WriteResponse+0x164 net/rpc/server.go:418 # 0xaf98e4 net/rpc.(*Server).sendResponse+0x164 net/rpc/server.go:357 # 0xaf9dc9 net/rpc.(*service).call+0x2c9 net/rpc/server.go:388 1: 1792 [1: 1792] @ 0xc100a5 0xc10061 0x10ce415 0x10cd846 0x10cd83e 0x1f77c22 0x1f7e80d 0x2392543 0x483fe1 # 0xc100a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.4.0/msgp/write.go:69 # 0xc10060 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x10ce414 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7e80c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetAllProfilesInChannel+0x10c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:158 # 0x2392542 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func1+0x82 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:64 1: 2048 [1: 2048] @ 0x79955a 0x79b459 0x79b8af 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x24fdf05 0x250f45e 0x26c8daf 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x799559 regexp.onePassCopy+0x39 regexp/onepass.go:226 # 0x79b458 regexp.compileOnePass+0x198 regexp/onepass.go:499 # 0x79b8ae regexp.compile+0x8e regexp/regexp.go:187 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x24fdf04 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitOAuth+0x384 github.com/mattermost/mattermost/server/v8/channels/web/oauth.go:44 # 0x250f45d github.com/mattermost/mattermost/server/v8/channels/web.New+0x7d github.com/mattermost/mattermost/server/v8/channels/web/web.go:33 # 0x26c8dae github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 2048 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d104 0xb7d105 0xb7ca85 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2412765 0x25eaa85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d103 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7d104 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xb7ca84 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2412764 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x144 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1782 # 0x25eaa84 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x344 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1276 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 2048 [1: 2048] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d104 0xb7d105 0xb7ca85 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7439e 0x230e91f 0x230e4cd 0x230dc28 0x2591b18 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d103 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7d104 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xb7ca84 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7439d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x49d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:81 # 0x230e91e github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileInfosForDraft+0xbe github.com/mattermost/mattermost/server/v8/channels/app/draft.go:129 # 0x230e4cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).prepareDraftWithFileInfos+0x4c github.com/mattermost/mattermost/server/v8/channels/app/draft.go:114 # 0x230dc27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpsertDraft+0x387 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:83 # 0x2591b17 github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x4f7 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:55 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 2048 [1: 2048] @ 0x44a491 0x44afb5 0x44b699 0x47c2ec 0x44dc1e 0x44e0aa 0x449bcd 0x449ad5 0x481f25 # 0x44a490 runtime.allocm+0x90 runtime/proc.go:2276 # 0x44afb4 runtime.newm+0x34 runtime/proc.go:2812 # 0x44b698 runtime.startm+0x158 runtime/proc.go:3038 # 0x47c2eb runtime.wakep+0xeb runtime/proc.go:3185 # 0x44dc1d runtime.resetspinning+0x3d runtime/proc.go:3937 # 0x44e0a9 runtime.schedule+0x109 runtime/proc.go:4095 # 0x449bcc runtime.mstart1+0xcc runtime/proc.go:1894 # 0x449ad4 runtime.mstart0+0x74 runtime/proc.go:1840 # 0x481f24 runtime.mstart+0x4 runtime/asm_amd64.s:395 1: 2688 [1: 2688] @ 0x5524b6 0x5494aa 0x544d76 0x544e37 0x544867 0x5515d3 0x5494aa 0x53f85e 0x53e6fe 0x53df7e 0x53db79 0x149390d 0x1492985 0x1492b09 0x26c8b2e 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x5524b5 encoding/json.typeFields+0x1655 encoding/json/encode.go:1221 # 0x5494a9 encoding/json.cachedTypeFields+0x129 encoding/json/encode.go:1332 # 0x544d75 encoding/json.newStructEncoder+0x355 encoding/json/encode.go:737 # 0x544e36 encoding/json.newTypeEncoder+0x416 encoding/json/encode.go:424 # 0x544866 encoding/json.typeEncoder+0x166 encoding/json/encode.go:377 # 0x5515d2 encoding/json.typeFields+0x772 encoding/json/encode.go:1295 # 0x5494a9 encoding/json.cachedTypeFields+0x129 encoding/json/encode.go:1332 # 0x53f85d encoding/json.(*decodeState).object+0x27d encoding/json/decode.go:647 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x149390c github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x14c github.com/mattermost/mattermost/server/v8/config/store.go:260 # 0x1492984 github.com/mattermost/mattermost/server/v8/config.NewStoreFromBacking+0x84 github.com/mattermost/mattermost/server/v8/config/store.go:79 # 0x1492b08 github.com/mattermost/mattermost/server/v8/config.NewStoreFromDSN+0x108 github.com/mattermost/mattermost/server/v8/config/store.go:100 # 0x26c8b2d github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0xad github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:51 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 3072 [1: 3072] @ 0x78727e 0x78721a 0x787370 0x787d87 0x7868d5 0x79b897 0xc42172 0xc42159 0xc44178 0xc3edf3 0xc3ee60 0x2645891 0x2524a05 0x26c8d8d 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x78727d regexp/syntax.(*compiler).inst+0x7fd regexp/syntax/compile.go:164 # 0x787219 regexp/syntax.(*compiler).empty+0x799 regexp/syntax/compile.go:266 # 0x78736f regexp/syntax.(*compiler).compile+0x8ef regexp/syntax/compile.go:122 # 0x787d86 regexp/syntax.(*compiler).compile+0x1306 regexp/syntax/compile.go:147 # 0x7868d4 regexp/syntax.Compile+0x134 regexp/syntax/compile.go:74 # 0x79b896 regexp.compile+0x76 regexp/regexp.go:176 # 0xc42171 regexp.Compile+0x9d1 regexp/regexp.go:131 # 0xc42158 github.com/gorilla/mux.newRouteRegexp+0x9b8 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0xc44177 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x117 github.com/gorilla/mux@v1.8.1/route.go:196 # 0xc3edf2 github.com/gorilla/mux.(*Route).Path+0x1f2 github.com/gorilla/mux@v1.8.1/route.go:364 # 0xc3ee5f github.com/gorilla/mux.(*Router).Handle+0x25f github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x2645890 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0xcf0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:54 # 0x2524a04 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1fc4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:320 # 0x26c8d8c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 4096 [11: 22528] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d104 0xb7d105 0xb7ca85 0xb7de57 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d103 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xb7d104 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xb7ca84 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 2: 4096 [6: 12288] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7b059 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f7a88d 0x2436503 0x2423f8e 0x24225eb 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7b058 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f7a88c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheReactionStore.GetForPost+0x12c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/reaction_layer.go:51 # 0x2436502 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:109 # 0x2423f8d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:289 # 0x24225ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:134 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 5376 [1: 5376] @ 0x7905c5 0x790b47 0x78f9ea 0x78ffe7 0x78d194 0x79b850 0x79b84b 0x79c3ac 0x79c3a0 0xc19a39 0x455278 0x446605 0x4464ee 0x483fe1 # 0x7905c4 regexp/syntax.appendRange+0xa4 regexp/syntax/parse.go:1906 # 0x790b46 regexp/syntax.appendTable+0xc6 regexp/syntax/parse.go:2000 # 0x78f9e9 regexp/syntax.(*parser).parseUnicodeClass+0x3a9 regexp/syntax/parse.go:1710 # 0x78ffe6 regexp/syntax.(*parser).parseClass+0x346 regexp/syntax/parse.go:1776 # 0x78d193 regexp/syntax.parse+0xa13 regexp/syntax/parse.go:973 # 0x79b84f regexp/syntax.Parse+0x2f regexp/syntax/parse.go:887 # 0x79b84a regexp.compile+0x2a regexp/regexp.go:168 # 0x79c3ab regexp.Compile+0x2b regexp/regexp.go:131 # 0x79c39f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc19a38 github.com/mattermost/mattermost/server/public/model.init+0x1818 github.com/mattermost/mattermost/server/public/model/utils.go:709 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 1: 6528 [1: 6528] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 10880 [1: 10880] @ 0x5524b6 0x5494aa 0x544d76 0x544e37 0x544867 0x5515d3 0x5494aa 0x53f85e 0x53e6fe 0x53df7e 0x53db79 0x149390d 0x1492985 0x1492b09 0x26c8b2e 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x5524b5 encoding/json.typeFields+0x1655 encoding/json/encode.go:1221 # 0x5494a9 encoding/json.cachedTypeFields+0x129 encoding/json/encode.go:1332 # 0x544d75 encoding/json.newStructEncoder+0x355 encoding/json/encode.go:737 # 0x544e36 encoding/json.newTypeEncoder+0x416 encoding/json/encode.go:424 # 0x544866 encoding/json.typeEncoder+0x166 encoding/json/encode.go:377 # 0x5515d2 encoding/json.typeFields+0x772 encoding/json/encode.go:1295 # 0x5494a9 encoding/json.cachedTypeFields+0x129 encoding/json/encode.go:1332 # 0x53f85d encoding/json.(*decodeState).object+0x27d encoding/json/decode.go:647 # 0x53e6fd encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:375 # 0x53df7d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:178 # 0x53db78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:108 # 0x149390c github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x14c github.com/mattermost/mattermost/server/v8/config/store.go:260 # 0x1492984 github.com/mattermost/mattermost/server/v8/config.NewStoreFromBacking+0x84 github.com/mattermost/mattermost/server/v8/config/store.go:79 # 0x1492b08 github.com/mattermost/mattermost/server/v8/config.NewStoreFromDSN+0x108 github.com/mattermost/mattermost/server/v8/config/store.go:100 # 0x26c8b2d github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0xad github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:51 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 12288 [1: 12288] @ 0x461e06 0x867805 0x8677df 0x8675f3 0x8672cb 0x867011 0x8666db 0x865385 0x87fb6a 0x88fcbf 0x891676 0x8917fc 0x12524cc 0x1252483 0x24509b9 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x867804 text/template/parse.(*Tree).newText+0xe4 text/template/parse/node.go:136 # 0x8677de text/template/parse.(*Tree).textOrAction+0xbe text/template/parse/parse.go:370 # 0x8675f2 text/template/parse.(*Tree).itemList+0x1b2 text/template/parse/parse.go:353 # 0x8672ca text/template/parse.(*Tree).parseDefinition+0x12a text/template/parse/parse.go:337 # 0x867010 text/template/parse.(*Tree).parse+0x4b0 text/template/parse/parse.go:310 # 0x8666da text/template/parse.(*Tree).Parse+0x23a text/template/parse/parse.go:251 # 0x865384 text/template/parse.Parse+0x124 text/template/parse/parse.go:66 # 0x87fb69 text/template.(*Template).Parse+0x729 text/template/template.go:207 # 0x88fcbe html/template.(*Template).Parse+0x7e html/template/template.go:191 # 0x891675 html/template.parseFiles+0x175 html/template/template.go:430 # 0x8917fb html/template.parseGlob+0xbb html/template/template.go:477 # 0x12524cb html/template.ParseGlob+0x6b html/template/template.go:448 # 0x1252482 github.com/mattermost/mattermost/server/v8/platform/shared/templates.NewWithWatcher+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:64 # 0x24509b8 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x1718 github.com/mattermost/mattermost/server/v8/channels/app/server.go:331 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 20480 [1: 20480] @ 0x954ef9 0x954ed2 0x98b1ad 0x98b166 0x98a11a 0x9892b0 0x986646 0x9851c5 0x97dfa5 0x97e489 0x97e46f 0x97e496 0x9ef912 0x9ef5f8 0x9e5eb0 0x9f9d6e 0x9f9d59 0x957462 0x95745b 0x9570ae 0xad155a 0x455278 0x446605 0x4464ee 0x483fe1 # 0x954ef8 google.golang.org/protobuf/internal/strs.(*Builder).grow+0x78 google.golang.org/protobuf@v1.36.10/internal/strs/strings_unsafe.go:66 # 0x954ed1 google.golang.org/protobuf/internal/strs.(*Builder).AppendFullName+0x51 google.golang.org/protobuf@v1.36.10/internal/strs/strings_unsafe.go:43 # 0x98b1ac google.golang.org/protobuf/internal/filedesc.appendFullName+0x2ec google.golang.org/protobuf@v1.36.10/internal/filedesc/desc_init.go:573 # 0x98b165 google.golang.org/protobuf/internal/filedesc.(*Field).unmarshalFull+0x2a5 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc_lazy.go:471 # 0x98a119 google.golang.org/protobuf/internal/filedesc.(*Message).unmarshalFull+0x1219 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc_lazy.go:346 # 0x9892af google.golang.org/protobuf/internal/filedesc.(*Message).unmarshalFull+0x3af google.golang.org/protobuf@v1.36.10/internal/filedesc/desc_lazy.go:327 # 0x986645 google.golang.org/protobuf/internal/filedesc.(*File).unmarshalFull+0x3a5 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc_lazy.go:167 # 0x9851c4 google.golang.org/protobuf/internal/filedesc.(*File).lazyRawInit+0x24 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc_lazy.go:20 # 0x97dfa4 google.golang.org/protobuf/internal/filedesc.(*File).lazyInitOnce+0x64 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc.go:171 # 0x97e488 google.golang.org/protobuf/internal/filedesc.(*File).lazyInit+0x28 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc.go:163 # 0x97e46e google.golang.org/protobuf/internal/filedesc.(*Message).lazyInit+0xe google.golang.org/protobuf@v1.36.10/internal/filedesc/desc.go:341 # 0x97e495 google.golang.org/protobuf/internal/filedesc.(*Message).Fields+0x35 google.golang.org/protobuf@v1.36.10/internal/filedesc/desc.go:318 # 0x9ef911 google.golang.org/protobuf/internal/impl.(*MessageInfo).makeKnownFieldsFunc+0x71 google.golang.org/protobuf@v1.36.10/internal/impl/message_reflect.go:57 # 0x9ef5f7 google.golang.org/protobuf/internal/impl.(*MessageInfo).makeReflectFuncs+0x77 google.golang.org/protobuf@v1.36.10/internal/impl/message_reflect.go:42 # 0x9e5eaf google.golang.org/protobuf/internal/impl.(*MessageInfo).initOnce+0x1cf google.golang.org/protobuf@v1.36.10/internal/impl/message.go:92 # 0x9f9d6d google.golang.org/protobuf/internal/impl.(*MessageInfo).init+0x2d google.golang.org/protobuf@v1.36.10/internal/impl/message.go:71 # 0x9f9d58 google.golang.org/protobuf/internal/impl.(*messageState).ProtoMethods+0x18 google.golang.org/protobuf@v1.36.10/internal/impl/message_reflect_gen.go:31 # 0x957461 google.golang.org/protobuf/proto.protoMethods+0xe1 google.golang.org/protobuf@v1.36.10/proto/proto_methods.go:19 # 0x95745a google.golang.org/protobuf/proto.UnmarshalOptions.unmarshal+0xda google.golang.org/protobuf@v1.36.10/proto/decode.go:100 # 0x9570ad google.golang.org/protobuf/proto.Unmarshal+0x6d google.golang.org/protobuf@v1.36.10/proto/decode.go:62 # 0xad1559 google.golang.org/protobuf/reflect/protodesc.init.0+0x39 google.golang.org/protobuf@v1.36.10/reflect/protodesc/editions.go:26 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x1b56945 0x1b568b3 0x455278 0x446605 0x4464ee 0x483fe1 # 0x1b56944 github.com/ledongthuc/pdf.map.init.0+0x24 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/name.go:5 # 0x1b568b2 github.com/ledongthuc/pdf.init+0x12 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/name.go:5 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75d4a 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75d49 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1489 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:364 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75bf7 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75bf6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1336 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:349 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f757c9 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f757c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xf08 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:300 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75629 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75628 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xd68 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:281 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x8e9d25 0x8fe11c 0x455278 0x446605 0x4464ee 0x483fe1 # 0x8e9d24 golang.org/x/net/html.map.init.1+0x24 golang.org/x/net@v0.46.0/html/entity.go:16 # 0x8fe11b golang.org/x/net/html.init+0x1b golang.org/x/net@v0.46.0/html/entity.go:16 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 1: 27264 [1: 27264] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75449 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75448 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xb88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:256 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 32768 [268: 8781824] @ 0x7015ba 0x48ea11 0x762867 0x76285b 0x762366 0x7473cd 0x772534 0x483fe1 # 0x7015b9 net/http.init.func15+0x19 net/http/server.go:820 # 0x48ea10 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x762866 net/http.getCopyBuf+0x66 net/http/server.go:823 # 0x76285a net/http.(*transferWriter).doBodyCopy+0x5a net/http/transfer.go:414 # 0x762365 net/http.(*transferWriter).writeBody+0x365 net/http/transfer.go:372 # 0x7473cc net/http.(*Request).write+0xacc net/http/request.go:762 # 0x772533 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2593 1: 32768 [2: 65536] @ 0x4bb1c5 0xb0a55d 0xb0a568 0x483fe1 # 0x4bb1c4 io.copyBuffer+0x104 io/io.go:426 # 0xb0a55c io.Copy+0x7c io/io.go:388 # 0xb0a567 github.com/hashicorp/go-plugin.copyStream+0x87 github.com/hashicorp/go-plugin@v1.7.0/stream.go:18 1: 40960 [1: 40960] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0xb84aa5 0xc184cd 0x455278 0x446605 0x4464ee 0x483fe1 # 0xb84aa4 github.com/mattermost/mattermost/server/public/model.map.init.1+0x24 github.com/mattermost/mattermost/server/public/model/emoji_data.go:8 # 0xc184cc github.com/mattermost/mattermost/server/public/model.init+0x2ac github.com/mattermost/mattermost/server/public/model/emoji_data.go:8 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75309 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75308 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xa48 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:240 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f74c49 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f74c48 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x388 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:164 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75266 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75265 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x9a5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:232 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x201d2f7 0x201d293 0x455278 0x446605 0x4464ee 0x483fe1 # 0x201d2f6 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x76 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x201d292 github.com/mattermost/mattermost/server/v8/channels/app/platform.init+0x12 github.com/mattermost/mattermost/server/v8/channels/app/platform/link_cache.go:15 # 0x455277 runtime.doInit1+0xd7 runtime/proc.go:7410 # 0x446604 runtime.doInit+0x344 runtime/proc.go:7377 # 0x4464ed runtime.main+0x22d runtime/proc.go:254 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f74e4a 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f74e49 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x589 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:186 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d00a5 0x10d003c 0x10d0369 0x1f75b32 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d00a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x1a4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d003b github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x13b github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x10d0368 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x1f75b31 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1271 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:338 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 2: 54528 [2: 54528] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f7596a 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75969 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x10a9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:319 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 3: 81792 [3: 81792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f754e9 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f754e8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xc28 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:265 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 3: 81792 [3: 81792] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f75589 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f75588 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xcc8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:273 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 90112 [1: 90112] @ 0x11f2306 0x48e78b 0x11ece8c 0x11ece6f 0x1230b05 0x1230afc 0x122faa3 0x122bea8 0x11f8cce 0x11f8d25 0x11f8d25 0x11f8d25 0x122bcc5 0x122bb1b 0x1232de4 0x1245f76 0x1ba4599 0x1ba33fc 0x239cd6f 0x239cd23 0x239d40a 0x2390630 0x2029802 0x483fe1 # 0x11f2305 github.com/yuin/goldmark/util.buildHTML5Entities.func1+0x25 github.com/yuin/goldmark@v1.7.13/util/html5entities.go:14 # 0x48e78a sync.(*Once).doSlow+0xaa sync/once.go:78 # 0x11ece8b sync.(*Once).Do+0x2b sync/once.go:69 # 0x11ece6e github.com/yuin/goldmark/util.buildHTML5Entities+0xe github.com/yuin/goldmark@v1.7.13/util/html5entities.go:13 # 0x1230b04 github.com/yuin/goldmark/util.LookUpHTML5EntityByName+0x3c4 github.com/yuin/goldmark@v1.7.13/util/html5entities.go:44 # 0x1230afb github.com/yuin/goldmark/renderer/html.(*defaultWriter).Write+0x3bb github.com/yuin/goldmark@v1.7.13/renderer/html/html.go:902 # 0x122faa2 github.com/yuin/goldmark/renderer/html.(*Renderer).renderText+0x182 github.com/yuin/goldmark@v1.7.13/renderer/html/html.go:662 # 0x122bea7 github.com/yuin/goldmark/renderer.(*renderer).Render.func2+0xc7 github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:166 # 0x11f8ccd github.com/yuin/goldmark/ast.walkHelper+0x2d github.com/yuin/goldmark@v1.7.13/ast/ast.go:505 # 0x11f8d24 github.com/yuin/goldmark/ast.walkHelper+0x84 github.com/yuin/goldmark@v1.7.13/ast/ast.go:511 # 0x11f8d24 github.com/yuin/goldmark/ast.walkHelper+0x84 github.com/yuin/goldmark@v1.7.13/ast/ast.go:511 # 0x11f8d24 github.com/yuin/goldmark/ast.walkHelper+0x84 github.com/yuin/goldmark@v1.7.13/ast/ast.go:511 # 0x122bcc4 github.com/yuin/goldmark/ast.Walk+0x224 github.com/yuin/goldmark@v1.7.13/ast/ast.go:500 # 0x122bb1a github.com/yuin/goldmark/renderer.(*renderer).Render+0x7a github.com/yuin/goldmark@v1.7.13/renderer/renderer.go:161 # 0x1232de3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.7.13/markdown.go:118 # 0x1245f75 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x175 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:59 # 0x1ba4598 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:141 # 0x1ba33fb github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x39b github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:34 # 0x239cd6e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x148e github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x239cd22 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1442 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x239d409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x239062f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:428 # 0x2029801 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:14 4: 109056 [4: 109056] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f74d4a 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f74d49 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x489 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:175 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 4: 109056 [4: 109056] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d00a5 0x10d003c 0x10d0369 0x2036827 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d00a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x1a4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d003b github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x13b github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x10d0368 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x2036826 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1cc6 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:310 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 4: 109056 [4: 109056] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d00a5 0x10d003c 0x10d0369 0x2036967 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d00a4 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x1a4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d003b github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x13b github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x10d0368 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x2036966 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1e06 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:321 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 4: 109056 [4: 109056] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x245082d 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x245082c github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x158c github.com/mattermost/mattermost/server/v8/channels/app/server.go:314 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 5: 136320 [5: 136320] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x10d02a8 0x10d034d 0x1f74f47 0x20379ee 0x20366df 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x10d02a7 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x10d034c github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x1f74f46 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x686 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:197 # 0x20379ed github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:275 # 0x20366de github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1b7e github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:296 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 204800 [1: 204800] @ 0x83a6d9 0x859375 0x202f8f2 0x203502f 0x244f4a6 0x26c8d45 0x26c8b85 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x83a6d8 github.com/mattermost/logr/v2.New+0x2d8 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x859374 github.com/mattermost/mattermost/server/public/shared/mlog.NewLogger+0x134 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:183 # 0x202f8f1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).initLogging+0xf1 github.com/mattermost/mattermost/server/v8/channels/app/platform/log.go:39 # 0x203502e github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x4ce github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:173 # 0x244f4a5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:188 # 0x26c8d44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x26c8b84 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 270336 [300: 81100800] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 270336 [235: 63528960] @ 0x1a91517 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a91516 github.com/klauspost/compress/flate.NewWriter+0x296 github.com/klauspost/compress@v1.18.0/flate/deflate.go:916 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 7: 286720 [7: 286720] @ 0x479bf3 0x409edd 0x409ede 0x409e2f 0x408179 0x479ce9 0x8dfe55 0x8dedb8 0x8dec97 0x8e1c90 0x8e1c18 0x8e16d0 0x12430c9 0x26c8ac5 0x26b2cea 0x26b362f 0x26cb148 0x26cb13d 0x26cb0d3 0x44654b 0x483fe1 # 0x8dfe54 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).AddTranslation+0xd4 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:215 # 0x8dedb7 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0xd7 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:79 # 0x8dec96 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).LoadTranslationFile+0x56 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:60 # 0x8e1c8f github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2ef github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8e1c17 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x277 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:169 # 0x8e16cf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:112 # 0x12430c8 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x28 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x26c8ac4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x26b2ce9 github.com/spf13/cobra.(*Command).execute+0xaa9 github.com/spf13/cobra@v1.10.1/command.go:1015 # 0x26b362e github.com/spf13/cobra.(*Command).ExecuteC+0x46e github.com/spf13/cobra@v1.10.1/command.go:1148 # 0x26cb147 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.1/command.go:1071 # 0x26cb13c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x26cb0d2 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x44654a runtime.main+0x28a runtime/proc.go:283 1: 327680 [2685: 879820800] @ 0x1a09eb8 0x1a18b2a 0x1a086ca 0x1a09474 0x1a918ac 0x1a9189f 0x24e20df 0x24e3b66 0x24e4a3c 0x24e4865 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a09eb7 github.com/klauspost/compress/flate.(*fastGen).addBlock+0xf7 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:86 # 0x1a18b29 github.com/klauspost/compress/flate.(*fastEncL5).Encode+0x89 github.com/klauspost/compress@v1.18.0/flate/level5.go:62 # 0x1a086c9 github.com/klauspost/compress/flate.(*compressor).storeFast+0x169 github.com/klauspost/compress@v1.18.0/flate/deflate.go:758 # 0x1a09473 github.com/klauspost/compress/flate.(*compressor).close+0x33 github.com/klauspost/compress@v1.18.0/flate/deflate.go:891 # 0x1a918ab github.com/klauspost/compress/flate.(*Writer).Close+0xcb github.com/klauspost/compress@v1.18.0/flate/deflate.go:991 # 0x1a9189e github.com/klauspost/compress/gzip.(*Writer).Close+0xbe github.com/klauspost/compress@v1.18.0/gzip/gzip.go:281 # 0x24e20de github.com/klauspost/compress/gzhttp/writer/gzkp.(*pooledWriter).Close+0x1e github.com/klauspost/compress@v1.18.0/gzhttp/writer/gzkp/gzkp.go:54 # 0x24e3b65 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x345 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:374 # 0x24e4a3b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:510 # 0x24e4864 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x544 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:526 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 385024 [1: 385024] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25df6a5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25df6a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1004 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 401408 [376: 150929408] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x25d9485 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x25d9484 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:278 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 401408 [305: 122429440] @ 0x1a08cd8 0x1a08c11 0x1a91530 0x1a914fa 0x24e3502 0x24e2c33 0x2508bf1 0x54ec8d 0x266ba85 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x1a08cd7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.0/flate/fast_encoder.go:31 # 0x1a08c10 github.com/klauspost/compress/flate.(*compressor).init+0x90 github.com/klauspost/compress@v1.18.0/flate/deflate.go:826 # 0x1a9152f github.com/klauspost/compress/flate.NewWriter+0x2af github.com/klauspost/compress@v1.18.0/flate/deflate.go:917 # 0x1a914f9 github.com/klauspost/compress/gzip.(*Writer).Write+0x279 github.com/klauspost/compress@v1.18.0/gzip/gzip.go:225 # 0x24e3501 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startGzip+0x761 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:264 # 0x24e2c32 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x512 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:147 # 0x2508bf0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x54ec8c encoding/json.(*Encoder).Encode+0x1ec encoding/json/stream.go:231 # 0x266ba84 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3242 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 532480 [8: 4259840] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 1: 7864320 [37: 290979840] @ 0x4e20f4 0x4e1b1d 0x4e1cf9 0xb7d04c 0xb7d04d 0xb7cfa9 0xb7c9db 0xb82206 0xb7b07f 0xb7de57 0xb79b9a 0xb7d578 0xb7d425 0xb79b9a 0xb79a26 0xb78f0f 0x10ce425 0x10cd846 0x10cd83e 0x1f77c22 0x1f73e35 0x2412be9 0x2423ee8 0x242292f 0x2423287 0x2421d65 0x25e03c5 0x24faed6 0x24e4927 0x7576a9 0xc3e542 0x2459119 0x7576a9 0x7770ee 0x755ba5 0x483fe1 # 0x4e20f3 bytes.growSlice+0x93 bytes/buffer.go:249 # 0x4e1b1c bytes.(*Buffer).grow+0x13c bytes/buffer.go:151 # 0x4e1cf8 bytes.(*Buffer).Write+0x58 bytes/buffer.go:179 # 0xb7d04b github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x6b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xb7d04c github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x6c github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xb7cfa8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xb7c9da github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xb82205 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xb7b07e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xb7de56 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb7d577 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xb7d424 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xb79b99 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xb79a25 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x225 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xb78f0e github.com/vmihailenco/msgpack/v5.Marshal+0x18e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x10ce424 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x10cd845 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x10cd83d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1f77c21 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:504 # 0x1f73e34 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetForPost+0x174 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:48 # 0x2412be8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1814 # 0x2423ee7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:282 # 0x242292e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4ee github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:142 # 0x2423286 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:168 # 0x2421d64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x25e03c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:336 # 0x24faed5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e35 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:355 # 0x24e4926 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x606 github.com/klauspost/compress@v1.18.0/gzhttp/compress.go:519 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0xc3e541 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2459118 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.36.0/http/sentryhttp.go:124 # 0x7576a8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2294 # 0x7770ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3301 # 0x755ba4 net/http.(*conn).serve+0x624 net/http/server.go:2102 # runtime.MemStats # Alloc = 87691240 # TotalAlloc = 256948009568 # Sys = 1227212328 # Lookups = 0 # Mallocs = 2836124805 # Frees = 2835576920 # HeapAlloc = 87691240 # HeapSys = 1192919040 # HeapIdle = 1078280192 # HeapInuse = 114638848 # HeapReleased = 1039228928 # HeapObjects = 547885 # Stack = 2457600 / 2457600 # MSpan = 1396800 / 8176320 # MCache = 3624 / 15704 # BuckHashSys = 7530516 # GCSys = 14904680 # OtherSys = 1208468 # NextGC = 174986490 # LastGC = 1768908217491745388 # PauseNs = [133722 406509 159762 72628 208983 123553 207342 234342 142170 293778 156467 222302 58380 276583 206571 70172 205780 159951 70262 131028 104387 92817 95109 155725 185092 202333 197264 71715 174578 181352 169220 69942 193125 158420 73861 197083 226979 68469 233491 134724 60514 227641 198685 71817 148471 208975 150846 164001 127350 245044 124204 276302 89030 65154 220498 131518 202984 136178 153721 197875 156625 165414 136107 134674 179157 99727 160534 183506 203756 250323 150245 140606 219235 83157 312622 206210 186441 71324 169419 128393 169831 122530 95540 224154 74430 136369 158210 52180 131830 114224 150375 171926 144031 146067 161878 89580 82266 76115 198677 67537 58441 92174 125678 56638 160814 174953 77827 120989 66456 82646 184079 74350 74852 114845 59121 140085 184669 118655 108464 79971 145674 56898 56737 109528 60916 59802 90792 80214 90151 77235 86404 133992 146517 78659 75954 319675 107163 149323 145204 204827 89408 113094 240966 199026 129765 70083 168108 160682 144444 95037 114065 61667 48101 165233 78638 92805 128303 189439 186593 62026 106632 87637 129394 80762 68600 131779 232960 69391 77076 71275 239502 133092 79061 59593 74411 153151 108977 121589 75913 98548 76313 72298 74261 93716 136270 67097 158279 138121 62599 199316 171975 80603 127330 144093 60616 155994 152708 69401 116811 199957 61316 149714 172246 61646 134554 364358 168598 126239 137971 132669 80072 236536 125548 120217 276773 495106 119024 193195 178156 74863 133671 137419 56067 132110 137751 57078 80312 801506 268417 223363 118624 166336 150666 284478 190891 159321 237359 366304 70111 260102 122932 66285 140396 204758 78900 235586 62097 57719 169369 134975 78919 146409 209085 75183 61437 125286] # PauseEnd = [1768886137748588486 1768886257988882805 1768886378114550729 1768886498246749896 1768886618475940301 1768886738625144334 1768886858753969850 1768886978980528136 1768887099122932625 1768887219263105748 1768887339467433636 1768887459675783808 1768887579740029330 1768887699986506611 1768887820173866189 1768887940245948620 1768888060485687467 1768888180640544037 1768888300759183778 1768888420953351059 1768888541126248194 1768888661190996482 1768888781249853463 1768888901592944046 1768889021740042282 1768889141962269737 1768889262033200277 1768889382249259222 1768889502426498938 1768889622607440049 1768889742750512141 1768889862849426712 1768889983065768859 1768890103203302243 1768890223250654796 1768890343541991392 1768890463670862481 1768890583745562312 1768890704002517459 1768890824129002868 1768890944245830450 1768891064448344430 1768891184610858138 1768891304768539859 1768891424911436307 1768891545102892817 1768891665263872463 1768891785395344190 1768891905570407161 1768892025771944139 1768892145899934763 1768892266076185284 1768892386136837809 1768892506244199296 1768892626574603817 1768892746723601665 1768892866918967268 1768892987066694871 1768893107226057844 1768893227421165296 1768893347552451354 1768893467729651215 1768893587884343803 1768893708043537876 1768893828200551393 1768893948243380096 1768894068302023620 1768894188406975435 1768894308482340816 1768894428553747610 1768894548663552311 1768894668713886637 1768894788797592428 1768894908901455396 1768895029011001079 1768895149089278371 1768895269181499934 1768895389250283623 1768895509352549892 1768895629437451645 1768895749516677866 1768895869557476251 1768895989625194145 1768896109701720221 1768896229765177839 1768896349865174429 1768896469939815789 1768896589973759435 1768896710026092532 1768896830140062093 1768896950215879039 1768897070761440121 1768897191147176967 1768897311272302882 1768897431769125807 1768897552274083056 1768897672747967574 1768897793257218602 1768897913725056496 1768898033953133601 1768898154241661737 1768898274767281523 1768898395251185034 1768898515743572355 1768898635883687988 1768898756145459093 1768898876268590792 1768898996763079261 1768899117247200561 1768899237449159105 1768899357765799942 1768899478263243318 1768899598765645169 1768899719047750663 1768899839243884851 1768899959312974774 1768900079382348162 1768900199747809042 1768900320056941854 1768900440264094952 1768900560769925096 1768900681126929860 1768900801245471330 1768900921423839562 1768901041469728117 1768901161742570161 1768901281921838933 1768901402262012349 1768901522362602734 1768901642739972414 1768901763246073753 1768901883744083375 1768902004244519860 1768902124757553075 1768902244963432024 1768902365100009656 1768902485207176393 1768902605346622074 1768902725559973348 1768902845636330743 1768902884585043639 1768903004648704798 1768903124732273590 1768903244798242656 1768903364849577918 1768903484926733866 1768903605029695668 1768903725109456743 1768903845174312513 1768903965267303091 1768904079752677104 1768904200244642871 1768904246281005658 1768904366759077058 1768904486834786545 1768904607257181984 1768904727756375389 1768904848027436518 1768904968270601826 1768905088744732145 1768905208832760999 1768905329243830930 1768905449477703177 1768905569754097427 1768905690243324604 1768905810767906951 1768905931145458388 1768906051244076734 1768906171470040785 1768906291742325677 1768906411857922214 1768906531926012235 1768906652267914696 1768906772748133686 1768906892834803752 1768907013260108022 1768907133760732262 1768907254247808225 1768907374745884809 1768907495261468972 1768907615744112314 1768907736131676545 1768907856263624001 1768907976769063609 1768908097261427758 1768908217491745388 1768877726407849273 1768877846699958835 1768877966747188305 1768878087071442777 1768878207122901347 1768878327243352195 1768878447525012821 1768878567688691778 1768878687745616481 1768878807999933033 1768878928175650632 1768879048246512726 1768879168465286961 1768879288646014509 1768879408744225995 1768879528963946980 1768879649118048111 1768879769246266050 1768879889430806375 1768880009602547849 1768880129728040489 1768880249890646023 1768880370046140689 1768880490201710882 1768880610243345964 1768880730514624044 1768880850654170962 1768880970745283005 1768881090990808300 1768881211128359308 1768881331263962720 1768881451464974474 1768881571641335040 1768881691770709200 1768881811951461902 1768881932104139887 1768882052243419137 1768882172423334259 1768882292585207018 1768882412638987684 1768882532764010416 1768882653061696637 1768882773236327915 1768882893387008002 1768883013512916495 1768883133714146731 1768883253849059344 1768883374032532042 1768883494196880944 1768883614269432631 1768883734515726405 1768883854638997369 1768883974745742492 1768884095021697937 1768884215167870762 1768884335252910553 1768884455516250478 1768884575689795494 1768884695763581229 1768884816041520341 1768884936129202336 1768885056252704344 1768885176516647695 1768885296663982601 1768885416764545536 1768885536987224486 1768885657146384203 1768885777256275066 1768885897365302786 1768886017460814787] # NumGC = 21434 # NumForcedGC = 0 # GCCPUFraction = 9.81960806841034e-05 # DebugGC = false # MaxRSS = 1233145856